vmtim
vmtim
or
vmtim -o outputfilename
adds time/date before vmstat procs line
-o filename - file on disk rather than print to screen
-c - add CR before every NL
To use :
vmstat 5 | vmtim | tee savefilename
or
vmstat 5 | vmtim -o savefilename
(copyright) 2017 and previous years FingerPost Ltd.