Changes committed to git://oss.sgi.com/pcp/pcp.git dev
CHANGELOG | 3 +++
VERSION.pcp | 2 +-
build/rpm/fedora.spec | 4 +++-
debian/changelog | 6 ++++++
src/pmdas/linux_proc/help | 2 ++
src/pmdas/linux_proc/pmda.c | 25 +++++++++++++++++++++++++
src/pmdas/linux_proc/pmns | 2 ++
src/pmdas/linux_proc/proc_pid.c | 7 +++++++
src/pmdas/linux_proc/proc_pid.h | 4 ++++
9 files changed, 53 insertions(+), 2 deletions(-)
commit 717347fb5c6aead1ebd7c5ffb5a737a08e669037
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu May 16 09:50:49 2013 +1000
Bump version details for new development version
commit 25ac9ab8faa1c20d39df62efcd1ae44b8499754c
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Thu May 16 09:48:35 2013 +1000
Add VmSwap and Threads to linux_proc as proc.{memory.vmswap,psinfo.threads}
Code in pmdas/linux_proc/proc_pid.c.c looks at /proc/NN/status in the order:
VmSize, VmLck, VmRss, VmData, VmStk, VmExe, VmLib
but on more recent kernels the order is:
VmSize, VmLck, VmPin, VmHWM, VmRss, VmData, VmStk, VmExe, VmLib
so the patch also allows for skipping those if required.
Testing via dbpmda:
dbpmda -n root | awk '/^ *inst/ {if ($2=="[32151") print $0;next} />
desc/ {printf "%s: ",$3} /PMID:/ {print $0} /> fetch/ {printf "fetch
%s:",$3}'
proc.memory.vmsize: PMID: 3.24.20
proc.memory.vmlock: PMID: 3.24.21
proc.memory.vmrss: PMID: 3.24.22
proc.memory.vmdata: PMID: 3.24.23
proc.memory.vmstack: PMID: 3.24.24
proc.memory.vmexe: PMID: 3.24.25
proc.memory.vmlib: PMID: 3.24.26
proc.memory.vmswap: PMID: 3.24.27
proc.psinfo.threads: PMID: 3.24.28
fetch proc.memory.vmlib: inst [32151 or ???] value 70620
9.8959698e-41 0x113dc
fetch proc.memory.vmswap: inst [32151 or ???] value 0 0 0x0
fetch proc.psinfo.threads: inst [32151 or ???] value 332
4.6523109e-43 0x14c
Double checking /proc/32151/status:
egrep 'VmLib|VmSwap|Threads' /proc/32151/status
VmLib: 70620 kB
VmSwap: 0 kB
Threads: 332
commit 954f41c135aef853d9f97f3a26d22b306b03992e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu May 16 09:41:39 2013 +1000
Remove explicit autoconf invocation from fedora spec
|