pcp
[Top] [All Lists]

Re: PCP - pmlogger command

To: Sai p Seshasayee <sseshas@xxxxxxxxxx>
Subject: Re: PCP - pmlogger command
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Fri, 29 Aug 2008 09:32:08 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <OF430E198A.EB8F5CF1-ON852574B3.004A27F4-852574B3.004B4511@us.ibm.com>
References: <OF430E198A.EB8F5CF1-ON852574B3.004A27F4-852574B3.004B4511@us.ibm.com>
Sender: pcp-bounce@xxxxxxxxxxx
Hi Sai,

(please keep CCing the list - theres lots of interested people there
who can also help, and we all learn from each other that way).

On Thu, 2008-08-28 at 09:42 -0400, Sai p Seshasayee wrote:
> 
> Hi Nathan, 
> 
> Thanks again for your inputs. I was reading the man pages for the
> "pmlogger" command and it looks like an exciting option for us to
> store archives. We are using Red Had Enterprise Linux 5 and when I
> used the "pmlogger" command , the command did not work and I got: 
> 
> [root@xcat20mn ~]# pmlogger 
> -bash: pmlogger: command not found 
> 
> Does pmlogger command work on Linux or is it deprecated like the
> "pmkstat" command or is it an Irix specific command? (I also read the
> PCPIntro man page and there is no reference of pmlogger being
> deprecated). Please let me know if there is an alternate command.   
> 

It isn't deprecated it, no.  pmkstat may be the only deprecated tool
in the current PCP release, I think.  If you use the updated PCP rpm
that I make available (http://oss.sgi.com/~nathans/pcp/rpm/) it is
in fact removed - these rpms are development snapshots of pending code
for the next "official" SGI PCP release.  They include alot of fixes
and alot of new features - and they are quite stable (I use them on
all of our production machines here).

On Redhat, pmlogger lives in /usr/share/pcp/bin, rpm can find it via:

$ rpm -ql pcp | grep pmlogger

It lives in this slightly odd place ($PCP_BINADM_DIR from /etc/pcp.conf)
because it is not often invoked directly, but rather is usually run via
the PCP start scripts (/etc/init.d/pcp) which are run at system bootup.
See the pmlogger_check(1) man page for details on setting pmlogger up as
a daemon.

cheers.

--
Nathan


<Prev in Thread] Current Thread [Next in Thread>