SUMMARY anyone ported pgrep/pkill to tru64

From: Timo Aaltonen <tjaalton_at_cc.hut.fi>
Date: Thu, 06 Feb 2003 18:16:03 +0200 (EET)

        Hi, again

  I got many good answers. Rick Kelly suggested to try to port pkill from
NetBSD, but it also relies on /proc and porting seems to be difficult (the
Linux-version from procps-package is similar). Dr. Blinn sent a small
script he uses for killing processes. Spider Boardman sent a link
(http://users.rcn.com/spiderb/sec/skill.tar.gz) to a program. Bob Vickers
sent a perl-script for interactively killing processes that match an
expression. Mike pointed out that in 'kill' there are special process_ID:s
(0, -1) for killing processes. Mark Deiss sent a link
(http://www.networkcomputing.com/unixworld/grabbag/001.html) to a Perl
widget (kp), that does have some similarities with pkill.

and, the guy sitting next to me said he has done a perl-skript
(kurkipotku.pl - "cranekick.pl" - as in Karate Kid...) that does pretty
much the same as pkill, but it relies on the output from "ps" and the
syntax is different, so it needs some tweaking.

we could put it publicly available some day.



On Thu, 6 Feb 2003, Timo Aaltonen wrote:
> Hi
>
> Solaris and Linux has an übercool tool called pgrep(/pkill). It
> is used to fetch information of running processes, and can be used, for
> example, to kill all processes of a specific user. Tru64 doesn't have
> this, and it is a pretty annoying flaw in it. It uses procfs, and
> Tru64 has it although probably not as feature-filled as Solaris or Linux.
>
> So, has anyone tried to port it to Tru64, or is it even possible? Or has
> anyone made a shell/perl-script to do the same job?
>
>
> P.S. hint to Hompaq engineering - pgrep/pkill would be an kickass feature =)
>
>
> t:T
> _______________/Timo Aaltonen <http://www.hut.fi/~tjaalton>
> Work: HUT-Computing Centre - UNIX, GSM +358-40-5549 618
Received on Thu Feb 06 2003 - 16:16:47 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT