|
|
View programs' connections (open sockets)
lsof -r -i TCP -i UDP
View programs' connections (open sockets)
I like this one a lot. Thanks for the hint.
View programs' connections (open sockets)
lsof -r -i TCP -i UDP
View programs' connections (open sockets)
they both provide the same info with the correct options. I listed three (for brevity). lsof shows all file descriptors...socket==file descriptor. so, in fact, lsof is a more robust tool.
Even easier...
Try lsof -i4
Minor tweak...
You'll want to run this with root permissions ('sudo lsof...') if you want to see all the connections on your machine. As a user, it only shows connections opened by processes started by your user ID. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|