|
Help me using kernel_stat fields...
hi all
i want to write a kernel module to measure the total cpu usage time using a kernel module.
For this i found that struct kernel_stat defined in linux/kernel.h can be used.
i don't have much knowledge about the feilds that will help me in getting the information.
Also i am not sure of how the structure can be initialised. is there any API to do this?
Does anyone has idea about this...?
PS: i am using linux 2.4.19.
Thanks in advance
Arun
|