changeset 1571 | b833a33ae5b6 |
parent 1570 | e98df1173d31 |
child 1577 | 7b6721b1c308 |
--- a/stat.rst Tue Apr 01 19:05:48 2014 +0300 +++ b/stat.rst Tue Apr 01 19:11:20 2014 +0300 @@ -24,6 +24,12 @@ $ ps -e -o pid,cmd +Show processes with same substring in command:: + + $ pgrep -f $SUBSTR + $ pgrep -l -f $SUBSTR + $ pgrep -a -f $SUBSTR + View detail process info:: $ ps -f <id> @@ -32,6 +38,14 @@ $ kill -s $SIG $PID +Kill processes with same name:: + + $ killall $NAME + +Kill processes with same substring in command:: + + $ pkill -f $SUBSTR + View processes interactively:: $ htop