1、首先登入linux服務器。
2、輸入【pgrep 進程名稱】即可獲取到pid列表。
3、使用ps -ef|grep +進程名 檢視id
4、使用【top】命令檢視進程pid。
5、透過【ls /proc】命令檢視進程pid。