チェンジセット 21: trunk/install
- コミット日時:
- 2006/12/14 14:24:00 (18 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/perl/getxml2db.pl
r18 r21 40 40 if ($ARGV[0] eq "long"){ 41 41 $uri="http://cal.syoboi.jp/cal_chk.php"; 42 #$uri="http://syobocal.orz.hm/cal_chk.php"; 42 43 &writelog("getxml2db use long mode."); 43 44 }else{ 44 45 $uri="http://cal.syoboi.jp/cal_chk.xml"; 46 #$uri="http://syobocal.orz.hm/cal_chk.xml"; 45 47 } 46 48 trunk/install/php/foltialib.php
r1 r21 414 414 $freearea = preg_split ("/[\s,]+/", $hdfreearea[0]); 415 415 416 exec ( "ps ax | grep ffmpeg", $encoding);417 exec ( "ps ax | grep faac", $processlock);416 // exec ( "ps ax | grep ffmpeg", $encoding); 417 // exec ( "ps ax | grep faac", $processlock); 418 418 419 419 print " … … 423 423 "; 424 424 425 // print "$freearea[1]<br>$freearea[2]<br>$freearea[3]<br>$freearea[4]<br>$hdfreearea[0]<br>$encoding[0]<br>$processlock[0]</p>\n"; 426 print "$encoding[0]<br>$processlock[0]</p>\n"; 427 428 /* 429 <div style="width:100%;border:1px solid black;text-align:left;"><span style="float:right;">170GB</span> 430 <div style="width:86%;border:1px solid black;background:white;">1.1TB/1.3TB(87%)</div> 431 </div> 432 */ 425 //exec('ps ax | grep ffmpeg |grep MP4 ' ,$ffmpegprocesses); 426 $ffmpegprocesses = `ps ax | grep ffmpeg | grep -v grep | wc -l `; 427 428 $uptime = exec('uptime'); 429 430 print "<div style=\"text-align:left;\">"; 431 print "$uptime<br>\n"; 432 print "トラコン稼働数:$ffmpegprocesses<br>\n"; 433 print "</div>"; 433 434 434 435 }//end sub