diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 06678519..9369983e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -145,6 +145,7 @@ STATUS() { } STATUS-CHECK(){ + start=`date +%s` if [ "${STATUS_CHECK_EMAIL}" != "" ]; then if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD='ssh root@10.5.10.51' else NCMD=''; fi @@ -227,6 +228,9 @@ STATUS-CHECK(){ nid=`expr $nid + 1` done fi + end=`date +%s` + runtime=$((end-start)) + echo "runtime: ${runtime}" } NEWCERT(){