Re: Re[5]: [newbie] Backdoor for crashes?

2003-06-13 Thread Tom Brinkman
On Thursday June 12 2003 01:27 pm, JoeHill wrote:
 On Thu, 12 Jun 2003 12:54:10 -0500

 Tom Brinkman [EMAIL PROTECTED] uttered:
  'kill -9' all the relevant pid's.   (alias wpid='ps aux |
  grep')

 or my favourite, kill `pidof appname`... you gotta do it as
 root, but it will kill all instances of the app without you
 having to do all the PIDs. the backticks are the non-shift ~.

Thanks Joe, I had forgot about pidof, but you reminded me why I 
long ago made the wpid alias to begin with so I could kill my 
user processes as user.  You can get into trouble if you kill some 
processes as root ;)
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: Re[5]: [newbie] Backdoor for crashes?

2003-06-12 Thread Tom Brinkman
On Wednesday June 11 2003 01:41 pm, rikona wrote:
 SK Ain't it all the more easy to login via telnet or ssh from
 another SK machine and just kill the offending process(es)? Or
 is that too easy?

 That's exactly what I did, but it didn't kill it. I'd run top,
 get the PID, exit top, kill it, go back to top, and it's still
 there. Any idea why?

   Usually I start with a 'killall app-name'  If that doesn't get 
it done I run 'wpid app-name' to get the pid(s) and then 
'kill -9' all the relevant pid's.   (alias wpid='ps aux | grep')
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: Re[5]: [newbie] Backdoor for crashes?

2003-06-12 Thread JoeHill
On Thu, 12 Jun 2003 12:54:10 -0500
Tom Brinkman [EMAIL PROTECTED] uttered:

 'kill -9' all the relevant pid's.   (alias wpid='ps aux | grep')

or my favourite, kill `pidof appname`... you gotta do it as root, but
it will kill all instances of the app without you having to do all the
PIDs. the backticks are the non-shift ~.

-- Joehill
 Registered Linux user #282046
 Homepage: http://nodex.sytes.net
 14:25:48 up 9 days, 12:29,  1 user,  load average: 0.00, 0.00, 0.00

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: Re[5]: [newbie] Backdoor for crashes?

2003-06-11 Thread stormjumper
kill actually passes certain signals to processes, and the default is to try
to shut it down gracefully (using SIGTERM i think)

the short of it, is you can try
kill -9 process_id
to forcefully bring it down.

well, the long of it, for a start is to read up on signals, and the obvious
places are
man kill
man 2 kill
man 7 signal
- Original Message - 
From: rikona [EMAIL PROTECTED]
To: Stephen Kuhn [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 02:41
Subject: Re[5]: [newbie] Backdoor for crashes?


 Hello Stephen,

 Wednesday, June 11, 2003, 4:17:46 AM, you wrote:

  I tried 'kill 1452' to  get rid of X, and that wouldn't stop it
  either. A 'kill -9 1452'  apparently killed the machine. Reboot
  time.

 SK Ain't it all the more easy to login via telnet or ssh from another
 SK machine and just kill the offending process(es)? Or is that too easy?

 That's exactly what I did, but it didn't kill it. I'd run top, get the
 PID, exit top, kill it, go back to top, and it's still there. Any idea
 why?

 -- 
 Thank you,
  rikonamailto:[EMAIL PROTECTED]









 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com