hi all,
i know that if i use the system or exec functions i can execute a command quite easily. the problem for me is that i need the output produced by the command I execute (i.e. vmstat, iostat, prtdiag, etc.). does anyone know of a trick to get the output from a system call?
thanks much.
Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
i know that if i use the system or exec functions i can execute a command quite easily. the problem for me is that i need the output produced by the command I execute (i.e. vmstat, iostat, prtdiag, etc.). does anyone know of a trick to get the output from a system call?
thanks much.
Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~