[ofa-general] Re: [PATCH] rdma_cm: Add proc entry to monitor rdma_cm connections

Steve Wise swise at opengridcomputing.com
Tue Mar 31 12:06:37 PDT 2009


Roland Dreier wrote:
>  > Well at least /proc/net/tcp has been deprecated for a *long* time (5+
>  > years?) in favor of tcp_diag -- netstat vs. ss is basically the same
>  > issue as ifconfig vs. ip.
>
> And btw "ss -e" shows info not available in /proc/net/tcp.
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>   


I think we definitely need something like this, and an rdmastat command 
to do useful formatting...


What about putting this stuff in /sys/class/infiniband/rdma_cm/*


You could populate a file or directory for each cm_id and reading the 
file (or files under the directory) could display the various useful state.


Steve



More information about the general mailing list