Whamcloud - gitweb
LU-14707 tests: Bashify scripts for Ubuntu et. al.
[fs/lustre-release.git] / lustre / scripts / system-profile.sh
index 23d0de7..72562c3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # System Profiling Script
 
@@ -54,7 +54,7 @@ vmstat_start() {
 
 proc_dump_start() {
        echo "$(date +%T): proc dump started...." >> $OUTPUTDIR/$HOSTNAME/summary
-       sh -c '
+       bash -c '
                CTRFILE=/$OUTPUTDIR/$HOSTNAME/tmp/running.$$.pid;
                echo $$ > ${CTRFILE};
                while [ -f $CTRFILE ]; do