codemasterpl
08-10-2009, 08:08 AM
Hello everyone,
i'm trying to figure out how to obtain:
- mhz
- cpu usage
- /proc/cpuinfo details
programatically without parsing /proc/* at all.
Some details might be taken via asm, sysinfo...
i am willing to write a small code for my agent that would print those details by using system calls - rather than parsing the files on the fs.
Any idea ?
i'm trying to figure out how to obtain:
- mhz
- cpu usage
- /proc/cpuinfo details
programatically without parsing /proc/* at all.
Some details might be taken via asm, sysinfo...
i am willing to write a small code for my agent that would print those details by using system calls - rather than parsing the files on the fs.
Any idea ?