On Wed, 28 Mar 2012 09:11:52 +1100, Chandana De Silva wrote:
chandana> But not when you query one instance.
chandana> [chandana@tardis tmp]$ pminfo -f -a 20120327
kernel.percpu.cpu.idle[0]
chandana> Error: kernel.percpu.cpu.idle[0]: Unknown metric name
chandana> Why doesn't this one work ? I want to be able to list a
chandana> single instance. I am sure that I have doe this before
chandana> .. It is the same on all the tools. What am I doing wrong ?
pminfo and most other tools aint no too smart to know instances,
pmval -i cpu0 -s 1 -r kernel.percpu.cpu.idle
is one way of fetching single instance of a metric.
The other option is pmprobe and sed/perl/awk.
max
|