Similar to the ibswitches command, the ibhosts command displays identity information about the HCAs in the InfiniBand fabric. The output contains the GUID and name for each HCA.
Note - Unlike the ibswitches command, the ibhosts command does not display the LIDs.
Note - The output in the example is just a portion of the full output and varies for each InfiniBand topology.
# ibhosts Ca : 0x0003ba000100e388 ports 2 "nsn33-43 HCA-1" Ca : 0x5080020000911310 ports 1 "nsn32-20 HCA-1" Ca : 0x50800200008e532c ports 1 "ib-71 HCA-1" Ca : 0x50800200008e5328 ports 1 "ib-70 HCA-1" Ca : 0x50800200008296a4 ports 2 "ib-90 HCA-1" . . . #
Switch Reference, ibhosts command
Switch Reference, ibswitches command