html第二次

This commit is contained in:
2021-12-23 14:43:26 +08:00
parent 3f620a2243
commit 2f4b1b5a71
3 changed files with 25 additions and 0 deletions

View File

@ -1 +1,10 @@
<?php
exec("ps -ef | grep TowerOptoSifAndSpectral | grep -v grep",$output,$return);
//var_dump( $output);
if ( count($output)>0)
{
echo '<div style="width: 20px;height: 20px;background: green"></div>';
}else{
echo '<div style="width: 20px;height: 20px;background: red"></div>';
}