This is more my curiosity bugging me than anything else, but when I type:

`netstat -a`

the results can take as long as a minute to display. It seems like I'm waiting forever.

However, if I type:

`netstat -aon`

the results are displayed literally instantly.

This is on Windows 7, but memory dictates that it was this way on XP as well.

It seems counter-intuitive since the second command actually produces more information. Anyone know why this is?

 -n            Displays addresses and port numbers in numerical form.

Which means no DNS queries = instant output.

  • Of course. Somehow that piece of the help text was invisible to me. – dgo Dec 13 '13 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.