Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
寻找一个返回端口连接数的 linux 函数。
正在研究“lsof”,但它只打印门中的连接,而不返回所有连接的总和,例如:如果我在端口 80 有两个连接,它将返回 2,而不是连接。
你试过netstat吗?