RE: vmstat output to db

Comments inline:
> 
> >Also, the vmstat header lines repeat, so the 'sed' command will
> >only remove the first instance of them.
> 
> Note that the first 'data' line is _always_ a summary of data since the
> server restart. This should be ignored - else you will get incorrect 
data.
> 

I believe the 'sed 1,3d' was accomplishing that.  :)

> In any case, use of 'vmstat' begs this question: Why not use 'sar'? When
> ...

agreed.

Jared




----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: