linux必學(xué)的60個命令 xshell查詢運行的服務(wù)?
xshell查詢運行的服務(wù)?1. #PS aux | grep服務(wù)名稱(PS參數(shù)可以顛倒使用,沒問題)2。#netstat-tunple | grep服務(wù)端口3。using中的Bind()80表示80
xshell查詢運行的服務(wù)?
1. #PS aux | grep服務(wù)名稱(PS參數(shù)可以顛倒使用,沒問題)
2。#netstat-tunple | grep服務(wù)端口
3。using
中的Bind()80表示80端已被占用。您可以使用#netstat-tunple | grep80檢查哪個服務(wù)占用了該端口,然后使用pkill-9服務(wù)名稱關(guān)閉該服務(wù)。