Tag Info

New answers tagged

0

netstat -an | grep ESTABLISHED | wc -l This will count all opened sockets in the system and will output just the total. You can of course also change ESTABLISHED for whatever you need, for example a port or a communication status like CONNECTED or LISTENING.



Top 50 recent answers are included