Results 1 to 4 of 4

Thread: Die the perfect kill-9?

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79

    Die the perfect kill-9?

    To me is very handly for those multi-treadh apps...

    Code for die
    Code:
    #!/bin/bash
    kill -9 `ps aex | grep $1 | grep -v grep | awk '(print $1}'`
    Instead of kill -9 pid...you can do "die appname"

    Ex: die xmms

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    What about pkill xmms for example ???

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79
    Quote Originally Posted by mikekgr
    What about pkill xmms for example ???
    I didn't know ! Thanks for the info :P pgrep is a nice command to learn too

  4. #4
    Senior Member registered user
    Join Date
    Oct 2004
    Location
    london town
    Posts
    220
    or
    Code:
    "kill `pidof xmms`
    would kill all xmms programs

    and
    Code:
     kill `pidof -s xmms`
    should kill off

Similar Threads

  1. MiniKnoppix 2.0 - Almost Perfect, But...
    By HateSpitLove in forum Customising & Remastering
    Replies: 11
    Last Post: 06-12-2004, 01:44 AM
  2. Kill...
    By KnoppiXRuleZ in forum General Support
    Replies: 0
    Last Post: 03-03-2004, 03:10 AM
  3. Replies: 0
    Last Post: 11-16-2003, 06:01 PM
  4. Perfect Linux box
    By m0rpheus in forum The Lounge
    Replies: 3
    Last Post: 03-30-2003, 01:56 AM
  5. Knoppix a base for perfect Newbie Linux ?!
    By MichielioZ in forum Ideas
    Replies: 3
    Last Post: 02-17-2003, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


CORSAIR Vengeance LPX 32GB 2x16GB DDR4-2666 PC4-21300 288Pin 2666Mhz Memory Ram picture

CORSAIR Vengeance LPX 32GB 2x16GB DDR4-2666 PC4-21300 288Pin 2666Mhz Memory Ram

$99.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Klevv 32gb (2x16gb) DDR4 Ram Kit picture

Klevv 32gb (2x16gb) DDR4 Ram Kit

$90.00



HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93