If you want to quickly determine your Subnet Manager’s priority and state, the sminfo command can also provide the LID and GUID of the hosting HCA.
# sminfo sminfo: sm lid 15 sm guid 0x21283a8389a0a0, activity count 32046 priority 13 state 3 SMINFO_MASTER #
In the example output, the Subnet Manager’s hosting HCA has LID 25 and GUID 0x21283a8620b0f0. The Subnet Manager has a priority of 13 (high) and its state is 3 (master).
Switch Command Reference, sminfo command