pcp
[Top] [All Lists]

Re: [pcp] Some issues of PCP cannot be resolved

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Some issues of PCP cannot be resolved
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Aug 2016 21:48:32 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2016081819102831649613@xxxxxxxxxxxxxx>
References: <2016081819102831649613@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 18/08/16 21:10, guy15@xxxxxxxxxxxxxx wrote:
> Hello there,
>  
> This is Shane Gu.  Thanks for your time first. Here is the issue below:
> Recently I installed the PCP on my Ubuntu 16.04 , when I tried to
> monitor CPU, as I inputed command "sudo pmchart -c CPU -c vCPU " in my
> terminal, then I got a error of " pmchart: Error: shanegu-VirtualBox:
> Connection refused", I don't the reason why , I checked the /etc/hosts
> ,found out 127.0.0.1
> is included in,  I know it is not hard  to solve it  but I don't know
> what to do now, can you help me out of this please?

G'day Shane.

First, is pmcd running?

On my Ubuntu 16.04 system I see ...

kenj@bozo:~/src/pcp$ ps -ef | grep '[p]mcd'
pcp      19638     1  0 Aug17 ?        00:00:01 /usr/lib/pcp/bin/pmcd -T 3

And what's in /etc/pcp/pmcd/pmcd.conf and /var/log/pcp/pmcd/pmcd.log?

And finally, what's the IP addr of shanegu-VirtualBox?

And does pminfo -v -h local: produce any useful output?

For me ...
kenj@bozo:~/src/pcp$ pminfo -v -h local: 2>&1 | grep 'No value' | wc -l
304

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