pcp
[Top] [All Lists]

hinv.*

To: pcp@xxxxxxxxxxx
Subject: hinv.*
From: Michele Baldessari <michele@xxxxxxxxxx>
Date: Wed, 22 Oct 2014 00:23:55 +0200
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received; s=2010; t=1413930236; bh=JVyO/JNrNacy7O9Nlxd BqrAHMJiZO9/0AH15Yh+tB+0=; b=f12O/BO7MBpz5xiNaX3a0BE2KecwHKmptkU GfB5AwDD+rAXyLQRYc6JiJC103arU0WwiRyxD4wagntbRnraDWJqdB65m3QqXH9e NZdj95lYGgRLgazuKnT67YMomHd8j5i9GqG76fLEk++iVrlJTi2JlTIG+CvbPcIw w71dp8Nk=
User-agent: Mutt/1.5.21 (2012-12-30)
Hi all,

while for most hinv.* metrics I do not expect any changes over time
(hinv.pagesize, hinv.ncpu, ...), I was a bit surprised that also
hinv.cpu.clock seems to not change over time (F21 updated today, here).
For example:
$ pmval -h localhost -s 5 hinv.cpu.clock
metric:    hinv.cpu.clock
host:      marquez.int.rhx
semantics: discrete instantaneous value
units:     count
samples:   5
interval:  1.00 sec

         cpu0          cpu1          cpu2          cpu3          cpu4          
cpu5          cpu6          cpu7 
    3060.         3060.         1862.         3060.         2926.         3060. 
        1596.         2926.     
    3060.         3060.         1862.         3060.         2926.         3060. 
        1596.         2926.     
    3060.         3060.         1862.         3060.         2926.         3060. 
        1596.         2926.     
    3060.         3060.         1862.         3060.         2926.         3060. 
        1596.         2926.     
    3060.         3060.         1862.         3060.         2926.         3060. 
        1596.         2926.   

Since the description implies it should be read from /proc:
$ pminfo -t -h localhost hinv.cpu.clock
hinv.cpu.clock [clock rate in Mhz for each CPU as reported by /proc/cpuinfo]

A quick 'egrep "^processor|cpu\ MHz" /proc/cpuinfo' does show that they change 
quite often and all the time.

Is this an issue in the pmda or in the description or have I missed
something else?

Thanks and regards,
Michele
-- 
Michele Baldessari            <michele@xxxxxxxxxx>
C2A5 9DA3 9961 4FFB E01B  D0BC DDD4 DCCB 7515 5C6D

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