Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5eb8f
)
Allow runvmstat to log to a file for perf monitoring.
author
adilger
<adilger>
Thu, 5 Jun 2003 23:31:29 +0000
(23:31 +0000)
committer
adilger
<adilger>
Thu, 5 Jun 2003 23:31:29 +0000
(23:31 +0000)
Add a similar logging obdstat script also.
lustre/tests/runobdstat
[new file with mode: 0644]
patch
|
blob
diff --git a/lustre/tests/runobdstat
b/lustre/tests/runobdstat
new file mode 100644
(file)
index 0000000..
886ce8f
--- /dev/null
+++ b/
lustre/tests/runobdstat
@@ -0,0
+1,7
@@
+#!/bin/sh
+PATH=`dirname $0`/../utils:$PATH
+
+obdstat filter 1 | while read LINE; do
+ echo "`date +s`: $LINE"
+ [ "$1" ] && echo "`date +s`: $LINE" >> $1
+done