Re: Adding `pgrep' and `pkill' to /usr/bin
From: Garance A Drosihn (drosih_at_rpi.edu)
Date: 03/25/04
- Previous message: Julian Elischer: "Re: SUIDDIR -> security.bsd.suiddir_enable."
- In reply to: Alexey Dokuchaev: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Next in thread: Greg Lewis: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Reply: Greg Lewis: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 13:05:36 -0500 To: Alexey Dokuchaev <danfe@nsu.ru>
At 12:53 PM +0600 3/25/04, Alexey Dokuchaev wrote:
>On Wed, Mar 24, 2004, Julian Elischer wrote:
> >
> > On Wed, 24 Mar 2004, Garance A Drosihn wrote:
> > >
> > > The `pgrep' command searches the process table on the running
> > > system and prints the process IDs of all processes that match the
> > > criteria given on the command line.
>
>I've been using alias "psg = ps auxlww | grep" for pretty much the
>same purpose. Is there some very strong reasoning behind bringing
>in some new facility?
NetBSD has it in the base system. OpenBSD will soon have it in
their base system. Solaris has it in their base system. My
installs of Redhat 7.3 have it, although I'm not sure if that is
in the base system or some rpm that we (@RPI) add...
One nice thing about this is that the different OS's would have
the EXACT SAME options for these commands, as opposed to `ps'
where it's almost hopeless that we'll ever be able to sort out
the different options on different OS's.
> > > The `pkill' command searches the process table on the running
> > > system and signals all processes that match the criteria given
> > > on the command line.
> >
> > so pkill is like killall but more flexible?
> >
> > how about you make killall a special case of pkill so we don't
> > have the duplication..
>
>Seconded here. Frankly, I tend to go against populating base
>system with utilities of not so strict orthogonality.
I agree that it would be a good idea to implement killall as a
special-case of pkill. It might take me awhile to do this, but
I'm all for the idea.
-- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Julian Elischer: "Re: SUIDDIR -> security.bsd.suiddir_enable."
- In reply to: Alexey Dokuchaev: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Next in thread: Greg Lewis: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Reply: Greg Lewis: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|