![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to compile from source code? | wrapster | UNIX and Linux Applications | 1 | 05-27-2008 01:03 PM |
| source code for linux | naren_chella | Linux | 2 | 03-06-2006 09:56 PM |
| source code ASCII to HEx | Thippeswamy | Linux | 1 | 01-30-2006 10:11 PM |
| source code of dbx.c | Sacchi | High Level Programming | 0 | 04-07-2004 06:26 AM |
| SCCS (Source Code) | Mary | UNIX for Dummies Questions & Answers | 3 | 03-18-2002 12:26 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
vmstat source code
i am looking for vmstat source code or a listing of the kernel symbols that vmstat uses in the knlist subroutine. Interested in getting vmstat stats from a c program using knlist subroutine, but i dont know what the names of the kernel symbols are that i need to access.
thanks in advance: |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
For what kernel? Open source stuff is easy to find by definition:
http://www.freebsd.org/cgi/cvsweb.cg...sr.bin/vmstat/ http://www.openbsd.org/cgi-bin/cvswe...sr.bin/vmstat/ http://lxr.linux.no/source/ Any particular kernel / Unix variant / version? |
|
#3
|
|||
|
|||
|
aix 4.3.3.0
the knlist function seems simple enough to use, but i dont know the name of the kernel symbol for idle time. i've seen examples of the knlist subroutine used to get "ncpus" which i assume is number of cpus on the machine. a list of kernel symbols for aix would be helpful. thanx again. |
|||
| Google The UNIX and Linux Forums |