Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I'm writting the code for modifying the kernel. I'm using kernel 2.4.18-14 version and red hat linux 8.0. I want to count the number of how many requests for system routine has been made since system was booted. I will write user program and call that routine which gives me the number of requests made so far. If there is no routine so far then how can I code in C or C++ to get this information?
Is anyone know which system routine in linux 8.0 will give me this inforamtion?
Thanks.

It is very probable that the desired data is already stored in a variable and only requires extraction. Just keep that in mind, as the source is, of course, always available.
The Linux kernel has lots of documentation. Search that, search the kernel mailing list archive, Usenet, and search Google for good measure. Then you might be able to ask this in Usenet or on the mailing list. Before you bother the mailing list, you might consider looking through the Orielly book, "Understanding the Linux kernel: SE".
I think Usenet, even a distro kernel-oriented mailing list will have someone who can point you to the right place. There are many mailing lists that I do not know about, probably oriented for many distros.
Frankly, if you do nothing else, you should check out the book.
http://www.linuxlookup.com/html/main/mailinglists.html
http://www.oreilly.com/catalog/linuxkernel2/

![]() |
to create an application
|
graphics help
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |