Whamcloud - gitweb
merge b_devel into HEAD (20030626 merge tag) for 0.7.1
[fs/lustre-release.git] / lustre / tests / runvmstat
index 3ce6810..b04d84c 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
 vmstat 1 | while read LINE ; do
-       echo "`date +s`: $LINE"
-       [ "$1" ] && echo "`date +s`: $LINE" >> $1
+       LINE="`date +%s`: $LINE"
+       echo $LINE
+       [ "$1" ] && echo $LINE >> $1
 done