handling processes in bash
-
Give detailed information on all python processes:
ps -fp $(pgrep -d, -x python)
-
Make all python processes run nicer so that they do not obstruct other processes / users:
renice 14 `pgrep python`
-
listing processes in the current bash session:
jobs -l
-
stopping all python processes :
pkill -s STOP python
-
resuming all python processes ( to test ... ) :
pkill -s CONT python