pcp
[Top] [All Lists]

trouble querying containers

To: pcp@xxxxxxxxxxx
Subject: trouble querying containers
From: Paul V Novarese <paul.novarese@xxxxxxxxxx>
Date: Fri, 3 Jul 2015 15:48:11 -0500
Delivered-to: pcp@xxxxxxxxxxx
hi container fans,

I am trying to follow along with http://www.pcp.io/docs/lab.containers.html

I built 3.10.6-1 from git after having trouble with 3.10.4-1 (in the latest fedora 22 repository)

I am pretty sure I have gotten this working in the past but I don't seem to remember what I've done. The pmdaroot daemon is running but pminfo, pmchart, etc all give me a container not found error.

[root@gyarados ~]# docker ps
CONTAINER IDÂÂÂÂÂÂÂ IMAGEÂÂÂÂÂÂÂÂÂÂÂÂÂÂ COMMANDÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ CREATEDÂÂÂÂÂÂÂÂÂÂÂÂ STATUSÂÂÂÂÂÂÂÂÂÂÂÂÂ PORTSÂÂÂÂÂÂÂÂÂÂÂÂÂÂ NAMES
334cfa0bba29ÂÂÂÂÂÂÂ ubuntu:latestÂÂÂÂÂÂ "/bin/sh -c 'while tÂÂ 22 minutes agoÂÂÂÂÂ Up 22 minutesÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ lonely_babbageÂÂÂÂÂ

[root@gyarados ~]# pcp
Performance Co-Pilot configuration on gyarados:

Âplatform: Linux gyarados 4.0.5-300.fc22.x86_64 #1 SMP Mon Jun 8 16:15:26 UTC 2015 x86_64
Âhardware: 4 cpus, 3 disks, 1 node, 12011MB RAM
Âtimezone: CDT+5
Âservices: pmcd
ÂÂÂÂ pmcd: Version 3.10.6-1, 7 agents
ÂÂÂÂ pmda: root pmcd proc xfs linux mmv jbd2

[root@gyarados ~]# pminfo -t --fetch --container lonely_babbage cgroup.memory.stat.cache proc.psinfo.rss pmcd.hostname

cgroup.memory.stat.cache [Number of bytes of page cache memory]
Error: Container not found

proc.psinfo.rss [resident set size (i.e. physical memory) of the process]
Error: Container not found

pmcd.hostname [local hostname]
ÂÂÂ value "gyarados"


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