Service |
Description |
Status |
' . $service['name'] . ' | ';
echo '' . $service['description'] . ' | ';
if(is_service_running($service['name'], $ps) or is_process_running($service['name']) ) {
echo 'Running | | ';
$running = true;
} else {
echo 'Stopped | | ';
$running = false;
}
echo '';
if($running) {
echo "";
echo " ";
echo "";
echo " ";
echo "";
} else {
echo " ";
echo " ";
}
echo ' | ';
echo '';
}
} else {
echo "No services found. | ";
}
?>
|