Difference between revisions of "Process Snapshot"
Jump to navigation
Jump to search
(Created page with "= ps = Shows running processes and their IDs.</br> == Use == <code>ps</code> show running processes of current user in current terminal</br> <code>ps aux</code> BSD-style, show all running processes (-a) with user column (-u) inside and outside terminals (-x)</br> == Useful Flags == <code>-f</code> show full information</br> <code>-F</code> show fullest information</br> </br> <code>-u <user></code> show processes running from $user</br> <code>-g <group></code> show pr...") |
|||
| Line 10: | Line 10: | ||
<code>-f</code> show full information</br> | <code>-f</code> show full information</br> | ||
<code>-F</code> show fullest information</br> | <code>-F</code> show fullest information</br> | ||
<code>-u <user></code> show processes running from <user></br> | |||
<code>-u <user></code> show processes running from | <code>-g <group></code> show processes running from <group></br> | ||
<code>-g <group></code> show processes running from | |||
= pstree = | = pstree = | ||
Revision as of 17:01, 30 November 2022
ps
Shows running processes and their IDs.
Use
ps show running processes of current user in current terminal
ps aux BSD-style, show all running processes (-a) with user column (-u) inside and outside terminals (-x)
Useful Flags
-f show full information
-F show fullest information
-u <user> show processes running from <user>
-g <group> show processes running from <group>
pstree
Shows running processes in tree format.
Use
pstree show running processes sorted by starting order
pstree -a show running processes sorted by starting order with more information