[openib-general] netstat

yipee yipeeyipeeyipeeyipee at yahoo.com
Thu Nov 3 04:15:50 PST 2005


Hi,

Is there some way to view the list of current CM end points in their various 
states (listen,connection)?
I'm looking for some utility that would provide me with information similar to 
what netstat provides about kernel sockets.
for example:

[yipee at yipee new_mini_host]$ netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             
State
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   
LISTEN
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   
LISTEN
tcp        0      0 10.100.0.95:798             10.100.0.93:2049            
ESTABLISHED
tcp        0      0 10.100.0.95:800             10.100.0.93:2049            
ESTABLISHED
tcp        0      0 10.100.0.95:35148           10.100.0.93:111             
TIME_WAIT

The "Local Addresss" & "Foreign Address" fields can display the <guid:
service_id> pair, the "State" field is meaningful too.


thanks,
y






More information about the general mailing list