Update nodemgmt-scripts.sh
This commit is contained in:
@@ -688,8 +688,8 @@ DOWNLIST(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
c=0; spc=''; spc1=`expr ${cw} - ${#itemname}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
c=0; spc=''; spc1=`expr ${cw} - ${#itemname}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
c=0; spca=''; spc1=`expr ${cw} - ${#itemtype}`; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done
|
c=0; spca=''; spc1=`expr ${cw1} - ${#itemtype}`; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done
|
||||||
c=0; spc2=''; spc1=`expr ${cw} - ${#host}`; until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
|
c=0; spc2=''; spc1=`expr ${cw2} - ${#host}`; until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
|
||||||
time=$(SHOW_TIME ${toterrtime})
|
time=$(SHOW_TIME ${toterrtime})
|
||||||
if [ "${1}" == "report" ]; then
|
if [ "${1}" == "report" ]; then
|
||||||
echo -e "${idsCL[LightRed]}${itemtype}${spca}${itemname}${spc}${host}${spc2}${time}${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}${itemtype}${spca}${itemname}${spc}${host}${spc2}${time}${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user