pcp
[Top] [All Lists]

Re: [pcp] Hotproc fixes

To: Nathan Scott <nathans@xxxxxxxxxx>, myllynen@xxxxxxxxxx
Subject: Re: [pcp] Hotproc fixes
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu, 23 Apr 2015 13:28:11 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <233739221.5258413.1429764654377.JavaMail.zimbra@xxxxxxxxxx>
References: <5536A934.8040002@xxxxxxxxxxx> <5537A154.2090803@xxxxxxxxxx> <5537A3F3.5060204@xxxxxxxxxxx> <233739221.5258413.1429764654377.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
Nathan,
Hi guys,

----- Original Message -----
[...]
# pmstore hotproc.control.config 'fname == "firefox"'

It should be working though, right?  It shouldn't affect operation, but
I can look into dumping the extra info at file parse time.
I've added qa/982 which does basically the above, but its failing currently
(nprocs == 0).  I think I've got all your fixes though, Martins - could you
take a look if you get a minute?


OK, tracked this down. Only happens on some OSs. I had assumed that all of /proc/<pid>/* should be available and files would only be missing if some badness happened or a pid was in the process of exiting. Turns out that schedstat is not enabled in some kernels by default. Will need a bit of rework to deal with this.

qa/800 should have caught this, so I will rework that as well.

Thanks

Martins

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