pcp
[Top] [All Lists]

question about the "root" PMDA

To: PCP <pcp@xxxxxxxxxxx>
Subject: question about the "root" PMDA
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 23 Mar 2016 15:25:41 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Can anyone explain this that I'm seeing on Mac OS X ...

fuji:qa kenj$ ps -axjwww | egrep '[P]PID|pmdasimple|pmcd|pmdaroot'
USER       PID  PPID  PGID   SESS JOBC STAT   TT       TIME COMMAND
pcp      50298     1 50298 5d04888    0 Ss     ??    0:00.02 
/usr/local/libexec/pcp/bin/pmcd -T 3
root     50300 50298 50298 5d04888    0 S      ??    0:00.01 
/var/lib/pcp/pmdas/root/pmdaroot
pcp      50992 50300 50298 5d04888    0 S      ??    0:00.00 
/var/lib/pcp/pmdas/simple/pmdasimple -d 253 -u /tmp/fifo
pcp      50993 50298 50298 5d04888    0 S      ??    0:00.00 
/var/lib/pcp/pmdas/simple/pmdasimple -d 253 -u /tmp/fifo
kenj     51008 61068 51007 5d05728    2 R+   s001    0:00.00 egrep 
[P]PID|pmdasimple|pmcd|pmdaroot

Specifically, ... why are there two pmdasimple processes, one launched by pmcd 
and one launched by pmdaroot?

I've also seen (with an Internet socket), an old zombie pmdasimple process that 
was launched by pmdaroot, so why is pmdaroot not watching its children and 
harvesting them when they exit?

This does not happen on Linux.

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