【tcp】如何识别没有pid的进程?
2022-06-03 本文已影响0人
Bogon
How to identify a process which has no pid?
如何识别没有pid的进程?
1. 使用非root用户执行socket查看命令,root用户运行的过程将显示为一个破折号
2. 另一种可能是,这是一个内核线程,没有 PID,因为它运行在内核,如NFSv4 调守护进程


参考
如何识别没有pid的进程?
https://qastack.cn/unix/97752/how-to-identify-a-process-which-has-no-pid
How to identify a process which has no pid?
https://unix.stackexchange.com/questions/97752/how-to-identify-a-process-which-has-no-pid/
Port to PID
http://www.noah.org/wiki/Port_to_PID
netstat显示没有pid的侦听端口,但lsof没有
https://www.jb51.cc/linux/402274.html
netstat不显示进程名pid的bug
http://blog.chinaunix.net/uid-28337979-id-4230505.html
netstat 为什么不显示进程 PID / Program Name
https://blog.51cto.com/u_4735839/1418945