From owner-pcp@oss.sgi.com Fri Dec 1 04:11:29 2000 Received: by oss.sgi.com id ; Fri, 1 Dec 2000 04:11:09 -0800 Received: from tah14.ctt.cz ([194.108.115.182]:28177 "EHLO arthur.plbohnice.cz") by oss.sgi.com with ESMTP id ; Fri, 1 Dec 2000 04:10:53 -0800 Received: (from lemming@localhost) by arthur.plbohnice.cz (8.9.3/8.10.1) id NAA22843 for pcp@oss.sgi.com; Fri, 1 Dec 2000 13:10:47 +0100 Date: Fri, 1 Dec 2000 13:10:47 +0100 From: Michal Kara To: pcp@oss.sgi.com Subject: 2.1.11 bug Message-ID: <20001201131047.A22829@arthur.plbohnice.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing Hello! Apache pmda, added in 2.1.11 to standard distribution, uses installed includes, but it is automatically compiled. So PCP does not compile on fresh box where the includes are not yet installed. Solution is to rename (or remove, if you don't need it) the src/pmdas/apache directory, do make install and then (rename back and) compile the pmda. Michal Kara From owner-pcp@oss.sgi.com Fri Dec 1 12:53:11 2000 Received: by oss.sgi.com id ; Fri, 1 Dec 2000 12:53:01 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:26720 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 1 Dec 2000 12:52:52 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id MAA23380 for ; Fri, 1 Dec 2000 12:52:50 -0800 (PST) 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 HAA00990; Sat, 2 Dec 2000 07:51:29 +1100 Date: Sat, 2 Dec 2000 07:51:29 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Michal Kara cc: pcp@oss.sgi.com Subject: Re: 2.1.11 bug In-Reply-To: <20001201131047.A22829@arthur.plbohnice.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing On Fri, 1 Dec 2000, Michal Kara wrote: > > Apache pmda, added in 2.1.11 to standard distribution, uses installed > includes, but it is automatically compiled. So PCP does not compile on fresh box > where the includes are not yet installed. > > Solution is to rename (or remove, if you don't need it) the src/pmdas/apache > directory, do make install and then (rename back and) compile the pmda. > > Michal Kara thanks Michal - I'll fix this early next week and roll to a new dev release. This will include the fix for the problem in libpcp_pmda reported by abailey@ncsa.uiuc.edu. -- Mark From owner-pcp@oss.sgi.com Sat Dec 2 08:32:51 2000 Received: by oss.sgi.com id ; Sat, 2 Dec 2000 08:32:42 -0800 Received: from postfix1.free.fr ([212.27.32.21]:1549 "HELO postfix1.free.fr") by oss.sgi.com with SMTP id ; Sat, 2 Dec 2000 08:32:34 -0800 Received: from free.fr (paris11-nas6-51-5.dial.proxad.net [212.27.51.5]) by postfix1.free.fr (Postfix) with ESMTP id 770952808A; Sat, 2 Dec 2000 17:32:30 +0100 (MET) Message-ID: <3A2923C3.6F6EF0A4@free.fr> Date: Sat, 02 Dec 2000 17:30:59 +0100 From: Luc Stepniewski Reply-To: lstep@free.fr X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test11 i686) X-Accept-Language: fr-FR, fr, en MIME-Version: 1.0 To: pcp@oss.sgi.com Cc: markgw@sgi.com Subject: Debian patch for latest version of PCP Content-Type: multipart/mixed; boundary="------------615D8B09E74EAD79EAF94ABD" Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing This is a multi-part message in MIME format. --------------615D8B09E74EAD79EAF94ABD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I updated the debian package for PCP to work with PCP 2.1.11. * I modified the rc-proc.sh to be compatible with Debian (otherwise pcp won't start at all), without destroying anything to keep compatibility with other platforms (tests with /etc/debian_version to see if we're on a debian box). I've used the update-rc.d debian tool to update the links which is a lot easier than doing symlinks everywhere :-) It would be really cool if the changes I made to rc-proc.sh could be integrated in the official distribution. * I applied the latest patch for that bug reported to Mark this week, and not yet included in official release. * The Apache pmda is functionnal * About the weblog pmda, there is no manpage for pmdaweblog, and /var/pcp/config/web is empty. Is that normal ? What is the current status about adding the debian/ directory to official distribution ? The last time I asked you told there was a legal discussion about this. Has this been solved ? There's a directory for tgz creation, a directory for rpm creation, but still no directory for debian :-( Looking at my debian/ parameters directory, it takes less than 23Ko. As usual, you can retrieve the pcp debian package on ftp://ftp.adequat.net/pub/debian/ Luc Stepniewski Ps: Here attached the diffs to apply to rc-proc.sh to make it work on debian. -- Luc Stepniewski Adequat - Securite, Linux Public key: Key D93B2D2D fingerprint = 49 00 CC D1 69 03 E2 94 C8 78 ED 3C 75 89 A8 DE --------------615D8B09E74EAD79EAF94ABD Content-Type: text/plain; charset=us-ascii; name="rc-proc.sh.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc-proc.sh.diff" --- rc-proc.sh.old Mon Nov 27 23:57:55 2000 +++ rc-proc.sh Sat Dec 2 16:47:40 2000 @@ -88,9 +88,16 @@ # # don't have chkconfig, so use the existence of the symlink # - if ls /etc/rc.d/rc$_rl.d/S[0-9]*$_flag >/dev/null 2>&1 - then - _ret=0 # on + if [ -f /etc/debian_version ]; then + if ls /etc/rc$_rl.d/S[0-9]*$_flag >/dev/null 2>&1 + then + _ret=0 # on + fi + else + if ls /etc/rc.d/rc$_rl.d/S[0-9]*$_flag >/dev/null 2>&1 + then + _ret=0 # on + fi fi fi @@ -117,11 +124,15 @@ else _start=`_runlevel_start $_flag` _stop=`_runlevel_stop $_flag` - for _r in `_runlevels $_flag` - do - ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/S$_start""$_flag >/dev/null 2>&1 - ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/K$_stop""$_flag >/dev/null 2>&1 - done + if [ -f /etc/debian_version ]; then + update-rc.d -f $_flag defaults s$_start k$_stop + else + for _r in `_runlevels $_flag` + do + ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/S$_start""$_flag >/dev/null 2>&1 + ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/K$_stop""$_flag >/dev/null 2>&1 + done + fi fi return 0 @@ -145,7 +156,11 @@ chkconfig --level 2345 "$_flag" off >/dev/null 2>&1 else # remove the symlinks - rm -f /etc/rc.d/rc[0-9].d/[SK][0-9]*$_flag >/dev/null 2>&1 + if [ -f /etc/debian_version ]; then + update-rc.d -f $_flag remove + else + rm -f /etc/rc.d/rc[0-9].d/[SK][0-9]*$_flag >/dev/null 2>&1 + fi fi return 0 @@ -167,13 +182,17 @@ _cmd=`which chkconfig` echo " # $_cmd $_flag on" else - _start=`_runlevel_start $_flag` - _stop=`_runlevel_stop $_flag` - for _r in `_runlevels $_flag` - do - echo " # ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/S$_start""$_flag" - echo " # ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/K$_stop""$_flag" - done + if [ -f /etc/debian_version ]; then + echo " update-rc.d -f $_flag defaults s$_start k$_stop" + else + _start=`_runlevel_start $_flag` + _stop=`_runlevel_stop $_flag` + for _r in `_runlevels $_flag` + do + echo " # ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/S$_start""$_flag" + echo " # ln -sf ../init.d/$_flag /etc/rc.d/rc$_r.d/K$_stop""$_flag" + done + fi fi return 0 --------------615D8B09E74EAD79EAF94ABD-- From owner-pcp@oss.sgi.com Sun Dec 3 20:27:10 2000 Received: by oss.sgi.com id ; Sun, 3 Dec 2000 20:27:01 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:95 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 3 Dec 2000 20:26:44 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id UAA23882 for ; Sun, 3 Dec 2000 20:26:34 -0800 (PST) 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 PAA05134; Mon, 4 Dec 2000 15:24:01 +1100 Date: Mon, 4 Dec 2000 15:24:00 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Luc Stepniewski cc: pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP In-Reply-To: <3A2923C3.6F6EF0A4@free.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing On Sat, 2 Dec 2000, Luc Stepniewski wrote: > > I updated the debian package for PCP to work with > PCP 2.1.11. Could you please send me a complete set of patches (against pcp-2.1.11-6) for debian. A while ago there was an SGI internal request for PCP on Debian, and so we might as well add a deb subdir to the build dir. Do you have code we can use to generate .deb packages? As a side note: how does your "PCP for Debian" differ from what might be produced by Alien (the package format converter)? See the Alien home page at http://kitenet.net/programs/alien/ for details. > > * I modified the rc-proc.sh to be compatible with > Debian (otherwise pcp won't start at all), without > destroying anything to keep compatibility > with other platforms (tests with /etc/debian_version > to see if we're on a debian box). > I've used the update-rc.d debian tool to update > the links which is a lot easier than doing symlinks > everywhere :-) OK, so this is at least one difference. I'll take this patch .. > > * The Apache pmda is functionnal Michal has suggested a small patch to allow Apache PMDA to build in the case where PCP is not installed on the build machine. > > * About the weblog pmda, there is no manpage > for pmdaweblog, and /var/pcp/config/web is empty. > Is that normal ? No that is not normal. The RPM package installs the default config file /var/pcp/config/web/weblog.conf. Does your Debian package not install this? The missing man page is indeed a bug - I'll make a note to fix it. > > What is the current status about adding the debian/ > directory to official distribution ? The last time > I asked you told there was a legal discussion about > this. Has this been solved ? Yes it has been solved in the least painful way we could think of. If you want to contribute a stand-alone piece of code (e.g. apache PMDA is a good example), you can request it be placed in the pcp contrib area [surf to ftp://oss.sgi.com/www/projects/pcp/download/contrib to view the legal conditions for doing this]. If you want some code written by you to be included in the base PCP distribution, the easiest method is to literally give the source and copyright to SGI. If that doesn't fit with your requirements, you can retain copyright. For example, read the copyright notice in pcp-2.1.11-6 or later in the file src/libpcp_http/src/http_lib.h In both cases, you'll have to formally agree to some legal stuff via email (mostly to confirm that you are the sole author of your contribution). It might sound complex and painful, but it's really not at all. thanks -- Mark From owner-pcp@oss.sgi.com Sun Dec 3 20:38:50 2000 Received: by oss.sgi.com id ; Sun, 3 Dec 2000 20:38:41 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:38752 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 3 Dec 2000 20:38:26 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id UAA24781 for ; Sun, 3 Dec 2000 20:38:25 -0800 (PST) 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 PAA05217; Mon, 4 Dec 2000 15:37:05 +1100 Date: Mon, 4 Dec 2000 15:37:04 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Mark Goodwin cc: Luc Stepniewski , pcp@oss.sgi.com Subject: weblog.conf In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing On Mon, 4 Dec 2000, Mark Goodwin wrote: > No that is not normal. The RPM package installs the default config file > /var/pcp/config/web/weblog.conf. Does your Debian package not install this? Correction: the /var/pcp/pmdas/weblog/Install script installs this file when you configure the weblog PMDA. -- Mark From owner-pcp@oss.sgi.com Sun Dec 3 21:34:31 2000 Received: by oss.sgi.com id ; Sun, 3 Dec 2000 21:34:22 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:56611 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 3 Dec 2000 21:33:56 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id VAA07053 for ; Sun, 3 Dec 2000 21:42:01 -0800 (PST) mail_from (nathans@wobbly.melbourne.sgi.com) Received: from wobbly.melbourne.sgi.com (wobbly.melbourne.sgi.com [134.14.55.135]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA05562; Mon, 4 Dec 2000 16:32:37 +1100 Received: (from nathans@localhost) by wobbly.melbourne.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id QAA88640; Mon, 4 Dec 2000 16:32:35 +1100 (EDT) From: "Nathan Scott" Message-Id: <10012041632.ZM188734@wobbly.melbourne.sgi.com> Date: Mon, 4 Dec 2000 16:32:33 -0400 In-Reply-To: Mark Goodwin "Re: Debian patch for latest version of PCP" (Dec 4, 3:24pm) References: X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: Mark Goodwin , Luc Stepniewski Subject: Re: Debian patch for latest version of PCP Cc: pcp@oss.sgi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing hi, On Dec 4, 3:24pm, Mark Goodwin wrote: > Subject: Re: Debian patch for latest version of PCP > On Sat, 2 Dec 2000, Luc Stepniewski wrote: > > > > I updated the debian package for PCP to work with > > PCP 2.1.11. > > Could you please send me a complete set of patches (against pcp-2.1.11-6) > for debian. A while ago there was an SGI internal request for PCP on Debian, :) ... guess who that was? > and so we might as well add a deb subdir to the build dir. Do you have > code we can use to generate .deb packages? > > As a side note: how does your "PCP for Debian" differ from what might > be produced by Alien (the package format converter)? See the Alien > home page at http://kitenet.net/programs/alien/ for details. > Luc's changes will allow the PCP source to be built as part of the Debian build process, conform to Debian policy, and hence allow the PCP package to become an official part of Debian (you need to learn some more about Debian before you can understand what you really asked there, Mark ;-) > > What is the current status about adding the debian/ > > directory to official distribution ? The last time Note - (ironic legal issues aside) - it is not really required to add this subdir at all. This is simply a convenience and can be done outside of the source package (in some ways its nice if its incorporated though). It is also not very useful to allow any-old person to build the Debian package (as it is with rpm, for example) as these need to be gpg/pgp signed before they can be uploaded to the Debian servers. Luc, do you intend to put your (very cool, thank you so much!) pcp & pcpmon packages into unstable? I have been working with some Debian folk on getting the XFS user commands Debian-packaged - it may be useful to look thru the way I addressed this there (those tools are packaged in a very similar way to PCP) - I'd be interested in your thoughts on that too - see the xfs homepage on oss and cmd/xfs/tools/debian + cmd/xfs/build/deb. I'm not sure this is the ideal mechanism (it may well be), but it doesn't force the issue of having an "extraneous" $(TOPDIR)/debian subdir rather than a $(TOPDIR)/build/deb, which would be the ideal solution in terms of the pcp (gensrc) packaging mechanism. You also don't need the DESTDIR kludge in all the Makefiles since the pcp build can be configure'd to use alternate paths already (I haven't looked at your latest pcp changes to see whether they still do this, I'm very busy on other stuff at the moment unfortunately). cheers. -- Nathan From owner-pcp@oss.sgi.com Mon Dec 4 13:48:13 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 13:47:53 -0800 Received: from postfix3.free.fr ([212.27.32.22]:43529 "HELO postfix3.free.fr") by oss.sgi.com with SMTP id ; Mon, 4 Dec 2000 13:47:23 -0800 Received: from free.fr (paris11-nas4-47-176.dial.proxad.net [212.27.47.176]) by postfix3.free.fr (Postfix) with ESMTP id 7808286F93; Mon, 4 Dec 2000 22:47:10 +0100 (CET) Message-ID: <3A2C107C.F2E8F455@free.fr> Date: Mon, 04 Dec 2000 22:45:32 +0100 From: Luc Stepniewski Reply-To: lstep@free.fr X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test11 i686) X-Accept-Language: fr-FR, fr, en MIME-Version: 1.0 To: Mark Goodwin , pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing Mark Goodwin wrote: Hi Mark, > Could you please send me a complete set of patches (against pcp-2.1.11-6) > for debian. A while ago there was an SGI internal request for PCP on Debian, > and so we might as well add a deb subdir to the build dir. Do you have > code we can use to generate .deb packages? I had a lot of patches to allow me to generate the .deb file but I found a cool trick that allows me to not modify anything in PCP (except for the rc-proc.sh file :-). In fact, the install is totally done by the install-sh script, and I noticed that it allows a DIST_ROOT environment variable to be defined. So when I set this variable to the directory where the package is being generated, all goes fine ! (most of the time, when you are at the TOP of the pcp package, export DIST_ROOT=`pwd`/debian/pcp is fine). > As a side note: how does your "PCP for Debian" differ from what might > be produced by Alien (the package format converter)? See the Alien > home page at http://kitenet.net/programs/alien/ for details. I know alien. The difference is that RedHat based distributions directories are not the same as the Debian ones. Another point is that there are many tools that gives more power to the user if he's on Debian. For example, Debian is using a tool named 'debconf' that allows automatic installation of a whole system (if properly configured). Another point is that the installation procedure is VERY different from A RedHat based one. On RedHat (when I say RedHat, I mean, Redhat, Caldera, Suse, Mandrake, etc.), the package gets installed without any configuration of any kind. YOU have to configure it after installation. On Debian, the package manager (debconf is one part of it) asks you several questions to know how it should configure the program. So the real difference is that after a package installation ('apt-get install pcp' for example) is done, on debian, the program is immediately functionnal. Another point is that on Debian, for one package, there is one person that takes care of it. Most of the time it's a person that uses the program, and likes using it (for example, me :-). So he will know how the program works, he will follow the discussions on the mailing lists, and apply patches in case of problems/security breaches. That's one reason why a lot of admins prefer to use Debian on servers. They know that package are well maintained, and in case of bugs, they can file bugs reports to the maintainer. For example, for my part, if you try to install the debian package you'll see some real differences between an artificially converted package (with alien) and a real native debian package. When you install PCP, you will be asked if you want a minimal protection for pmcd. If yes, he will ask you the network to allow connections from. By default, it will allow connections only from 192.168.0.* for pmcd access. This is done throught debconf, and one of its interface (noninteractive, text, dialog, Slang, web, gtk). Slang is a new one (only available in the devel part of Debian), it is really beautiful! > > * I modified the rc-proc.sh to be compatible with > > Debian (otherwise pcp won't start at all), without > > destroying anything to keep compatibility > > OK, so this is at least one difference. I'll take this patch .. I think it's the most important one (the only :-) > > * About the weblog pmda, there is no manpage > > for pmdaweblog, and /var/pcp/config/web is empty. > > Is that normal ? > > No that is not normal. The RPM package installs the default config file > /var/pcp/config/web/weblog.conf. Does your Debian package not install this? > The missing man page is indeed a bug - I'll make a note to fix it. Ooops, I haven't seen it. You're right, the Install works fine. Luc Stepniewski -- Luc Stepniewski Adequat - Securite, Linux Public key: Key D93B2D2D fingerprint = 49 00 CC D1 69 03 E2 94 C8 78 ED 3C 75 89 A8 DE From owner-pcp@oss.sgi.com Mon Dec 4 15:01:43 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 15:01:34 -0800 Received: from postfix2.free.fr ([212.27.32.74]:54283 "HELO postfix2.free.fr") by oss.sgi.com with SMTP id ; Mon, 4 Dec 2000 15:01:17 -0800 Received: from free.fr (paris11-nas9-37-87.dial.proxad.net [212.27.37.87]) by postfix2.free.fr (Postfix) with ESMTP id 00FC574647; Tue, 5 Dec 2000 00:00:56 +0100 (MET) Message-ID: <3A2C2191.34005928@free.fr> Date: Mon, 04 Dec 2000 23:58:25 +0100 From: Luc Stepniewski Reply-To: lstep@free.fr X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test11 i686) X-Accept-Language: fr-FR, fr, en MIME-Version: 1.0 To: Nathan Scott , pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP References: <10012041632.ZM188734@wobbly.melbourne.sgi.com> Content-Type: multipart/mixed; boundary="------------BED12271D395FBA18A838742" Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing This is a multi-part message in MIME format. --------------BED12271D395FBA18A838742 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nathan Scott wrote: > Luc's changes will allow the PCP source to be built as part > of the Debian build process, conform to Debian policy, and > hence allow the PCP package to become an official part of > Debian (you need to learn some more about Debian before you > can understand what you really asked there, Mark ;-) Yes, you're right. I haven't yet proposed my package for official inclusion for two reasons: 1) I haven't asked your permission yet :-) 2) I'm at 50% sure, that it will be rejected because PCP in its actual form doesn't respect some of the FHS. To be accepted, a package has to follow some very strict rules. One of them is to respect the Linux Filesystem Hierarchy Standard (http://www.pathname.com/fhs/), and the Linux Standard Base (http://www.linuxbase.org/). I see that SGI is a member of LSB :-) Some files are misplaced (from my interpretation of the FHS). These are the files that I'm sure need to be moved: - The documentation should be in /usr/share/doc/pcp, not /usr/doc/pcp. - The demos and examples should be in /usr/share/doc/pcp too, not /usr/share/pcp/*. - The man pages should be in /usr/share/man/* These are the files locations that MAY pass: - Datas for pcp should be in /var/lib/pcp, not /var/pcp. I say 'may', because I know only ONE package that doesn't follow this, which is Samba. But I think it's a mistake. - Configuration files (currently /var/pcp/config) should be in /etc/pcp. I made some of the modifications (man pages, docs) at compile time of the debian package (some are even done automatically!), so it's not too hard to maintain this. Many debian packages are separated in two parts, one part for users, and one part for developers (foobar.deb and foobar-dev.deb). The goal of this is to allow someone to install the minimum of what he needs. The developer part would include the libraries, the .h files, etc. For PCP, I don't think it's possible to do this. Files are too dependend on each other, and the current way of compiling/installing pmdas is really cool :-) > Luc, do you intend to put your (very cool, thank you so > much!) pcp & pcpmon packages into unstable? I will propose the pcp & pcpmon packages as soon as I have your authorization (SGI's & Michal's) to do so. I wanted to wait for the version Mark talked about releasing this week, and I wanted to test the package a little more before proposing it. It has to be perfect ! > I have been working with some Debian folk on getting the > XFS user commands Debian-packaged - it may be useful to > look thru the way I addressed this there (those tools are > packaged in a very similar way to PCP) - I'd be interested > in your thoughts on that too - see the xfs homepage on oss > and cmd/xfs/tools/debian + cmd/xfs/build/deb. Ok, I'll look at it. > You also don't need the DESTDIR kludge in all the Makefiles > since the pcp build can be configure'd to use alternate paths > already (I haven't looked at your latest pcp changes to see > whether they still do this, I'm very busy on other stuff at > the moment unfortunately). You're right, I discovered the DIST_ROOT variable last week :-) No more any modification to all of the Makefiles, it was such a pain !!! Luc Ps: I attached a screenshot of debconf at work, when installing PCP, for people that don't use Debian :-) -- Luc Stepniewski Adequat - Securite, Linux Public key: Key D93B2D2D fingerprint = 49 00 CC D1 69 03 E2 94 C8 78 ED 3C 75 89 A8 DE --------------BED12271D395FBA18A838742 Content-Type: image/gif; name="pmcd.gif" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="pmcd.gif" R0lGODdh+AFCAecAAAAAAACqrAAEAAAArP//AP///4sAAAgMCAgICDk4OXt5exgcGKShpCAk ICAgIDk8ORAUEAAECAAICAgMEAgEAAgECBAQEAgIEAAACCAcIBAMECAgGBgUECkoKSksKQgI AAAIABgYGDE0MWJlYmppamJhYlJQUlpZWnNxc4OBg3t9e4OFg3N1c+bi5t7e3tXW1c3Ozc3K zb2+vayurJydnIuNi9XS1b26vbSytKyqrJyZnJSRlDEwMRgYEGptakFAQXNhUqyVe8XGxf// 9mo8EEooCFpdWotxWpxpOYtMEHM4AEpMSpSVlFJVUoNhOUoUAEoQAAgAADkwMUFEQaSlpAgA CIuJixAQGAgEECAgKRgUGAgAEBAIGAgIGBAMGAAAEAgEGBAMIBgUIBAIIBAAEBAEGBAEEAgA GBgIIBAAGBgMIBAEIBgQKTksQSAUKVJEWiAQKRgMGDEoOSkcMRgQICkYKSAQIBgIGCAUIEE4 SkEwQRgQGBAIEEpISiAYKRAQCFJMSiAcGCkkIFpVUhAMCCkgMSkoOTEsOTk0QSAcKRgYKSAY IBgYICkoMTk0OTEwOSkkKTk4QUE8QRgcIGJlaiAkKUpESlpZYkFEShAUGN7a3sXCxfb29vby 9ubm5u7q7rS2tL22rO7GpINdOdXOzTk4McWZc4NIEM2hc5RZGObazUpAMYNMENXOxTEsMVpV Wv////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////ywAAAAA+AFCAQAI/gABCBxIsKDBgwgTKlzIUGEE ABIEQgAwwaEAgREiMqRQAQFCChY2CNxggULDkwU9HgCAAMFFhC9fsgQgwGVBAQc80tSJsudN ARZoCrzoUuZACC2HHujQgehFnESHDsRJcCJNAVgVZp1q1KfXr2DDioW5VehYgSNIqB1RIi3b tiZOnJ1Lt6GFCBMqRnjokCDfhRx5GkTAQSAHwXUJeuyqdefNqTalJib70oLOAx5alp3q+EDQ gTmFXsaKYOVVlh9AyNxMkDHjybBjy5ZMe+wIFClSqNi9QnduFixmCz+r83PCvz05KtSJePbi hlg3sx4+OKnkmg6mCzxwAEIInVkx/nuoSXXmdu7gjQoA0Zy6+/fwxZJI0cLFixcwYsSQMYNG jRXxBXiQRxdggFFsFJgkYEIqMaReTe3Fh5NlABiHEwJWcRUTTcYldYAID4QAYUGeSeVRaZot qOKKLA40nws2yHADDjPkwIAKJ/zXYoAVAJABABpUVFFDGCC3I3StvSYQigYpKaFnzV1kQXQH vcTTVt5ddMBTVNKUk5NHhinmZPO9IIMOO6yggm4m8KAjQQHEKeecdNZp55145qnnnnz26eef gAYq6KCEFmrooYgmquiijDbqZ0Fl3pBmBz34gMIPDbw5kKOcdurpp6CGKuqopJZqqqmQpgAD DjWoAEQQ/h74kMACmgp06q245honnHYC0Oimj/qq67DEFltqqkIwsEIHQxBRhBE80ArgVMZW ay2iwgpLp7Zzcguott7ima2c4RYabrnXpquuoa3Nl6wCRyCRhBJLdGABEzW0tu6+/Pa6q7+L opunw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pFunsGecW4YPpwG949hI+AAAtgASQHgwL 2AMc6Tf89ug6//KfDnGHM2vaPsPUju+VQGs+6G1ruo0KyYRKMOdn/oibvkT9nkJOl0I73z+4 3j4XWIIFdUAqbAASqIEjdzQk11FXDwgAOw== --------------BED12271D395FBA18A838742-- From owner-pcp@oss.sgi.com Mon Dec 4 15:35:02 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 15:34:53 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:21798 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 4 Dec 2000 15:34:31 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id PAA10711 for ; Mon, 4 Dec 2000 15:34:29 -0800 (PST) mail_from (nathans@wobbly.melbourne.sgi.com) Received: from wobbly.melbourne.sgi.com (wobbly.melbourne.sgi.com [134.14.55.135]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id KAA12222; Tue, 5 Dec 2000 10:33:12 +1100 Received: (from nathans@localhost) by wobbly.melbourne.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id KAA83416; Tue, 5 Dec 2000 10:33:10 +1100 (EDT) From: "Nathan Scott" Message-Id: <10012051033.ZM179547@wobbly.melbourne.sgi.com> Date: Tue, 5 Dec 2000 10:33:05 -0400 In-Reply-To: Luc Stepniewski "Re: Debian patch for latest version of PCP" (Dec 4, 11:58pm) References: <10012041632.ZM188734@wobbly.melbourne.sgi.com> <3A2C2191.34005928@free.fr> X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: lstep@free.fr, pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing hi Luc, On Dec 4, 11:58pm, Luc Stepniewski wrote: > Subject: Re: Debian patch for latest version of PCP > ... > Yes, you're right. I haven't yet proposed my package for > official inclusion for two reasons: > 1) I haven't asked your permission yet :-) I don't think thats going to be a problem. ;-) > 2) I'm at 50% sure, that it will be rejected because PCP > in its actual form doesn't respect some of the FHS. > > To be accepted, a package has to follow some very > strict rules. One of them is to respect the Linux > Filesystem Hierarchy Standard (http://www.pathname.com/fhs/), > and the Linux Standard Base (http://www.linuxbase.org/). > I see that SGI is a member of LSB :-) > > Some files are misplaced (from my interpretation of the > FHS)... a number of these issues I addressed in the XFS tool build using an FHS_COMPLIANT env var - which is unconditionally set in a Debian build and which can force configure.in settings to come out a certain way (current configure script guesses at file locations & gets it wrong on Debian). a similar thing could be done for pcp. also, some of the dpkg references in the pcp configure script are busted - I never got round to fixing these (eg. dpkg=$DKPG). for XFS, this stuff all got removed anyway - different build model for Debian. again, a similar thing could be done for pcp. > > > Luc, do you intend to put your (very cool, thank you so > > much!) pcp & pcpmon packages into unstable? > > I will propose the pcp & pcpmon packages as soon as I > have your authorization (SGI's & Michal's) to do so. > I wanted to wait for the version Mark talked about releasing > this week, and I wanted to test the package a little more > before proposing it. It has to be perfect ! > fair enough. > > in your thoughts on that too - see the xfs homepage on oss > > and cmd/xfs/tools/debian + cmd/xfs/build/deb. > > Ok, I'll look at it. > and I'll try out your .deb's soon as I get a chance. cheers. -- Nathan From owner-pcp@oss.sgi.com Mon Dec 4 17:00:54 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 17:00:34 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:46207 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 4 Dec 2000 17:00:29 -0800 Received: from rattle.melbourne.sgi.com (rattle.melbourne.sgi.com [134.14.55.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA02173 for ; Mon, 4 Dec 2000 17:08:35 -0800 (PST) mail_from (kenmcd@melbourne.sgi.com) Received: from localhost (kenmcd@localhost) by rattle.melbourne.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id LAA37023 for ; Tue, 5 Dec 2000 11:59:10 +1100 (AEDT) X-Authentication-Warning: rattle.melbourne.sgi.com: kenmcd owned process doing -bs Date: Tue, 5 Dec 2000 11:59:10 +1100 From: Ken McDonell Reply-To: kenmcd@sgi.com To: pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing [resent due to majordomo brain fault on oss.sgi.com, excuse [Uu] nonsense below] hi, On Dec 4, 9:39pm, Mark Goodwin wrote: > Subject: Re: Debian patch for latest version of PCP > On Mon, 4 Dec 2000, Nathan Scott wrote: > > > > > Luc, do you intend to put your (very cool, thank you so > > much!) pcp & pcpmon packages into [Uu]nstable? > > Actually, the pcpmon author is Michal Kara. In any case, yes, I know that... Luc has also Debian-packaged pcpmon (in addition to the base pcp stuff). > is "[Uu]nstable" a sort of upload area where the Debian "[Uu]nstable" is [one of the names for] the current development version of Debian. > folks take/accept stuff for review and possible inclusion > in their distro? start reading at http://www.debian.org/ ... esp. the links from "Developers Corner" (there's _alot_ to read). cheers. -- Nathan From owner-pcp@oss.sgi.com Mon Dec 4 17:02:23 2000 Received: by oss.sgi.com id ; Mon, 4 Dec 2000 17:02:04 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:57215 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 4 Dec 2000 17:01:46 -0800 Received: from rattle.melbourne.sgi.com (rattle.melbourne.sgi.com [134.14.55.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA06821 for ; Mon, 4 Dec 2000 17:09:51 -0800 (PST) mail_from (kenmcd@melbourne.sgi.com) Received: from localhost (kenmcd@localhost) by rattle.melbourne.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id MAA33612 for ; Tue, 5 Dec 2000 12:00:26 +1100 (AEDT) X-Authentication-Warning: rattle.melbourne.sgi.com: kenmcd owned process doing -bs Date: Tue, 5 Dec 2000 12:00:26 +1100 From: Ken McDonell Reply-To: kenmcd@sgi.com To: pcp@oss.sgi.com Subject: Re: Debian patch for latest version of PCP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing [resent due to majordomo brain fault on oss.sgi.com, excuse [Uu] nonsense below] Mark Goodwin wrote: > > Luc, do you intend to put your (very cool, thank you so > > much!) pcp & pcpmon packages into [Uu]nstable? > > Actually, the pcpmon author is Michal Kara. In any case, > is "[Uu]nstable" a sort of upload area where the Debian > folks take/accept stuff for review and possible inclusion > in their distro? At any time, there are two Debian distributions. One that is the official one, that is stable (supposed to have no bugs :-), and one 'not for the public', which is [Uu]nstable. The only modifications that can occur in the stable distribution are bugs corrections or security patches. So, to add a new package, one has to propose it to the [Uu]nstable branch, which will become, when a freeze is declared, a stable version. Currently, the stable distribution's offcial name is 'Potato'. The next stable will be named 'Woody'. Currerntly, it is in an [Uu]nstable state. I made two packages for pcp (and pcpmon). One that has been compiled on a stable 'Potato' box, and another on a 'Woody' box. That's why I have two directories on my ftp site. The difference between both are the dependencies, and the libraries version they have been compiled with. libc6 2.2-4 for woody, and libc6 2.1.3-13 for potato, for example. The potato version allows current users to install it on their normal distribution. The woody version allows the developers/testers/crash tests guys to verify that the package is compatible with the next stable version. Oops, I found a bug in my package. but not really critical. To execute /etc/init.d/pcp, there have to be gawk. On Debian it is not installed by default. So it will complain a little :-) I'll add it to the dependencies I already have. Luc Stepniewski -- Luc Stepniewski Adequat - Securite, Linux Public key: Key D93B2D2D fingerprint = 49 00 CC D1 69 03 E2 94 C8 78 ED 3C 75 89 A8 DE From owner-pcp@oss.sgi.com Tue Dec 5 15:18:48 2000 Received: by oss.sgi.com id ; Tue, 5 Dec 2000 15:18:39 -0800 Received: from ex1.ncsa.uiuc.edu ([141.142.2.9]:53201 "EHLO ex1.ncsa.uiuc.edu") by oss.sgi.com with ESMTP id ; Tue, 5 Dec 2000 15:18:21 -0800 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 eB5NIIR06031; Tue, 5 Dec 2000 17:18:18 -0600 (CST) X-Envelope-From: abailey@ncsa.uiuc.edu 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 eB5NIGt25764; Tue, 5 Dec 2000 17:18:17 -0600 (CST) Received: from localhost (abailey@localhost) by osage.ncsa.uiuc.edu (8.9.3/8.9.3) with ESMTP id RAA12112; Tue, 5 Dec 2000 17:18:16 -0600 Date: Tue, 5 Dec 2000 17:18:16 -0600 (CST) From: Alan Bailey To: kenmcd@sgi.com cc: pcp@oss.sgi.com Subject: Re: weird error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing This worked great by the way! Thanks a lot. Alan On Fri, 1 Dec 2000, Ken McDonell wrote: > On Thu, 30 Nov 2000, Alan Bailey wrote: > > > Awesome! (Well, not that there is a problem, but that you found it > > quickly). > > > > I'll be anxiously awaiting your update :) > > Attached is a patch for three source files in libpcp_pmda ... I believe > this will fix the problem. > > Let us know. This will be in the next spin of the dev rpms. > -- Alan Bailey From owner-pcp@oss.sgi.com Tue Dec 5 16:55:29 2000 Received: by oss.sgi.com id ; Tue, 5 Dec 2000 16:55:18 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:59926 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 5 Dec 2000 16:54:58 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id RAA05225 for ; Tue, 5 Dec 2000 17:03:05 -0800 (PST) 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 LAA22597; Wed, 6 Dec 2000 11:53:38 +1100 Date: Wed, 6 Dec 2000 11:53:38 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: pcp@oss.sgi.com cc: sgi.engr.pcp@engr.sgi.com Subject: pcp-2.1.11-8 available for testing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing I have just uploaded pcp-2.1.11-8 to the dev ftp area on oss.sgi.com http://oss.sgi.com/projects/pcp/download/dev/ Changes (relative to pcp-2.1.11-6): - fix Apache PMDA so it builds if pcp is not installed on build machine, reported by Michal Kara - patch from Luc Stepniewski to fix rc-proc.sh to support Debian's way of handling rc scripts. - add man page for pmdaweblog(1), reported missing by Luc Stepniewski - fix for bug in libpcp_pmda::pmdaFetch reported by Alan Bailey (the "weird error" bug). Nathan and Luc - you should now have enough Debian fixes to proceed with the .deb packaging etc. Please report any problems to the pcp@oss.sgi.com list. thanks -- Mark From owner-pcp@oss.sgi.com Thu Dec 7 01:10:07 2000 Received: by oss.sgi.com id ; Thu, 7 Dec 2000 01:09:47 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:55134 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 7 Dec 2000 01:09:28 -0800 Received: from rattle.melbourne.sgi.com (rattle.melbourne.sgi.com [134.14.55.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id BAA19771 for ; Thu, 7 Dec 2000 01:09:26 -0800 (PST) mail_from (kenmcd@melbourne.sgi.com) Received: from localhost (kenmcd@localhost) by rattle.melbourne.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id UAA33083; Thu, 7 Dec 2000 20:08:08 +1100 (AEDT) X-Authentication-Warning: rattle.melbourne.sgi.com: kenmcd owned process doing -bs Date: Thu, 7 Dec 2000 20:08:08 +1100 From: Ken McDonell Reply-To: kenmcd@sgi.com To: Mark Goodwin cc: lemming@arthur.plbohnice.cz, pcp@oss.sgi.com Subject: Re: Trends again (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing [I'm moving this to a wider forum as others may have input or be interested in collaboration] I have no problem with giving Michal the pmderive source under the terms you propose, but I would warn: 1. Data reduction is not the same as trend analysis ... operationally and statistically they are quite different, so I'm not sure now useful pmderive source will be, and 2. Ania and I never resolved some of the hard parts of the semantics of reduced PCP archive data so I would question how "almost finished" it is ... last I recall she had hit the wall on some curly issues and did not have a proposal for moving forwards (remember pmderive came from a boatload of functionality culled from pmlogextract when I was unhappy about the semantic soundness of the output archive). We need trend analysis tools, and I would encourage collaboration in this area. If someone believes pmderive would help, by all means make it available. On Thu, 7 Dec 2000, Mark Goodwin wrote: > Ken, > > do you know if Annia's pmderive tool is up to scratch? If so, > can we give it to Michal on the understanding he would work > on it and release the result as open source? > > > ---------- Forwarded message ---------- > Date: Thu, 7 Dec 2000 18:32:35 +1100 (EST) > From: Mark Goodwin > To: Michal Kara > Subject: Re: Trends again > > On Wed, 6 Dec 2000, Michal Kara wrote: > > > Hello! > > > > I have written you about two weeks ago about the architectural decision I > > need to make: How to implement trend-generating? > > > > I can either modify pmlogextract/pmlogmerge or write yet another utility > > which will process relevant metrics to a PCP metrics archive. Or I can write > > a script which will work with pmlogextract and process the values to files > > readable by gnuplot. > > > > I would really like to know your opinion on this. Thanks. > > > > sorry for not getting back to you: I did actually take some action on > this request. I asked our group here at SGI if anyone had any ideas or > tools that might fit with your requirements .. and it turned out > we have an "almost finished" tool called "pmderive". This is a bit > like pmlogextract/pmlogmerge, and was developed by the same author, > but never quite finished and the author has since left SGI. > > The idea behind pmderive is log reduction. A conf file is used > to define arbitrary expressions whose operands are PCP metrics > in a log. Pmderive reads the conf file, and walks the archive, > writing a new archive with metrics corresponding to the expressions, > i.e. data reduction. > > Would this be a reasonable starting point for what you need to do? > Let me know : I'll see if I can find the src for pmderive, and quite > likely we'll be able to let you have it (I need to speak to Ken about > that though). > > thanks > -- Mark > > ps: is the apache PMDA in pcp-2.1.11-8 building OK now? > > From owner-pcp@oss.sgi.com Thu Dec 7 01:42:37 2000 Received: by oss.sgi.com id ; Thu, 7 Dec 2000 01:42:27 -0800 Received: from tah14.ctt.cz ([194.108.115.182]:59916 "EHLO arthur.plbohnice.cz") by oss.sgi.com with ESMTP id ; Thu, 7 Dec 2000 01:42:03 -0800 Received: (from lemming@localhost) by arthur.plbohnice.cz (8.9.3/8.10.1) id KAA26830 for pcp@oss.sgi.com; Thu, 7 Dec 2000 10:41:41 +0100 Date: Thu, 7 Dec 2000 10:41:41 +0100 From: Michal Kara To: pcp@oss.sgi.com Subject: Re: Trends again (fwd) Message-ID: <20001207104141.B26561@arthur.plbohnice.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from kenmcd@melbourne.sgi.com on Thu, Dec 07, 2000 at 08:08:08PM +1100 Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing > [I'm moving this to a wider forum as others may have input or be > interested in collaboration] > > I have no problem with giving Michal the pmderive source under the > terms you propose, but I would warn: > > 1. Data reduction is not the same as trend analysis ... operationally > and statistically they are quite different, so I'm not sure now > useful pmderive source will be, and > > 2. Ania and I never resolved some of the hard parts of the semantics of > reduced PCP archive data so I would question how "almost finished" > it is ... last I recall she had hit the wall on some curly issues > and did not have a proposal for moving forwards (remember pmderive > came from a boatload of functionality culled from pmlogextract when I > was unhappy about the semantic soundness of the output archive). > > We need trend analysis tools, and I would encourage collaboration in > this area. If someone believes pmderive would help, by all means make > it available. Okay, I will explain my idea again - this time to a public forum: Let's start with one of the cases I need to solve. Imagine you got a freemail web server. One of the issues you face is the disk space. You want to have it displayed for, say, two months back to be able to estimate when you will need to extend your disk space, so you can prepare for the operation. First way is to use pmlogextract, process the values with a script and feed to gnuplot. But there's another way: This all _could_ be done with PCPMON with two drawbacks: - Archive for one day has about 10MB (for all metrics). PCPMON cannot "skip" from one PCP archive to another. - Even if it could, you would have other problems. If you want to show CPU usage trend, you want to show the HIGHEST load encountered, not some random sample. So you need to be able to take more samples and apply some grouping function on them. I could add those two features to PCPMON. But is seems to me that it is better to take a more general approach - write tool which would create another PCP archive. This you can display not only with PCPMON, but you can use other tools to process it. I agree that you can "sum apples and pears" with the proposed tool. As you can do that with PCPMON - the philosophy behind whis approach is that the user must know what he is doing and what he is seeing. He must know it anyway - consider aliasing problems. This is what I need. How do you define "thend analysis tool"? Do you need other features? Michal From owner-pcp@oss.sgi.com Tue Dec 19 15:39:36 2000 Received: by oss.sgi.com id ; Tue, 19 Dec 2000 15:39:26 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:17962 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Tue, 19 Dec 2000 15:39:08 -0800 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 PAA06757 for ; Tue, 19 Dec 2000 15:39:07 -0800 (PST) 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 KAA20584; Wed, 20 Dec 2000 10:37:48 +1100 Date: Wed, 20 Dec 2000 10:37:47 +1100 (EST) From: Mark Goodwin X-Sender: markgw@sandpit.melbourne.sgi.com To: Jonathan Sparks cc: pcp@oss.sgi.com Subject: Re: PCP + LSF In-Reply-To: <3A3FA8B3.768CF7A7@sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing [cc: pcp@oss.sgi.com since this is of interest to all PCP users] On Tue, 19 Dec 2000, Jonathan Sparks wrote: > > I've probably asked you this before, but how easy is it to create a > display to include data from an external command ? And is there some > documentation to read on how to do that ? > > Basically I need to create a display to monitor LSF and the jobs being > processed, which means pulling the information from the LSF commands. > You can use the "trace" PCP agent to do this. The documentation is in the following man pages: pmdatrace(1) - the PCP agent pmdatrace(3) - the libpcp_trace API (for instrumenting C or fortran) pmtrace(1) - the pmtrace command (for instrumenting shell scripts) The basic steps you will need to follow are: 1. read all the documentation ;-) (yeah right) 2. cd /var/pcp/pmdas/trace; ./Install 3. use either the pmtrace command in your scripts, or insert pmdatrace(3) calls in your code, or both. 4. monitor metrics below "trace" in the name space with any pcp tool (pmchart is usually the most useful for this) Here's an example (step 2 has already been done) : [root@sherman trace]# pmtrace -v 1000 "hello world" pmtrace: observation complete (tag="hello world", value=1000.000000) [root@sherman trace]# pminfo -f trace.observe.value trace.observe.value inst [1 or "hello world"] value 1000 [root@sherman trace]# pmtrace -v 50 "hello world" pmtrace: observation complete (tag="hello world", value=50.000000) [root@sherman trace]# pminfo -f trace.observe.value trace.observe.value inst [1 or "hello world"] value 50 You can have as many tags as you like. "hello world" is just a random one that I chose for this example. Hope this helps, -- Mark From owner-pcp@oss.sgi.com Sat Dec 30 04:28:47 2000 Received: by oss.sgi.com id ; Sat, 30 Dec 2000 04:28:37 -0800 Received: from eik.ii.uib.no ([129.177.16.3]:15793 "EHLO ii.uib.no") by oss.sgi.com with ESMTP id ; Sat, 30 Dec 2000 04:28:24 -0800 Received: from granbar-192.ii.uib.no (granbar.ii.uib.no) [129.177.192.137] by ii.uib.no with esmtp (Exim 3.03) id 14CL7e-0003gl-00 for ; Sat, 30 Dec 2000 13:28:30 +0100 Received: (from jfm@localhost) by granbar.ii.uib.no (8.9.3+Sun/8.9.3) id NAA07546 for pcp@oss.sgi.com; Sat, 30 Dec 2000 13:28:21 +0100 (MET) Date: Sat, 30 Dec 2000 13:28:21 +0100 From: Jan-Frode Myklebust To: pcp@oss.sgi.com Subject: Re: PCP + LSF Message-ID: <20001230132821.A7485@ii.uib.no> Mail-Followup-To: pcp@oss.sgi.com References: <3A3FA8B3.768CF7A7@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from markgw@sgi.com on Wed, Dec 20, 2000 at 10:37:47AM +1100 Sender: owner-pcp@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pcp-outgoing On Wed, Dec 20, 2000 at 10:37:47AM +1100, Mark Goodwin wrote: > > You can use the "trace" PCP agent to do this. The documentation > is in the following man pages: > pmdatrace(1) - the PCP agent > pmdatrace(3) - the libpcp_trace API (for instrumenting C or fortran) > pmtrace(1) - the pmtrace command (for instrumenting shell scripts) > Wow, this is great. I've been parsing the output of 'bjobs', feeding it into 'gnuplot' to create plots of the number of jobslots in use/pending/suspended in the various batch queus in LSF. Doing the same thing with PCP and PBS was done in minutes. I just created a small (attached) shellscript to feed PMCD with the data, and opened up 'pmchart'. I just have one small question.. How can I delete a value ("Hello World") exported to the trace.observe metrics? -jf -- Jan-Frode Myklebust, Para//ab, High Performance Computing Center