Linux CPU Info: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* https://home.feodorov.com:9443/wiki/Wiki.jsp?page=Cpuinfo | * https://home.feodorov.com:9443/wiki/Wiki.jsp?page=Cpuinfo | ||
=CPU Runtime Statistics= | =System-Wide CPU Runtime Statistics= | ||
CPU runtime statistics are computed based on [[/proc/stat]] values. | <span id="CPU_Runtime_Statistics"></span>CPU runtime statistics are computed based on [[/proc/stat]] values. | ||
User time: [[Vmstat#us|vmstat us]] | User time: [[Vmstat#us|vmstat us]] |
Revision as of 17:26, 11 May 2017
Internal
- Linux Runtime Information
- https://home.feodorov.com:9443/wiki/Wiki.jsp?page=LinuxProcessInformation
- https://home.feodorov.com:9443/wiki/Wiki.jsp?page=Cpuinfo
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":
Other Utilities
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