[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Using collectd: CPUFreq in dom0


  • To: xen-devel@xxxxxxxxxxxxx
  • From: "Stefan Kuhne" <stefan.kuhne@xxxxxxx>
  • Date: Tue, 25 Dec 2012 19:55:37 +0100
  • Delivery-date: Tue, 25 Dec 2012 18:57:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.