LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot kill program... (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-kill-program-785737/)

qwertyjjj 01-29-2010 09:33 PM

cannot kill program...
 
just installed iptraf and was using it. However, I lost the SSH link while IPTRAF was running.
Now when I try to go into detailed statistics it says: detailed interface stats alreday monitoring eth0.
How do I stop that so I can start it again?
I tried kill and the process id which I found using pidof iptraf but it won;t stop the program.

kforbus 01-29-2010 09:39 PM

Quote:

Originally Posted by qwertyjjj (Post 3845630)
just installed iptraf and was using it. However, I lost the SSH link while IPTRAF was running.
Now when I try to go into detailed statistics it says: detailed interface stats alreday monitoring eth0.
How do I stop that so I can start it again?
I tried kill and the process id which I found using pidof iptraf but it won;t stop the program.

There's always the risk of losing the SSH connection while running something. You should use something like the screen command (man screen), so you can resume when you reconnect. You can try to force the kill by using "kill -9 <PID>" -- just drop the quotes and replace <PID> with the actual PID you got from pidof.


All times are GMT -5. The time now is 04:40 AM.