From: Bhavesh Shah (shah.bhavesh@gene.com)
Date: Thu May 18 2006 - 20:16:35 EDT
Hi Gurus,
We are having some performance issue on Solaris 9 running sendmail for
which i am planning to capture vmstat and iostat statictics for 3-4 hrs.
The problem is script is running fine it doesn't put timestamp like sar.
Here is what i am doing:
#! /bin/ksh
DATE=`date`
while true
do
echo "$DATE" >> report_vmstat
vmstat 10 | tee report_vmstat
done
But it still doesn't put timestamp. Any idea why its not printing date?
Also if you have a better option then this one to capture data from
vmstat and iostat or any other tool please do share with me.
Regards
shahb
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:55 EDT