Whamcloud - gitweb
- have graph-rpcs exit if it doesn't find RPCs in the log
authorzab <zab>
Sat, 24 Apr 2004 04:13:30 +0000 (04:13 +0000)
committerzab <zab>
Sat, 24 Apr 2004 04:13:30 +0000 (04:13 +0000)
lustre/scripts/graph-rpcs.sh

index 08a2d24..83b7815 100755 (executable)
@@ -221,6 +221,8 @@ awk -F"[$IFS:]" '
 
 . $awk_vars
 
+[ ! -e $tmpdir/data ] && die "no RPCS found in $log"
+
 to_pl  '#proc getdata
        data:'