Knowledgebase

Question about this command output netstat -an | grep 80 | grep ESTA | wc

Posted by azn_romeo_4u, 12-25-2011, 04:27 AM
When I type this into ssh it outputs this netstat -an | grep 80 | grep ESTA | wc 489 2934 43521 Can anyone tell me what the first, second, and third number means? Thank you.

Posted by madaboutlinux, 12-25-2011, 09:35 AM
It's number of lines, words and characters.. use wc -l instead to see the number of established connections on port 80

Posted by azn_romeo_4u, 12-25-2011, 03:52 PM
Why are there 3 sets of number when I use that command? Does that mean I have 489 active connections? Not sure about the other numbers.

Posted by madaboutlinux, 12-26-2011, 03:36 AM
wc list all the 3 values if no option is supplied. Yes, the output states that you had 489 established connections at the time you executed the command.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
MDADM Problem (Views: 572)
Hosting Matters? (Views: 623)


Language:

Client Login

Email

Password

Remember Me

Search