Difference between revisions of "Table of Processes"
(Created page with "= top = Provides a dynamic real-time view of a running system.</br> </br> Load is a complex value, designating the balance between required and available CPU power.</br> Load <1: The system has some idle time</br> Load =1: The system has as much work as it can handle</br> Load >1: The system has to prioritize some processes over others</br> Load >3: The system is probably not fit for the current workload</br> Load >10: The system may have a serious problem</br> Load >30...") |
|||
| Line 20: | Line 20: | ||
si: software interrupt time</br> | si: software interrupt time</br> | ||
st: steal time, time taken away from the vm by the hypervisor</br> | st: steal time, time taken away from the vm by the hypervisor</br> | ||
== Use == | == Use == | ||
| Line 27: | Line 26: | ||
== Useful Flags == | == Useful Flags == | ||
<code>-u <user></code> only show processes from <user></br> | <code>-u <user></code> only show processes from <user></br> | ||
== Useful Keys == | |||
'''View'''</br> | |||
<code>arrow keys</code> scroll the list</br> | |||
<code>t</code> change CPU display</br> | |||
<code>m</code> change memory display</br> | |||
<code>1</code> combine/split CPUs</br> | |||
<code>e</code> change list memory units</br> | |||
<code>E</code> change summary memory units</br> | |||
<code>l</code> toggle summary list</br> | |||
<code>z</code> toggle color</br> | |||
<code>y</code> toggle running task highlight</br> | |||
<code>x</code> toggle sort column highlight</br> | |||
<code>b</code> toggle bold highlight</br> | |||
<code>c</code> toggle path</br> | |||
<code>V</code> toggle tree</br> | |||
<code>i</code> toggle inactive tasks</br> | |||
'''Sort'''</br> | |||
<code>P</code> sort by %CPU (default)</br> | |||
<code>M</code> sort by %MEM</br> | |||
<code>N</code> sort by PID</br> | |||
<code>T</code> sort by TIME+</br> | |||
'''Filter'''</br> | |||
<code>u</code> prompt to enter specific username or UID</br> | |||
<code>n</code> prompt to show only N processes</br> | |||
<code>o</code> prompt to enter filter, eg. %MEM>5.0</br> | |||
<code>=</code> clear filter</br> | |||
'''Modify'''</br> | |||
<code>r</code> prompt to enter <pid> to renice</br> | |||
<code>k</code> prompt to enter <pid> to kill (SIGTERM)</br> | |||
</br> | </br> | ||
Latest revision as of 17:43, 30 November 2022
top
Provides a dynamic real-time view of a running system.
Load is a complex value, designating the balance between required and available CPU power.
Load <1: The system has some idle time
Load =1: The system has as much work as it can handle
Load >1: The system has to prioritize some processes over others
Load >3: The system is probably not fit for the current workload
Load >10: The system may have a serious problem
Load >30: System stability is critical, even shells may freeze
Abbrevations:
us: user space
sy: system/kernel
ni: processes with nice value
id: idle time
wa: wait time
hi: hardware interrupt time
si: software interrupt time
st: steal time, time taken away from the vm by the hypervisor
Use
top show table, sorted by CPU load
Useful Flags
-u <user> only show processes from <user>
Useful Keys
View
arrow keys scroll the list
t change CPU display
m change memory display
1 combine/split CPUs
e change list memory units
E change summary memory units
l toggle summary list
z toggle color
y toggle running task highlight
x toggle sort column highlight
b toggle bold highlight
c toggle path
V toggle tree
i toggle inactive tasks
Sort
P sort by %CPU (default)
M sort by %MEM
N sort by PID
T sort by TIME+
Filter
u prompt to enter specific username or UID
n prompt to show only N processes
o prompt to enter filter, eg. %MEM>5.0
= clear filter
Modify
r prompt to enter <pid> to renice
k prompt to enter <pid> to kill (SIGTERM)