當前位置:科普知識站>IT科技>

Linux系統程序id怎麼檢視

IT科技 閱讀(2.51W)

1、首先登入linux伺服器。

Linux系統程序id怎麼檢視

2、輸入【pgrep 程序名稱】即可獲取到pid列表。

Linux系統程序id怎麼檢視 第2張

3、使用ps -ef|grep +程序名 檢視id

Linux系統程序id怎麼檢視 第3張

4、使用【top】命令檢視程序pid。

Linux系統程序id怎麼檢視 第4張

5、通過【ls /proc】命令檢視程序pid。

Linux系統程序id怎麼檢視 第5張