[[WEBチューニング]] #!/bin/sh DATE=`date +%m%d%H%M` BASE="/var/log" TIME="4320" SLEEP="20" CNT="0" cd $BASE until [ $CNT -eq $TIME ] do uptime >> $BASE/ld_$DATE.log sleep $SLEEP CNT=`expr $CNT + 1` done exit