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.
views:
36answers:
1
Q: