Hi,Is there any other way to do this? If I need to write a kernel module that needs to get cpu utilizationshould I still use proc/stat ? Is there a kernel function that can be used in a module ?ThanksVaibhav Jain
You can also look at hardware performance counters, as used by the perf utility.
--
Raghu S Udiyar
Raghu S Udiyar
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies