Swoft的HttpServer启动及请求工作流程(五)--补充(start、stop、restart、reload命令)
本章节补充一下命令行启动、关闭、重启和重载Http服务的实现类<codeSwoft\Http\Server\Command\HttpServerCommand</code位置<code/vendor/swoft/httpserver/src/Commond/HttpServe
本章节补充一下命令行启动、关闭、重启和重载Http服务的实现类<codeSwoft\Http\Server\Command\HttpServerCommand</code位置<code/vendor/swoft/httpserver/src/Commond/HttpServe
有时候我们需要知道电脑中有哪些进程/应用正在使用哪个port,这时候就用到一个非常方便的指令:<codelsof</code指令lsof是listopenfiles的意思。在unix系统中,一切皆为文件,包括tcp/udp的连接。例子:<codelsofnPiT