Re: kill process by name

2004-08-03 Thread Muratorio, Diego
Title: Message



Hello Rick, I am 
looking for the same, did you find something about kill process by 
name?

Thanks in 
advance

Muratorio DiegoNetwork AdministratorTel:4131-7000 Int.4152Btme. 
Mitre 853 1° st Floor[EMAIL PROTECTED]

kill process by name



  To: "[EMAIL PROTECTED]" 
  [EMAIL PROTECTED] 

  Subject: kill process by name 
  From: Rick Weinbender [EMAIL PROTECTED] 
  Date: Thu, 22 Jan 2004 13:47:38 -0600 
  Message-id: [EMAIL PROTECTED] 

  Old-return-path: [EMAIL PROTECTED] 

Is there a way to use the kill command
to kill a process by name?
*
For example:  kill inetd
I have to look up the pid number every time
using 'ps aux' then I can kill it with 'kill pid#'

Thanks,
-Rick





Re: kill process by name

2004-08-03 Thread Oliver Elphick
On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote:
 Hello Rick, I am looking for the same, did you find something about
 kill process by name?
  

You want killall, from the psmisc package.

-- 
Oliver Elphick  [EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
 Love is patient, love is kind. It does not envy, it
  does not boast, it is not proud. It is not rude, it is
  not self seeking, it is not easily angered, it keeps
  no record of wrongs. Love does not delight in evil but
  rejoices with the truth. It always protects, always
  trusts, always hopes, always perseveres. 
I Corinthians 13:4-7 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-08-03 Thread Tom Furie
On Tue, Aug 03, 2004 at 07:58:02PM +0100, Oliver Elphick wrote:
 On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote:
  Hello Rick, I am looking for the same, did you find something about
  kill process by name?
   
 
 You want killall, from the psmisc package.

Or, another option is kill `pidof processname`.

Cheers,
Tom

-- 
Do Miami a favor.  When you leave, take someone with you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-08-03 Thread Doug Wiltanger
Title: Message



KILLALL(1) 
User 
Commands 
KILLALL(1)

NAME 
killall - kill processes by name

  - Original Message - 
  From: 
  Muratorio, Diego 
  To: '[EMAIL PROTECTED]' 
  
  Cc: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, August 03, 2004 2:29 
  PM
  Subject: Re: kill process by name
  
  Hello Rick, I am 
  looking for the same, did you find something about kill process by 
  name?
  
  Thanks in 
  advance
  
  Muratorio DiegoNetwork AdministratorTel:4131-7000 Int.4152Btme. 
  Mitre 853 1° st Floor[EMAIL PROTECTED]
  
  kill process by name
  

  
To: "[EMAIL PROTECTED]" 
[EMAIL PROTECTED] 

    Subject: kill process by name 
From: Rick Weinbender [EMAIL PROTECTED] 
Date: Thu, 22 Jan 2004 13:47:38 -0600 
Message-id: [EMAIL PROTECTED] 

Old-return-path: [EMAIL PROTECTED] 
  
Is there a way to use the kill command
to kill a process by name?
*
For example:  kill inetd
I have to look up the pid number every time
using 'ps aux' then I can kill it with 'kill pid#'

Thanks,
-Rick





RE: kill process by name

2004-08-03 Thread Muratorio, Diego
Title: Message



thanks 
to every vody to Your Help

  
  -Original Message-From: Doug Wiltanger 
  [mailto:[EMAIL PROTECTED] Sent: Martes, 03 de Agosto de 2004 
  04:22 p.m.To: Muratorio, Diego; 
  [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Subject: Re: kill process by 
  name
  KILLALL(1) 
  User 
  Commands 
  KILLALL(1)
  
  NAME 
  killall - kill processes by name
  
- Original Message - 
From: 
Muratorio, Diego 
To: '[EMAIL PROTECTED]' 

Cc: '[EMAIL PROTECTED]' 

Sent: Tuesday, August 03, 2004 2:29 
PM
Subject: Re: kill process by name

Hello Rick, I am 
looking for the same, did you find something about kill process by 
name?

Thanks in 
advance

Muratorio DiegoNetwork AdministratorTel:4131-7000 
Int.4152Btme. Mitre 853 1° st Floor[EMAIL PROTECTED]

kill process by name



  To: "[EMAIL PROTECTED]" 
  [EMAIL PROTECTED] 

  Subject: kill process by name 
  From: Rick Weinbender [EMAIL PROTECTED] 

  Date: Thu, 22 Jan 2004 13:47:38 -0600 
  Message-id: [EMAIL PROTECTED] 

  Old-return-path: [EMAIL PROTECTED] 

Is there a way to use the kill command
to kill a process by name?
*
For example:  kill inetd
I have to look up the pid number every time
using 'ps aux' then I can kill it with 'kill pid#'

Thanks,
-Rick





Re: kill process by name

2004-08-03 Thread Magnus Therning
On Tue, Aug 03, 2004 at 07:58:02PM +0100, Oliver Elphick wrote:
On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote:
 Hello Rick, I am looking for the same, did you find something about
 kill process by name?
  

You want killall, from the psmisc package.

Or 'pkill'. I've recently fallen in love with it, and it's cousin
'pgrep'. Both are in the package procps.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
http://magnus.therning.org/

The right to search for truth implies also a duty; one must not
conceal any part of what one has recognized to be true.
 -- Albert Einstein


signature.asc
Description: Digital signature


Re: kill process by name

2004-08-03 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Magnus Therning  [EMAIL PROTECTED] wrote:
On Tue, Aug 03, 2004 at 07:58:02PM +0100, Oliver Elphick wrote:
On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote:
 Hello Rick, I am looking for the same, did you find something about
 kill process by name?
  

You want killall, from the psmisc package.

Or 'pkill'. I've recently fallen in love with it, and it's cousin
'pgrep'. Both are in the package procps.

Very true. pkill will work as expected on other OSes if it is
available. On the other hand, the killall command does something
*very* different on non-Linux OSes.

If you do killall something on Solaris as root, the system
goes down. *Hard*. Better not to get used to something dangerous
like that (killall should never have been called that under
Linux, but it's way too late to fix that).

Mike.
-- 
The question is, what is a manamanap.
The question is, who cares ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



kill process by name

2004-01-22 Thread Rick Weinbender
Is there a way to use the kill command
to kill a process by name?
*
For example:  kill inetd
I have to look up the pid number every time
using 'ps aux' then I can kill it with 'kill pid#'

Thanks,
-Rick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-01-22 Thread Ryan Mackay
Sometime near Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote:
 Is there a way to use the kill command
 to kill a process by name?
 *
 For example:  kill inetd
 I have to look up the pid number every time
 using 'ps aux' then I can kill it with 'kill pid#'
 
check out `killall`
-- 
Cheers,
rinmak [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-01-22 Thread Nano Nano
On Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote:
 Is there a way to use the kill command
 to kill a process by name?
 *
 For example:  kill inetd
 I have to look up the pid number every time
 using 'ps aux' then I can kill it with 'kill pid#'

Me = Know!

kill `ps -C aux | cut -f2 -d' '`

Ha!  I am so smart!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-01-22 Thread Rick Weinbender
Ryan Mackay wrote:

 Sometime near Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote:
  Is there a way to use the kill command
  to kill a process by name?
  *
  For example:  kill inetd
  I have to look up the pid number every time
  using 'ps aux' then I can kill it with 'kill pid#'
 
 check out `killall`
 --
 Cheers,
 rinmak [EMAIL PROTECTED]

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

***
Thats exactly what I was looking for.
Thanks,
-Rick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-01-22 Thread Roberto Sanchez
Ryan Mackay wrote:
Sometime near Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote:

Is there a way to use the kill command
to kill a process by name?
*
For example:  kill inetd
I have to look up the pid number every time
using 'ps aux' then I can kill it with 'kill pid#'
check out `killall`
I also find pkill to be quite handy.

-Roberto


signature.asc
Description: OpenPGP digital signature


Re: kill process by name

2004-01-22 Thread M . Kirchhoff
Rick Weinbender rwein at central-ph.k12.mo.us writes:
 to kill a process by name?

man killall



--M. Kirchhoff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kill process by name

2004-01-22 Thread Richard Hector
On Thu, Jan 22, 2004 at 08:01:24PM +, M. Kirchhoff wrote:
 Rick Weinbender rwein at central-ph.k12.mo.us writes:
  to kill a process by name?
 
 man killall

But be careful if you also work with Solaris ... all means _all_, and
never mind the arguments :-(

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]