David Anderson dfd13b720e stripcharts and test_loop.php
svn path=/trunk/boinc/; revision=808
2003-01-13 23:37:56 +00:00

12 lines
313 B
Tcsh
Executable File

#! /bin/csh
set UPTIME = `/usr/bin/uptime | awk '{print $10}' | sed s/,//`
if ($UPTIME == "average:") then
set UPTIME = `/usr/bin/uptime | awk '{print $11}' | sed s/,//`
endif
set CIVDATE = `/bin/date "+%Y:%m:%d:%H:%M"`
set UNIXDATE = `/usr/local/bin/perl -e 'print time()'`
echo $CIVDATE $UNIXDATE $UPTIME