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

Roland Dreier rdreier at cisco.com
Tue Mar 31 10:57:06 PDT 2009


 > AFAIK, proc/net is the only source for most of the information under
 > proc/net, it can't be legacy if there is no alternative :) These days
 > it is actually proc/<pid>/net/XXX due the namespace stuff, so it kinda
 > is process related.

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.

If you want a model, tcp_diag is much better than the crufty
/proc/net/tcp code.

 - R.



More information about the general mailing list