pcp
[Top] [All Lists]

problem with python version of pmclient

To: "'PCP'" <pcp@xxxxxxxxxxx>
Subject: problem with python version of pmclient
From: "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx>
Date: Sun, 31 Jan 2016 16:10:30 +1100
Delivered-to: pcp@xxxxxxxxxxx
Thread-index: AdFb5T52fNO1SnuJQzyRo9F/hjd9Wg==
On an MP machine ...

kenj@bozo-vm:~/src/pcp/qa$ python
/usr/share/pcp/demos/pmclient/pmclient_fg.python
Host: bozo-vm, 2 cpu(s), 2016-01-31 16:05:22.292435
  CPU  Busy    Busy  Free Mem   Disk     Load Average
 Util   CPU    Util  (Mbytes)   IOPS    1 Min  15 Min
 0.00     0    0.00  3215.109      5     0.01    0.09

But on an SP machine the output is botched ...

kenj@vm01:~$ python /usr/share/pcp/demos/pmclient/pmclient_fg.python
Host: vm01, 1 cpu(s), 2016-01-31 16:05:53.336159
  CPU 0.00     9.160     10     0.43    0.57
 0.00     9.168      0     0.40    0.57
 0.00     9.168      0     0.37    0.57

Regular old pmclient produces the correct output in both cases.

This is causing my qa/056 failures (and I suspect qa/073 but I've not
triaged that one).

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