#! /bin/sh
# continuous read HP ILO power usage + sleep interval;
# output is redirected to a log file for later processing;

SLEEP=5s
/bin/pwd

while : ; do
	hponcfg -f /home/rdunlap/scripts/ilo-getpower.xml >> getpower.log
	sleep $SLEEP
done
