LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-03-2006, 12:31 PM   #1
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
stopping jobs


when i hit command "jobs" , it lists out all the jobs.

how to kill jobs number 3 if i want to? Do i still need to run ps -ef | greb something and kill the process id?

THanks.
 
Old 05-03-2006, 12:36 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
nope, just do

Code:
kill 3
or, if you like

Code:
kill %3
that works (in bash at least)
 
Old 05-03-2006, 05:23 PM   #3
Freestone
Member
 
Registered: Jan 2003
Location: Brighton, Michigan
Distribution: FC5
Posts: 114

Rep: Reputation: 15
Another alternative is to run 'top'.

I'm assuming your distro has 'top' installed.

'top' will list all the running process in realtime and the defualt kill signal I believe is '15'.
Read the 'top' man page (man top) and that'll getya going.
Another thing you can do ( just for the sake of learning) is from a command line---: kill -l
That'll list all the SIG*** options for killing a process, etc.

I hope I presented this so its clear and it does'nt seem like Martian hieroglyphics!

Cheers,
Freestone
 
  


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
Freelance jobs? jrtayloriv General 3 01-26-2005 10:39 AM
Jobs Postings ppuru LQ Suggestions & Feedback 1 08-16-2004 11:23 PM
fg, jobs etc ftgow Linux - General 7 02-26-2004 11:28 PM
What are the Best Jobs associated with Linux? robhargreaves Linux - Networking 1 01-26-2004 09:19 AM
cron jobs Zyanid Linux - Software 0 08-27-2002 06:10 AM


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