06-16-07 06:36 AM
Hi,
How to obtain in a textual file consumption (consommation) CPU and MEMORY of
the Unix processes?
Here my script.
#! bin/ksh
top | grep my_user > toto$(date + %H).log
exit
This script does not function. It gives me empty textual files.
The command "top" used in line of order functions well.
It gives me good results. How to obtain in a textual file or log the result
of the command "top"?
Thank you
Guytou
[ Post a follow-up to this message ]
|