LINUX中如何查看某个进程打开的网络链接有多少

使用lsof命令,比如查看sshd这个程序的网络连接使用命令

lsof -i | grep ^sshd

原文地址:https://www.cnblogs.com/cnsanshao/p/6074647.html