Obtener el número de conexiones simultáneas en servidor Ubuntu
Varios métodos:
netstat -ant | grep ESTABLISHED | wc -l
ss -s
grep </proc/net/tcp -c '^ *[0-9]\+: [0-9A-F: ]\{27\} 01 '
Fuentes:
- https://serverfault.com/questions/527875/how-do-i-get-the-number-of-currently-established-tcp-connections-for-a-specifi
- https://serverfault.com/questions/646729/get-number-of-tcp-established-connections