[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Correction] Re: How can I get a script to find out what a PID is?
- From: Gordon Messmer <yinyang eburg com>
- To: redhat-list redhat com
- Subject: Re: [Correction] Re: How can I get a script to find out what a PID is?
- Date: Fri, 01 Jan 1999 14:48:18 -0800
"Rick L. Mantooth" wrote:
> > On Thu, 31 Dec 1998, George Lenzer wrote:
> >
> > > I would like to be able to kill a process with cron. Since Process IDs are
> > > always different, is there a way to kill a process by the application name?
> >
> > Don't know of a way.
> >
> > > Or, is there a way to get the process ID and pass it to cron?
> >
Sounds to me like `/usr/bin/killall <process name>` would do what you
want.
`/sbin/pidof <process name>` will get you the PID(s) if you want em,
though.
MSG
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]