while true; do kill -SIGSTOP < processId >
Showing posts with label process. Show all posts
Showing posts with label process. Show all posts
Wednesday, 9 September 2009
BASH Script: Run a command in a loop....
to stop a process that is being controlled by another process that has accidentally been left running on your pc at work.
while true; do kill -SIGSTOP < processId > sleep 5; done
while true; do kill -SIGSTOP < processId >
Subscribe to:
Posts (Atom)
