All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@linux.intel.com>
To: Chris Snook <csnook@redhat.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: logging server C-state time?
Date: Mon, 3 Nov 2008 11:59:52 -0800	[thread overview]
Message-ID: <20081103115952.69276f61@linux.intel.com> (raw)
In-Reply-To: <490F5568.2090003@redhat.com>

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

      reply	other threads:[~2008-11-03 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 19:47 logging server C-state time? Chris Snook
2008-11-03 19:59 ` Arjan van de Ven [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081103115952.69276f61@linux.intel.com \
    --to=arjan@linux.intel.com \
    --cc=csnook@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.