According to my
research:
On Solaris 10, using "lsof -i" to show mapping of processes to TCP ports incorrectly shows all processes that have socket open as using port 65535
netstat -p returns this:
mars:hci:/opt/quovadx/qdx5.7/integrator/sitena>netstat -p
Net to Media Table: IPv4
Device IP Address Mask Flags Phys Addr
------ -------------------- --------------- ----- ---------------
ce0 ntp.mcast.net 255.255.255.255 01:00:5e:00:01:01
ce0 upwrhlab01.carenet.org 255.255.255.255 00:09:6b:dd:ab:98
ce0 medmgrdv2.carenet.org 255.255.255.255 00:04:ac:97:65:ae
ce0 cisyellow.carenet.org 255.255.255.255 00:02:55:5a:0b:d8
ce0 utschmis01.carenet.org 255.255.255.255 00:03:ba:2c:da:44
...
-l, -t, and -u are not valid flags for me.
usage: netstat [-anv] [-f address_family]
netstat [-n] [-f address_family] [-P protocol] [-g | -p | -s [interval [count]]]
netstat -m [-v] [interval [count]]
netstat -i [-I interface] [-an] [-f address_family] [interval [count]]
netstat -r [-anv] [-f address_family|filter]
netstat -M [-ns] [-f address_family]
netstat -D [-I interface] [-f address_family]
I know next to nothing about networking, so most of this is meaningless to me.
I'll look for sockstat, and see if that might be an option.
thanks
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors