X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre-iokit%2Fstats-collect%2Fconfig.sh;h=b346dcd6801dca5e21bbb897009b64ea76dfa07f;hb=bd335a344e3fb33cbab8c6ebae16441f62757211;hp=ddbd24510c4bd04803f716e41ba1e1f4e57938d7;hpb=0bdd12e4a22272b30f541fd0c06861b2c97a972e;p=fs%2Flustre-release.git diff --git a/lustre-iokit/stats-collect/config.sh b/lustre-iokit/stats-collect/config.sh index ddbd245..b346dcd 100755 --- a/lustre-iokit/stats-collect/config.sh +++ b/lustre-iokit/stats-collect/config.sh @@ -1,7 +1,29 @@ -#TARGETS: the Node set we will do the script -PERCH_BIG_FS_MDS_LIST="nid00135" -PERCH_BIG_FS_OST_LIST="nid00128 nid00131 nid00136 nid00139 nid00008 nid00011 nid00012" -export TARGETS="${PERCH_BIG_FS_MDS_LIST} ${PERCH_BIG_FS_OST_LIST}" +# +# system configuration. Set these variables to point to the locations +# of various system utilities. +# +AWK=/usr/bin/awk +XARGS=/usr/bin/xargs + +# +# control debug output. set PRINT_INFO_MSGS=1 to see additional messages +# set PRINT_DEBUG_MSGS=1 to see debug messages +# +PRINT_INFO_MSGS=0 +PRINT_DEBUG_MSGS=0 + +# +# TARGETS: set this variable to the list of nodes you want to +# gather stats from +# +# Example: +# +PERCH_MDS_LIST="nid00135" +PERCH_OST_LIST="nid00128 nid00131 nid00136 nid00139 nid00008 nid00011 nid00012" + +MDS_LIST=${PERCH_MDS_LIST} +OST_LIST=${PERCH_OST_LIST} +export TARGETS="${MDS_LIST} ${OST_LIST}" #script var #case $TARGET in @@ -23,12 +45,6 @@ MBALLOC_INTERVAL=${MBALLOC_INTERVAL:-0} IO_INTERVAL=${IO_INTERVAL:-1} JBD_INTERVAL=${JBD_INTERVAL:-1} -#I/O analyse log var -ANALYSE_INTERVAL=${ANALYSE_INTERVAL:-1} -BRW_ANALYSE=${BRW_ANALYSE:-1} -VMSTATE_ANALYSE=${VMSTATE_ANALYSE:-1} - - #some environment var TMP=${TMP:-"/tmp"} SCRIPT=${SCRIPT:-"lstats.sh"}