Linux CPU Info: Difference between revisions

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


=CPU Runtime Statistics=
=CPU Runtime Statistics=
CPU runtime statistics are computed based on <tt>/proc/stat</tt> values.


User time: [[Vmstat#us|vmstat us]]
User time: [[Vmstat#us|vmstat us]]

Revision as of 14:21, 9 May 2017

Internal

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

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