查看 端口 占用 : lsof -i:9502 netstat -tunlp |grep 9501
强杀进程 : kill -s 9 10369
ps afc | grep xxxx.php 查看 文件开启了几个进程
查看程序进程数:ps aft | grep tcp.php
查看系统核心数:cat /proc/cpuinfo | grep 'cores' | uniq
连接:telnet 127.0.0.1 9501
ctrl+] ,quit退出
tail [ -f ] xxx.xx tail会自己主动刷新,确保你看到最新的档案内容。