Revision3.com Shows Schedule Inside Revision3 Store


Go Back   Revision3 Forums > Shows > HAK5

Reply
 
Thread Tools Search this Thread Display Modes

  #1  
Old 10-15-2012, 03:47 PM
justpeon
Member
 
Join Date: Jun 2011
Posts: 155
Status: Offline
Default Killing a program.

Traditional

$ ps aux | grep progname

$ kill -9 progname

or

Newer?

$ pkill progname
Reply With Quote
  #2  
Old 10-15-2012, 04:31 PM
tokenuser's Avatar
tokenuser
Cranky Old Mod
 
Join Date: Jul 2005
Location: Lost in States
Posts: 15,124
Status: Offline
Default

Quote:
Originally Posted by justpeon View Post
Traditional

$ ps aux | grep progname

$ kill -9 progname

or

Newer?

$ pkill progname
Meh. I am all about $qdel <jobid>
__________________
“Simplicity is the ultimate sophistication.” - Leonardo da Vinci
"I am a firm believer in the people. If given the truth they can be depended upon to meet any national crisis. The great point is to bring them the real facts...and beer." - Abraham Lincoln
"... connect the dots instead of assembling a jigsaw puzzle." - Wil Wheaton
Reply With Quote
  #3  
Old 10-15-2012, 05:19 PM
replica9000
Member
 
Join Date: Nov 2010
Location: Quahog, RI, USA
Posts: 68
Status: Offline
Default

Why not $kill -9 <PID>

Sometimes I use $killall <progname>
__________________
APT-GET MOO
Debian GNU/Linux / Linux Mint Debian Edition / Knoppix / Android
[ Desktop: CM Centurion 590 / SB Core i7 @ 4500mhz / DDR3-1600 4x8GB / GeForce GTX 550 Ti / (x2) Samsung UN22D5000NFXZA ]
[ XBMC: Fractal Node 605 / Phenom II X4 BE @ 3000mhz / DDR3-1333 4x2GB / GeForce GTS 450 / Samsung UN46B8000XFXZA ]
Google and Wikipedia are your friends!
Reply With Quote
  #4  
Old 10-16-2012, 08:20 PM
justpeon
Member
 
Join Date: Jun 2011
Posts: 155
Status: Offline
Default

Nothing wrong with killall. What ever floats your boat.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 02:43 PM.

Rev3 Forum RSS


© 2005-2010 Revision3 Corporation