linux下进程号查看和pid查看端口号

咱们知道, 根据ps -aux | grep xxx就是很快实现进程名和进程号的互查, 因此咱们只说进程号pid就行。 以下示例中, 进程pid常驻。web 1. 根据进程pid查端口: lsof -i | grep pid 2. 根据端口port查进程(某次面试还考过): lsof -i:port 3. 根据进程pid
相关文章
相关标签/搜索