On Tue, 15 Sep 2009 16:04:24 +0300 "Eli Dorfman (Voltaire)" <[email protected]> wrote:
> Keshetti Mahesh wrote: > >> Also it would be useful to find all ports in Disable state. > > > > iblinkinfo already does this with '-d' option. > > > It shows all the port that are in Down state - either cable disconnected or > port disabled (by ibportstate). > > Eli > The -l option was designed to show all the info for each link on a single line to be grepped. So to look for Disabled links on a 1152 node ftree cluster. 09:37:31 > time ./iblinkinfo -l | grep Disable real 0m3.041s user 0m0.026s sys 0m0.039s Eli, If you have data for this being slow on a larger cluster I would be interested to know. Ira -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
