Update power.inc.sh

This commit is contained in:
2024-02-11 12:00:18 -06:00
parent 95f25389ff
commit 5715c3be6f

View File

@@ -466,6 +466,10 @@ CHECKPOWER(){
fi
done
DIVIDER . lightCyan ${PRI_WIDTH}
[ "${avgdays}" != "" ] && echo -e " --${idsCL[LightYellow]}${avgdays_disp}-Averages---"
echo -en "${idsCL[LightCyan]} Amps Watts"
[ "${avgdays}" != "" ] && echo -e " Amps Watts" || echo
DIVIDER . lightCyan ${PRI_WIDTH}
if [ "${STYPE}" = "" ] || [ "${STYPE}" = "mainsite" ]; then
AD=${SENSOR_TOTAL_AMPS_MAINSITE}; c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -en "${idsCL[LightCyan]}Mainsite ESXi Total ${idsCL[Default]}: ${idsCL[LightGreen]}${AD}'amps${spc}`IDS_NUMBER_FORMAT ${SENSOR_TOTAL_WATTS_MAINSITE} 0`'watts "