LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09:33 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

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, 09:39 PM   #2
kforbus
Member
 
Registered: Sep 2009
Location: Maryland
Distribution: Slackware
Posts: 68

Rep: Reputation: 29
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



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 08:54 PM
how kill a program SciYro Linux - Newbie 5 07-11-2004 04:20 AM
How to kill my program? kewlchen Linux - General 7 08-12-2003 03:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 07:01 AM
Kill a program tunedLow Linux - Newbie 3 10-27-2001 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 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
Open Source Consulting | Domain Registration