Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f414cccfb2794bc76644201ec1b9f65b94f1e748
[fs/lustre-release.git]
/
lustre
/
tests
/
runvmstat
1
#!/bin/sh
2
vmstat 1 | while read LINE ; do
3
LINE="`date +%s`: $LINE"
4
echo "$LINE"
5
[ "$1" ] && echo "$LINE" >> $1
6
done