tags:

views:

36

answers:

1

i need to display the output of commands like
kstat -p -m cpu_stat -s bread
kstat -p -m cpu_stat -s pgpgout
etc on the terminal when a c program is executed. This must be done without using system(" ") command. Something using the kstat_open,kstat_read system calls.

A: 

search ur brain u will get the answer

ajai