Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:process_management [2015/10/27 13:18] – created mgupton | linux:process_management [2018/06/01 13:27] (current) – mgupton | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Linux Process Management====== | ======Linux Process Management====== | ||
=====ps===== | =====ps===== | ||
+ | * process listing command | ||
An example of a good general purpose process listing including a long formatted date-time of the start time of the command and the elapsed time since the process was started. | An example of a good general purpose process listing including a long formatted date-time of the start time of the command and the elapsed time since the process was started. | ||
- | < | + | < |
ps -eo pid, | ps -eo pid, | ||
+ | </ | ||
+ | |||
+ | * List processes looking for specific process names. | ||
+ | * Use a regex with a character class so that the grep command itself doesn' | ||
+ | |||
+ | <code bash> | ||
+ | ps -ef | grep -i " | ||
+ | </ | ||
+ | |||
+ | * List process hierarchy (tree) | ||
+ | <code bash> | ||
+ | ps -ejH | ||
</ | </ | ||
Line 12: | Line 25: | ||
=====nohup===== | =====nohup===== | ||
- | '' | + | '' |
< | < | ||
- | nohup / | + | nohup python |
</ | </ |