当前位置:科普知识站>IT科技>

Linux如何才能查看进程id

IT科技 阅读(1.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张