X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre-iokit%2Fstats-collect%2Fconfig.sh;h=b346dcd6801dca5e21bbb897009b64ea76dfa07f;hp=496bc04f37a6b6a745a373655d238bfd3635c69b;hb=51c037f2d7d7c7b713ab21617eb983f231510a33;hpb=d355ae0c43b1bf8b04672da7c7bbe2acd7d07af0 diff --git a/lustre-iokit/stats-collect/config.sh b/lustre-iokit/stats-collect/config.sh index 496bc04..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