for time
vmstat -t
-t
Prints the time-stamp next to each line of output of vmstat. The
time-stamp is displayed in the HH:MM:SS format. Note: Time stamp
will not be printed if -f, -s, or -i flags are specified.
My example for daily 8 hour with date in filename :
vmstat -t 1 28800 >> /home/db2inst1/nncron/vmstats/nnVmstat8h_`date +%Y
%m%d"-"%H%M`.log
or
man vmstat
Bye
> When running VMSTAT 3 5, in provides a snapshot every 3 seconds for 5
> intervals.
[quoted text clipped - 5 lines]
>
> jb