2010-03-17 スクリプトが使用する計算機資源を制限する UNIX/Linux #!/bin/sh #ulimit.sh #CPU時間を制限する ulimit -t 1 i=1 while true; do i=`expr $i \* -5 + 20` done