Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:process_management [2017/04/27 12:41] – [ps] mgupton | linux:process_management [2018/06/01 13:27] (current) – mgupton | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * process listing command | * 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. | * List processes looking for specific process names. | ||
| - | * Use a regex with a character class so that the grep command itself doesn' | + | * Use a regex with a character class so that the grep command itself doesn' |
| <code bash> | <code bash> | ||
| ps -ef | grep -i " | ps -ef | grep -i " | ||
| </ | </ | ||
| + | |||
| + | * List process hierarchy (tree) | ||
| + | <code bash> | ||
| + | ps -ejH | ||
| + | </ | ||
| + | |||
| =====disown===== | =====disown===== | ||
| * process termination | * process termination | ||
| Line 19: | Line 25: | ||
| =====nohup===== | =====nohup===== | ||
| - | '' | + | '' |
| < | < | ||
| - | nohup / | + | nohup python |
| </ | </ | ||