ºá¤Èȳ++ÆóΧÇØÈ¿

#!/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

¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2012-06-08 (¶â) 00:25:06 (3061d)