Lines Matching refs:exec
24 …exec("powershell -executionpolicy remotesigned -command gwmi win32_Processor name,DataWidth", $tmp…
41 exec('lsb_release -ds', $distrib);
70 exec("sw_vers", $os_type);
77 exec('uname -r', $distrib);
83 exec('lsb_release -ds | cut -d" " -f1,3,4', $distrib);
89 …exec('powershell -executionpolicy remotesigned -command (gwmi -class Win32_OperatingSystem).Captio…
99 exec("sw_vers", $os_type);
109 exec("sysctl -n hw.model", $modelComputer);
121 exec("sed -n '/^Revision/p' /proc/cpuinfo", $piTmp);
160 exec("sysctl -a hw.memsize", $tmp);
168 exec("dmesg | grep 'real memory' | cut -d'(' -f2 | cut -d' ' -f1", $ram);
174 exec("free | grep 'Mem'", $tmpLinux);
185 exec("powershell -executionpolicy remotesigned -command gwmi win32_computersystem", $tmpWin);
196 if ($os == "Darwin") {exec("sysctl -n machdep.cpu.brand_string", $tmp);$cpu_tmp = $tmp[0];}
197 if ($os == "FreeBSD") {exec("sysctl hw.model | cut -d' ' -f2- ", $tmp);$cpu_tmp = $tmp[0];}
198 …if ($os == "Linux") {exec("sed -n '/model name/p' /proc/cpuinfo | uniq", $tmp);$cpu_tmp = $tmp[0]…
215 exec("sysctl -n hw.cpu64bit_capable", $cpu_tmp64);
221 exec("getconf LONG_BIT", $cpu_tmp64);
227 exec("arch", $test64);
301 exec("cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", $tmp);
325 exec("df --total | tail -1 | sed 's/ */ /g' | cut -d' ' -f2", $tmp_dd);
353 exec("df --total | tail -1 | sed 's/ */ /g' | cut -d' ' -f4", $tmp_dd);