Files
openairinterface5g/openair2/UTIL/OSD/Platform_is_running.php
T
Cedric Roux aea6b4b5a6 fix a lot of file mode
For whatever reason most of the files had their permission
changed from 644 to 755, which is not wanted.
2019-01-07 16:22:28 +01:00

18 lines
515 B
PHP

<?php
function givePID($pid)
{
// create our system command
$GIVE_PID=shell_exec("pgrep $pid");
echo $GIVE_PID;
}
?>
<div id="xmlwritten" class="alert">
<p><img src="/OpenAirEmu/css/images/warning.png" /><b>Warning<b/><p />
<p>The OpenAirInterface Simulator is already running.<br />
You should wait for the current simulation to be over before to process to a new one.<p/>
If the process is stuck, execute the following command :<br />
<blockquote>" kill <? givePID("oaisim");?> "</blockquote>
</div>