| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | [Bug 1351787] pminfo --container=CODE proc.* metrics missing |
| From: | bugzilla@xxxxxxxxxx |
| Date: | Fri, 01 Jul 2016 15:25:33 +0000 |
| Auto-submitted: | auto-generated |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <bug-1351787-355098@xxxxxxxxxxxxxxxxxxx> |
| References: | <bug-1351787-355098@xxxxxxxxxxxxxxxxxxx> |
https://bugzilla.redhat.com/show_bug.cgi?id=1351787 --- Comment #1 from Frank Ch. Eigler <fche@xxxxxxxxxx> --- A more portable way of looking up cgroups would be: - get the pid# from pmdaroot (and cache it!) - open /proc/$pid/cgroup - find the line corresponding to the cgroup class of interest for this pmda (pids): e.g.: 10:pids:/system.slice/docker-HEXCODE.scope - construct path = /sys/fs/cgroup/pids/system.slice/docker-HEXCODE.scope - open $path/cgroup.procs (or /tasks) -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=mQzdtEpL6I&a=cc_unsubscribe |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | PCP Libvirt PMDA, Marko Myllynen |
|---|---|
| Next by Date: | Re: [pcp] pcp2influxdb - a clone of pcp2graphite, Alec Ten Harmsel |
| Previous by Thread: | PCP Libvirt PMDA, Marko Myllynen |
| Next by Thread: | Re: [pcp] pcp2influxdb - a clone of pcp2graphite, Alec Ten Harmsel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |