Blame view
wave/stopserver.php
265 Bytes
cf76164e6 20190709 |
1 2 3 4 5 6 7 8 9 10 11 12 |
<?php exec("ps aux | grep node | awk '{print $2}'", $out); foreach ($out as $PID) { exec("sudo kill ".$PID); } exec("ps aux | grep a.out | awk '{print $2}'", $out); foreach ($out as $PID) { exec("sudo kill ".$PID); } header('Location: index.php'); exit; ?> |