-----Original Message-----
From: Jim Bonnet
lee wrote:
I have a printing process going on that I'd like to stop, say a wrong date range in gnu cash for ex. I see the process in gtop, complete with PID.
I tried "kill pid (pid#) and I get "no such process"
What is the correct way, or a way to do this...
Thank you for your time..
Lee
man kill shows- kill -signal pid
so-
kill -9 1
Will kill init.. You probably dont want to do that =)
Make sure you know your signals, kill with 15 first then 9 if he still wont die..
Jim
I think you missed his point, the part about "no such process". This may mean that the process completed just before you issued the kill command. A more proper way to stop a print process, if you are using cups, is to use lpstat -o to get a list of print jobs running and then "cancel" the print job, IE cancel laser-001. Using kill may shut down the printer spooler and create other problems. Ken