From owner-pcp@oss.sgi.com Fri May 11 13:36:40 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4BKaeG08741 for pcp-outgoing; Fri, 11 May 2001 13:36:40 -0700 Received: from ex1.ncsa.uiuc.edu (ex1.ncsa.uiuc.edu [141.142.2.9]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4BKadF08738 for ; Fri, 11 May 2001 13:36:39 -0700 Received: from mx1.ncsa.uiuc.edu (mx1.ncsa.uiuc.edu [141.142.2.8]) by ex1.ncsa.uiuc.edu (8.11.0/8.11.0) with ESMTP id f4BKacb18000 for ; Fri, 11 May 2001 15:36:38 -0500 (CDT) X-Envelope-From: abailey@ncsa.uiuc.edu X-Envelope-To: Received: from osage.ncsa.uiuc.edu (osage.ncsa.uiuc.edu [141.142.2.56]) by mx1.ncsa.uiuc.edu (8.11.0/8.11.0) with ESMTP id f4BKab712228 for ; Fri, 11 May 2001 15:36:38 -0500 (CDT) Received: from localhost (abailey@localhost) by osage.ncsa.uiuc.edu (8.9.3/8.9.3) with ESMTP id PAA07739 for ; Fri, 11 May 2001 15:36:37 -0500 Date: Fri, 11 May 2001 15:36:37 -0500 (CDT) From: Alan Bailey To: Subject: new metrics Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk I've made two metrics, and am releasing them to the general public. I haven't tested these since last year, so I can't be sure they still compile and run. :) One is mounts, which grabs information from /proc/mounts. Example: lanner|abailey % pminfo -f mounts mounts.device inst [0 or "/"] value "/dev/root" inst [1 or "/boot"] value "/dev/sda2" inst [2 or "/afs"] value "AFS" inst [3 or "/not-here"] value "none" mounts.type inst [0 or "/"] value "ext2" inst [1 or "/boot"] value "ext2" inst [2 or "/afs"] value "afs" inst [3 or "/not-here"] value "none" mounts.options inst [0 or "/"] value "rw" inst [1 or "/boot"] value "rw" inst [2 or "/afs"] value "rw" inst [3 or "/not-here"] value "none" mounts.up inst [0 or "/"] value 1 inst [1 or "/boot"] value 1 inst [2 or "/afs"] value 1 inst [3 or "/not-here"] value 0 The other is process.running, which takes a config file of root processes, and returns the number of instances of them: lanner|abailey % pminfo -f process process.running inst [0 or "sshd"] value 1 inst [1 or "crond"] value 1 inst [2 or "inetd"] value 1 inst [3 or "nfsd"] value 0 inst [4 or "afsd"] value 9 inst [5 or "test"] value 0 These are available at: http://www.ncsa.uiuc.edu/~abailey/pcp/process.tar.gz and http://www.ncsa.uiuc.edu/~abailey/pcp/mounts.tar.gz Feel free to check them out. Give me credit in the code and/or documentation if you use them. Although I hope that if people want to use them, they would get in the PCP distribution and not spread out haphazardly on people's machines. Also, feel free to change how they operate if you wish. They both take a config file, but some people might not want to depend on a config file. I take no ownership of the code, but only a plea that you give credit where credit is due. Thanks, Alan -- Alan Bailey From owner-pcp@oss.sgi.com Thu May 17 23:05:44 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4I65iU06854 for pcp-outgoing; Thu, 17 May 2001 23:05:44 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4I65hF06851 for ; Thu, 17 May 2001 23:05:44 -0700 Received: from larry.melbourne.sgi.com ([134.14.52.130]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via SMTP id XAA04639 for ; Thu, 17 May 2001 23:05:42 -0700 (PDT) mail_from (markgw@sgi.com) Received: from sandpit.melbourne.sgi.com (sandpit.melbourne.sgi.com [134.14.55.132]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA11889; Fri, 18 May 2001 16:04:21 +1000 Date: Fri, 18 May 2001 16:04:20 +1000 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Alan Bailey cc: pcp@oss.sgi.com Subject: Re: new metrics In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk On Fri, 11 May 2001, Alan Bailey wrote: > One is mounts, which grabs information from /proc/mounts. Example: > > The other is process.running, which takes a config file of root processes, > and returns the number of instances of them: > Alan, thanks for these new metrics. They look useful, particularly process.running as a way of monitoring service availability. I'm currently trying to get PCP2.2.0 ready for open source release, which should happen early next week sometime. It has already been released for IRIX. I'll see if I can find time to incorporate your new metrics, else it'll be in a later release. -- Mark From owner-pcp@oss.sgi.com Wed May 30 18:38:55 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4V1ctk26585 for pcp-outgoing; Wed, 30 May 2001 18:38:55 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f4V1coh26581 for ; Wed, 30 May 2001 18:38:50 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id DAA1126268 for ; Thu, 31 May 2001 03:38:45 +0200 (CEST) mail_from (markgw@sgi.com) Received: from sherman.melbourne.sgi.com (sherman.melbourne.sgi.com [134.14.55.175]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id LAA08663; Thu, 31 May 2001 11:37:27 +1000 Date: Thu, 31 May 2001 11:37:27 +1000 (EST) From: Mark Goodwin X-Sender: markgw@sherman.melbourne.sgi.com To: pcp@oss.sgi.com, linuxperf@nl.linux.org, Beowulf@beowulf.org.com Subject: [ANNOUNCE] SGI Performance Co-Pilot 2.2.0 now available Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk SGI is pleased to announce the new version of Performance Co-Pilot (PCP) open source (version 2.2.0-18) is now available for download from http://oss.sgi.com/projects/pcp/download PCP is an extensible system monitoring package with a client/server architecture. It provides a distributed unifying abstraction for all interesting performance statistics in /proc and assorted applications (e.g. Apache). The PCP library APIs are robust and well documented, supporting rapid deployment of new and diverse sources of performance data and the development of sophisticated performance monitoring tools. There are binary RPMs for ia32 and ia64, the source RPM and tar.gz files. The source should also build and work for Linux-ppc, Linux-alpha and most other Linux platforms. The PCP homepage is at http://oss.sgi.com/projects/pcp and you can join the PCP mailing list via http://oss.sgi.com/projects/pcp/mail.html This release (2.2.0-18) adds five new PCP agents and associated runtime libraries, many new metrics, numerous important build and bug fixes (particularly for IA64) and a large number of small changes as we merged and reconciled the IRIX and open source trees. SGI would like to thank those who contributed to this release, especially Michal Kara, Laurent Demailly, Alan Baily, Alexander L. Belikoff, the SGI PCP engineering team, and others. A list of changes since the last open source release (which was version 2.1.10, released 20-Oct-2000) is in /usr/doc/pcp-2.2.0/CHANGELOG after installation, or at http://oss.sgi.com/projects/pcp/latest.html Thanks and enjoy! -- Mark Goodwin SGI Engineering