LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-28-2012, 11:18 PM   #1
bala.linuxtech
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 86

Rep: Reputation: Disabled
Red face How to Kill The Process Without Kill Command ?


Guyz,

I am using RHEL 5.4 Linux Box ..
Please Suggest me, How to kill the Process Without Using Kill Command ? Is it possible ?

Regards
Bala
 
Old 11-28-2012, 11:27 PM   #2
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by bala.linuxtech View Post
Guyz,

I am using RHEL 5.4 Linux Box ..
Please Suggest me, How to kill the Process Without Using Kill Command ? Is it possible ?

Regards
Bala
Yes it is possible.
You can use manual.
 
Old 11-28-2012, 11:52 PM   #3
bala.linuxtech
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 86

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tailinlinux View Post
Yes it is possible.
You can use manual.
hi tailinlinux

can use manual .., How ??

Please give me one example

Regards
Bala
 
Old 11-30-2012, 12:25 AM   #4
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
iam using mandriva 2010.2 i dont know if it is same with your distro.

To kill process without using commands on terminal.
You can go to System Monitor. You can found it on system tab, and located on Administration.

Hope this help.

i will provide screenshot for you to see.
Attached Thumbnails
Click image for larger version

Name:	system monitor.png
Views:	69
Size:	68.6 KB
ID:	11317  
 
Old 11-30-2012, 01:05 AM   #5
bala.linuxtech
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 86

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tailinlinux View Post
iam using mandriva 2010.2 i dont know if it is same with your distro.

To kill process without using commands on terminal.
You can go to System Monitor. You can found it on system tab, and located on Administration.

Hope this help.

i will provide screenshot for you to see.
Hi tailinlinux

Thanks ..
 
Old 11-30-2012, 01:30 AM   #6
bala.linuxtech
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 86

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by bala.linuxtech View Post
Hi tailinlinux

Thanks ..

Hi tailinlinux

RHEL Supporting Kill the Process via that GNOME Monitor Tool and Could you please tell me, IS any other command is available in linux exactly in RHEL to kill a process ?

Thanks in advance

Regards
Bala.Linuxtech
 
Old 11-30-2012, 10:59 AM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Perhaps you could explain just what your objection is to the kill command. The only way to kill a process is to send that process a signal that causes it to terminate. The rather poorly named "kill()" system call is the way to send a signal (which could be SIGKILL, SIGTERM, or any other signal) to a process, and the kill command (or its built-in equivalent in most shells) is the user interface to that system call. Any method of killing a process is going to use that same mechanism. If you're doing this from within a C program, you can just use the kill() system call. Otherwise, just what is the issue with using the kill command?
 
Old 11-30-2012, 11:50 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
How to kill without the kill command

Code:
ps aux | grep bird | egrep -v "/bin/sh|grep"
Your *grep and/or "ps aux" may be different!...

outputs:
Code:
jj       32428 55.2  0.8 368556 68796 ?        Rl   12:37   4:36 /usr/lib/thunderbird-3.1.9/thunderbird-bin
Enter the .fu!
Code:
fuser -k /usr/lib/thunderbird-3.1.9/thunderbird-bin
Sounds like an "educational" Question to me, but I enjoyed the challenge.

Last edited by Habitual; 11-30-2012 at 11:56 AM.
 
Old 11-30-2012, 12:34 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Habitual View Post
Code:
ps aux | grep bird | egrep -v "/bin/sh|grep"
Auch! Do try:
Code:
ps -C bird
or better:
Code:
pgrep bird
 
Old 11-30-2012, 01:28 PM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Chris:
fuser requires the /path/to/open_handle
so to keep in the spirit of the OP to "not use" kill, that's what I came up with.

Thanks!

JJ
 
  


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
Kill a zombie process - which process is the parent that I should kill? Mountain Linux - General 3 12-31-2011 02:44 PM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 09:42 AM
why we cannot kill process id 1 with command "kill -9 1" satyaredhat Linux - Newbie 7 03-11-2009 12:48 PM
one-line kill command using process name julianop Linux - Newbie 6 12-22-2003 11:33 PM
Kill a process by command ITJedi Programming 3 03-07-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:05 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