How to obtain in a textual file consumption (consommation) CPU and MEMORY of the Unix
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > How to obtain in a textual file consumption (consommation) CPU and MEMORY of the Unix




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to obtain in a textual file consumption (consommation) CPU and MEMORY of the Unix   
Guytou


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:39 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register