LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-27-2004, 01:22 AM   #1
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
More powerful 'kill'


Is there any command more powerful than 'kill -9 pid'? Somethimes there are programs that refuse to be killed . (Command other than halt -p or reboot).
 
Old 04-27-2004, 01:26 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
zombie processes or processes marked D cannot be killed.
If I remember correctly.

What exactly are you reffering to that is not responding to kill -9 ?
 
Old 04-27-2004, 02:14 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
The most powerful "kill" command is to yank the power cord out of its socket -- J.W.
 
Old 04-27-2004, 03:56 AM   #4
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 30
Try using pstree to find the parent process and kill that.
 
Old 04-27-2004, 05:21 AM   #5
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Original Poster
Rep: Reputation: 30
I've problem killing process like mplayer when it hang while accessing erratic/bad vcd. I've got no other way other than reboot/halt. Is there any way to stop/eject/unmount cdrom while other erratic process is assessing it?
 
Old 04-27-2004, 05:29 AM   #6
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by J.W.
The most powerful "kill" command is to yank the power cord out of its socket -- J.W.
I should have included that in my 1st post. It should be (other than halt -p/reboot/power button/cord)
 
Old 04-27-2004, 06:08 AM   #7
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
alt-ctrl-del works ...
 
Old 04-27-2004, 06:22 AM   #8
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Original Poster
Rep: Reputation: 30
That's will reboot your supercomputer with linux installed. Got to add it to the list.

After some more searching, I found that 'fuser' is more powerful way of killing process.
 
Old 04-27-2004, 01:16 PM   #9
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
how do you figure?

fuser uses the same SIG's as kill.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which powerful QT or GTKMM? Barq Linux - General 1 03-13-2005 11:39 AM
Powerful Linux for you...... avols143 Linux - Distributions 3 02-21-2004 03:16 PM
The Most Powerful Feature Of Linux GtkUser General 44 06-14-2003 06:01 AM
which linux is the most powerful? indy317 Linux - Distributions 12 06-03-2003 04:14 AM
powerful magnets whansard General 3 05-20-2003 03:10 PM


All times are GMT -5. The time now is 05:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration