From: "Stefan Kuhne" <stefan.kuhne@gmx.net>
To: xen-devel@lists.xen.org
Subject: Using collectd: CPUFreq in dom0
Date: Tue, 25 Dec 2012 19:55:37 +0100 [thread overview]
Message-ID: <50D9F6A9.8030008@access.denied> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]
Hello,
I've tried to get the CPUFreq plugin of collectd running in dom0.
But I mentioned that it isn't so easy to get a file in sysfs on the
rigth place.
I know that the value has to come from hypervisor and I've seen the code
in xenpm.
The only value I need is
"/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" which would
create cpufreq.c.
Can anyone help me by giving me some hints?
I've read many websites and papers and coded many things.
I'm glade to get the sysfs file.
With "sysfs_create..." I've many trouble but "kobject_add" works fine.
Regards,
Stefan Kuhne
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 551 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2012-12-25 18:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-25 18:55 Stefan Kuhne [this message]
2013-01-04 21:11 ` Using collectd: CPUFreq in dom0 Konrad Rzeszutek Wilk
2013-01-04 21:29 ` Stefan Kuhne
2013-01-07 6:54 ` Jan Beulich
2013-01-07 15:53 ` Konrad Rzeszutek Wilk
2013-01-07 16:27 ` Sander Eikelenboom
2013-01-07 19:13 ` Konrad Rzeszutek Wilk
2013-01-07 19:20 ` Sander Eikelenboom
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=50D9F6A9.8030008@access.denied \
--to=stefan.kuhne@gmx.net \
--cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).