Model:
M/B:
CPU: =1000 && $cpuspeed[1]=='MHz') { $cpuspeed[0] /= 1000; $cpuspeed[1] = 'GHz'; } echo "$cpumodel @ {$cpuspeed[0]}{$cpuspeed[1]}"; } else { echo $cpumodel; } ?>
HVM: /dev/null'); $strLoadedModules = shell_exec("lsmod | grep '^kvm_\(amd\|intel\)'"); if (!empty($strLoadedModules)) { exec('modprobe -r kvm_intel kvm_amd 2>/dev/null'); } } // Check for Intel VT-x (vmx) or AMD-V (svm) cpu virtualzation support $strCPUInfo = file_get_contents('/proc/cpuinfo'); if (!empty($strLoadedModules)) { // Yah! CPU and motherboard supported and enabled in BIOS ?>Enabled'; if (strpos($strCPUInfo, 'vmx') === false && strpos($strCPUInfo, 'svm') === false) { // CPU doesn't support virtualzation ?>Not AvailableDisabled'; } ?>
IOMMU: Enabled'; if (strpos($strCPUInfo, 'vmx') === false && strpos($strCPUInfo, 'svm') === false) { // CPU doesn't support virtualzation so iommu would be impossible ?>Not AvailableDisabled'; } ?>
Cache:
Memory: 8 or 12 -> 16 if ($memory_maximum*1024 < $memory_installed) {$memory_maximum = pow(2,ceil(log($memory_installed/1024)/log(2))); $star = "*";} echo "$memory_installed MB (max. installable capacity $memory_maximum GB)".$star; ?>
Network:  "; if ($port=='bond0') { echo "$port: ".exec("grep -Pom1 '^Bonding Mode: \K.+' /proc/net/bonding/bond0").", mtu $mtu"; } else { unset($info); exec("ethtool $port|grep -Po '^\s+(Speed|Duplex|Link\sdetected): \K[^U\\n]+'",$info); echo (array_pop($info)=='yes' && $info[0]) ? "$port: {$info[0]}, {$info[1]} Duplex, mtu $mtu" : "$port: not connected"; } } ?>
Kernel:
OpenSSL:
Uptime:

More