Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / Networking / January 2008



Tip: Looking for answers? Try searching our database.

Easy way to see what ports are most commonly used?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jamie Kahn Genet - 06 Jan 2008 01:09 GMT
I'm setting up QoS on my router and I'd like to shape the most active
used ports. Is there built into OSX (I'm on 10.5.1) an easy way to keep
a record of what ports are used and how frequently/how much over a set
time period? Or a nice third part app? It will not be used often so I'm
not sure I want to pay, though that's not totally out of the question.

Regards,
Jamie Kahn Genet
Signature

If you're not part of the solution, you're part of the precipitate.

Tom Stiller - 06 Jan 2008 03:06 GMT
> I'm setting up QoS on my router and I'd like to shape the most active
> used ports. Is there built into OSX (I'm on 10.5.1) an easy way to keep
> a record of what ports are used and how frequently/how much over a set
> time period? Or a nice third part app? It will not be used often so I'm
> not sure I want to pay, though that's not totally out of the question.

Does netstat provide the data you need?

Signature

Tom Stiller

PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

Wes Groleau - 06 Jan 2008 20:16 GMT
> I'm setting up QoS on my router and I'd like to shape the most active
> used ports. Is there built into OSX (I'm on 10.5.1) an easy way to keep
> a record of what ports are used and how frequently/how much over a set
> time period? Or a nice third part app? It will not be used often so I'm
> not sure I want to pay, though that's not totally out of the question.

I'm not sure I'd call it easy, but I'd let tcpdump run for the
time period needed, then feed the results into a perl program
to count how many times each port is used.  To get fancier,
you could also have it find min, max, avg, total, etc. of
packet sizes for each port.

Signature

Wes Groleau

  Armchair Activism: http://www.breakthechain.org/armchair.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.