Linux CPU Info

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

System-Wide CPU Runtime Statistics

CPU runtime statistics are computed based on /proc/stat values.

User time: vmstat us

Kernel time: vmstat sy

Idle time: vmstat id

Time waiting for IO: vmstat wa

Steal time: vmstat st. The definition of "steal time":

Steal Time

Per-Process CPU Runtime Statistics

Other Utilities

top
vmstat

proc cpuinfo

cat /proc/cpuinfo 

For more details see https://home.feodorov.com:9443/wiki/Wiki.jsp?page=Cpuinfo.

Virtualization Extensions

To verify that a processor has its virtualization extensions enabled, run:

grep -E "vmx|svm" /proc/cpuinfo

If the command generates output, it means the virtualization extensions are enabled.

More details

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Troubleshooting-Enabling_Intel_VT_x_and_AMD_V_virtualization_hardware_extensions_in_BIOS.html

64 bit or 32 bit?

uname -a
grep flags /proc/cpuinfo

lm

long mode - 64 bits

protected mode

32 bits