[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Using collectd: CPUFreq in dom0
On Tue, Dec 25, 2012 at 07:55:37PM +0100, Stefan Kuhne wrote: > 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. Right. Did you look in the source code from 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 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |