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
|