HOWTO‎ > ‎

Server room energy curve

#!/bin/tcsh

@ TIM = ` date +%s `
set FIL=$1


START:

set TEMP = `curl svr:61033|cut -c3-7`
@ TIM2 = ` date +%s ` - $TIM
echo "$TIM2,$TEMP">>$FIL
sleep 2

goto START