Whamcloud - gitweb
7fd61ee112aa051c03dea3c2c8fc55db75724b04
[fs/lustre-release.git] / lustre / tests / runobdstat
1 #!/bin/sh
2 PATH=`dirname $0`/../utils:$PATH
3
4 llobdstat $1 1 | while read LINE; do
5         echo "`date +s`: $LINE"
6         [ "$2" ] && echo "`date +s`: $LINE" >> $2
7 done