Looking for a linux function that returns the count of connections in a port.
寻找一个返回端口连接数的linux函数。
Was researching about the "lsof", but it only prints connections in a door, and does not return the sum of all connections, for example: if I have two connections at port 80, it will return 2, and not the connections.
正在研究“lsof”,但它只在门上打印连接,并且不返回所有连接的总和,例如:如果我在端口80有两个连接,它将返回2,而不是连接。