LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2010, 10:33 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
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.
 
Old 01-29-2010, 10:39 PM   #2
kforbus
Member
 
Registered: Sep 2009
Location: Maryland
Distribution: Slackware
Posts: 68

Rep: Reputation: 28
Quote:
Originally Posted by qwertyjjj View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
be sure to kill a program tanoatlq Linux - General 9 04-25-2008 09:54 PM
how kill a program SciYro Linux - Newbie 5 07-11-2004 05:20 AM
How to kill my program? kewlchen Linux - General 7 08-12-2003 04:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 08:01 AM
Kill a program tunedLow Linux - Newbie 3 10-27-2001 03:51 PM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration