Linux CPU Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:


{{Internal|Linux Virtualization Concepts#Steal_Time|Steal Time}}
{{Internal|Linux Virtualization Concepts#Steal_Time|Steal Time}}
=Per-Process CPU Runtime Statistics=


=Other Utilities=
=Other Utilities=

Revision as of 17:27, 11 May 2017

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.

64 bit or 32 bit?

uname -a
grep flags /proc/cpuinfo

lm

long mode - 64 bits

protected mode

32 bits