查看 端口 佔用 : 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會自己主動刷新,確保你看到最新的檔案內容。