SUMMARY: Urgent help needed in Shell scripting!

From: Aju Luke <sun.security_at_gmail.com>
Date: Wed Jul 06 2005 - 09:31:44 EDT
Hi All,

     Thanks  everybody for their help:
I used the following script:
------------------------------------------------------------------
#!/bin/ksh
echo "#--- $(date)"  >> /usr/local/log/stat.log
sar -ur  3600 24  >> /usr/local/log/stat.log
-------------------------------------------------------------
    And put that in the cron to execute it every day 11:59 Pm.

Regards,
Luke

On 7/1/05, Aju Luke <sun.security@gmail.com> wrote:
> Hello everybody,
>
>      I need shell script which can do the following things, i am doing
> this on one of our solaris box.
>
> Required:
>
> 1. to get the average CPU and memory usage per hour.
> 2. the report should be from 7:00am to 7:am next day(24 Hours) everyday.
>
> Can some one help me!!!
>
> Regards,
> Luke
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jul 6 09:32:27 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:49 EST