Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

killall | 6 comments | Create New Account
Click here to return to the 'killall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: gatorparrots on Dec 16, '03 04:05:32PM
As noted, killall is the tool for the job, as it takes named arguments versus PIDs with kill (which would require additional pipes to grep and awk processes). To better facilitate pausing/continuing processes, set up shell aliases like so:

Bourne shell style:
pause="killall -STOP $1"
cont="killall -CONT $1"

C shell style:
pause="killall -STOP \!:1"
cont="killall -CONT \!:1"

[ Reply to This | # ]