Quoting r. yipee <[EMAIL PROTECTED]>: > Subject: Re: netstat > > Sean Hefty <mshefty <at> ichips.intel.com> writes: > > > > Is there some way to view the list of current CM end points in their > various > > > states (listen,connection)? > > > > Nothing like this is available today. I can record this as something > to add in > > the future, but it's unlikely to be a high priority for at least a few > weeks. > > Maybe I can write some initial implementation. > How do you think the data flow should be? > libibcm.so issues a write(ucm_fd, buf, buf_len) with the request in > buf (and enough extra space in buf for the reply). > ib_ucm copies the information from ib_cm into buf. > > Maybe another command is needed inorder to know how large the reply > buffer > should be? > > > any comments? > > y
I would a imagine ib_cm would need to implement a file in /proc or sysfs. One place to start would be to look at how /proc/net/tcp is implemented (thats what netstat uses, I think). -- MST _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
