From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Timo Aaltonen Newsgroups: gmane.os.tru64.managers Subject: anyone ported pgrep/pkill to tru64 Date: Thu, 06 Feb 2003 12:37:24 +0200 (EET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1044527775 30544 80.91.224.249 (6 Feb 2003 10:36:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 10:36:15 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18gjO9-0007wW-00 for ; Thu, 06 Feb 2003 11:36:13 +0100 Original-Received: (qmail 16616 invoked by uid 5); 6 Feb 2003 10:37:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16607 invoked by uid 49493); 6 Feb 2003 10:37:58 -0000 Original-Received: from tjaalton@cc.hut.fi by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.436122 secs); 06 Feb 2003 10:37:58 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 6 Feb 2003 10:37:58 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9V0049PUV9K8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 06 Feb 2003 05:37:57 -0500 (EST) Original-Received: from smtp-2.hut.fi (smtp-2.hut.fi [130.233.228.92]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTPS id <0H9V0067JUUD95@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 06 Feb 2003 05:37:27 -0500 (EST) Original-Received: from replicant.hut.fi (replicant.hut.fi [130.233.200.84]) by smtp-2.hut.fi (8.12.6/8.12.6) with ESMTP id h16AbOZA014555 for ; Thu, 06 Feb 2003 12:37:24 +0200 X-X-Sender: tjaalton@replicant.hut.fi Original-To: tru64-unix-managers@ornl.gov X-RAVMilter-Version: 8.4.2(snapshot 20021217) (smtp-2.hut.fi) Xref: main.gmane.org gmane.os.tru64.managers:3238 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3238 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 Work: HUT-Computing Centre - UNIX, GSM +358-40-5549 618