Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge b_devel into HEAD (20030626 merge tag) for 0.7.1
[fs/lustre-release.git]
/
lustre
/
tests
/
runvmstat
diff --git
a/lustre/tests/runvmstat
b/lustre/tests/runvmstat
index
3ce6810
..
b04d84c
100755
(executable)
--- a/
lustre/tests/runvmstat
+++ b/
lustre/tests/runvmstat
@@
-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