vmstat 1 | perl -MPOSIX -pe 'BEGIN{$|=1} print strftime q{%Y/%m/%d %H:%M:%S }, localtime'
perlがないなら。
vmstat 1 | while read line; do echo `date +%H:%M:%S` $line; done
vmstat 1 | perl -MPOSIX -pe 'BEGIN{$|=1} print strftime q{%Y/%m/%d %H:%M:%S }, localtime'
perlがないなら。
vmstat 1 | while read line; do echo `date +%H:%M:%S` $line; done