vmstat [deday [count]]
#!/bin/sh DATE=`date +%m%d%H%M` BASE="/var/log" TIME="4320" SLEEP="20" cd $RHOME vmstat $SLEEP $TIME >> $BASE/vmst_$DATE.log & exit
procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 0 0 100464 4876 6372 46012 0 0 2 2 14 4 0 0 9 0 0 0 100464 4876 6372 46012 0 0 0 0 102 168 0 0 100 2 0 0 100464 4876 6372 46012 0 0 0 0 102 166 0 0 100