![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multithreading on OSX | memoid | High Level Programming | 3 | 06-26-2008 07:25 PM |
| Information about kernel modules | slash_blog | HP-UX | 0 | 05-25-2007 04:14 AM |
| kernel, memory and patches information | Teh Tiack Ein | HP-UX | 0 | 08-18-2005 08:48 AM |
| load dynamic and shared library in kernel | mtaghiloo | Linux | 0 | 08-01-2005 10:34 AM |
| Multithreading in Pro*C | shaik786 | High Level Programming | 16 | 11-16-2001 09:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Dynamic information of Kernel using multithreading
Hi , I am new to this forum. Can someone help me on this question, I have no clue how to proceed . Its urgent..
A continuous program should print out the following dynamic information (average of an interval). Internally, there should be two parameters with your program, one is the probing interval and the other one is the printing (display) interval. e.g., the probing interval could be 1 second, and the printing interval could be 30 seconds, thus your program can calculate the required metrics in the last 30 collected samples.(In other words-In the dynamic information part, one thread uses the probing interval to read /proc file, the second thread displays the results with a display interval.) The Program should be written in C • The percentage of time the processor(s) spending in user mode, system mode, and idle. • The percentage of available memory. • The rate of process creations in the system. • The rate of context switches in the kernel. • The rate of disk read/write in the system. Thanks, |
![]() |
| Bookmarks |
| Tags |
| operating systems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|