pcp
[Top] [All Lists]

Invalid proc.memory.vmhwn metric

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: Invalid proc.memory.vmhwn metric
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Sun, 15 May 2016 20:39:59 +0300
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
Hi,

>From http://man7.org/linux/man-pages/man5/proc.5.html:

  * VmHWM: Peak resident set size ("high water mark").

There's no proc.memory.vmhwm available as one would expect but
proc.memory.vmhwn - and it turns out that the same typo is present
everywhere in PCP sources so the value will always be zero.

How should this be corrected? I could have sent a simple patch changing
hwn->hwm everywhere but are there any backward compatibility
restrictions that should be taken into account?

Thanks,

-- 
Marko Myllynen

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