This commit is contained in:
as2252258@163.com
2021-07-26 03:48:22 +08:00
parent 7b1c9b2816
commit 47bf22324b
+1
View File
@@ -304,6 +304,7 @@ class ServerManager extends Abstracts\Server
exec('kill -15 ' . $explode[0], $execResult);
while (true) {
exec('netstat -lnp | grep ' . $port . ' | grep "LISTEN" | awk \'{print $7}\'', $output);
var_dump($output);
if (empty($output)) {
return;
}