first commnit
This commit is contained in:
10
html/php/GetSata.php
Normal file
10
html/php/GetSata.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
exec("ps -ef | grep TowerOptoSifAndSpectral | grep -v grep",$output,$return);
|
||||
//var_dump( $output);
|
||||
if ( count($output)>0)
|
||||
{
|
||||
echo '<div style="width: 40px;height: 20px;background: green"></div>';
|
||||
}else{
|
||||
echo '<div style="width: 40px;height: 20px;background: red"></div>';
|
||||
}
|
Reference in New Issue
Block a user