Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-24-2005, 07:18 AM   #1
Registered: Mar 2005
Posts: 60

Rep: Reputation: 15
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two New LQ Profile Fields jeremy LQ Suggestions & Feedback 8 07-13-2005 12:10 AM
inittab fields env Linux - General 2 03-04-2005 01:36 PM
Supressing Fields w/ AWK Rv5 Programming 3 10-19-2004 12:06 PM
compulsory fields masand LQ Suggestions & Feedback 20 09-07-2004 05:33 PM
Browser fields freez? linux_dejan Linux - Software 1 04-11-2004 11:46 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration