public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* logging server C-state time?
@ 2008-11-03 19:47 Chris Snook
  2008-11-03 19:59 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Snook @ 2008-11-03 19:47 UTC (permalink / raw)
  To: Linux Kernel, arjan

Hey folks --

I'm interested in logging the amount of time that server CPUs spend in various 
C-states over the course of a complicated job, ideally in a manner I could sync 
up with output from sysstat tools.  So far all the tools I've seen for power 
monitoring seem to be targeted to laptops and interactive use, but I'm looking 
for something that's scriptable and doesn't need ACPI battery information, even 
if that means relying on indirect measurements of power use like C-states.  Any 
suggestions?

-- Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: logging server C-state time?
  2008-11-03 19:47 logging server C-state time? Chris Snook
@ 2008-11-03 19:59 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2008-11-03 19:59 UTC (permalink / raw)
  To: Chris Snook; +Cc: Linux Kernel

On Mon, 03 Nov 2008 14:47:52 -0500
Chris Snook <csnook@redhat.com> wrote:

> Hey folks --
> 
> I'm interested in logging the amount of time that server CPUs spend
> in various C-states over the course of a complicated job, ideally in
> a manner I could sync up with output from sysstat tools.  So far all
> the tools I've seen for power monitoring seem to be targeted to
> laptops and interactive use, but I'm looking for something that's
> scriptable and doesn't need ACPI battery information, even if that
> means relying on indirect measurements of power use like C-states.
> Any suggestions?

powertop gives you the C state information accumulated over time...
just look at the code how it does that ;)


-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-03 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 19:47 logging server C-state time? Chris Snook
2008-11-03 19:59 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox