|
Displays currently logged-in users, login method, time, & resource usage info |
|
shows users' IP addresses (in addition to regular output) |
|
limits output to specified username |
|
Starts a new job in the background |
|
Displays jobs running in the background ("+" = default job) |
|
Brings job 1 to the foreground |
|
Sends job 1 to the background |
|
Returns the PID(s) of a currently running job |
|
Shows main PID of a process, among other things (can use if pidof
returns multiple) |
--- CPU Load Handling --- |
|
Displays the load average for the last 1, 5, and 15 mins |
|
Displays number of CPUs in the system, among other things |
|
simplified output (each row of numbers = 1 CPU) |
--- Viewing & Managing Processes --- |
|
Shows info about processes; pipe to head
/ grep
/etc for less output (" [output ]" = kernel thread) |
|
|
|
|
shows output in visual "tree" format |
|
Shows processes in visual tree format (may not always be installed) |
|
includes PIDs in tree output |
|
|
Linux's in-terminal equivalent of Task Manager (Also shows load average) Keyboard Controls: |
k |
send a signal to a process from within top
|
Shift+M |
sort by memory usage |
Shift+P |
return to sorting by CPU usage |
l / t / m |
toggle "load", "threads", & "memory" header lines |
|
Sends signal 15 to specified process * Must use process ID * |
|
sends specified signal (can use signal name or number) |
|
displays list of signal options |
|
Kills processes by name instead of PID |
|
Look up & manage processes by name or other attributes (default is signal 15) |
|
specify signal to send |
|
sends signal to user's account (forces logout & shuts down their processes) |
|
kills specified terminal session (TTY) |
|
|
Starts a new process with an adjusted priority value (x)
|
|
Change the priority value (x) of an existing process |