IBIS
From UF HPC Wiki
IBIS is a TCL shell that gives you access to various IB MAD APIs, including:
- Performance monitoring (PM)
- Subnet administrator client (SAC)
- Subnet management (SM)
- Vendor specific (VS)
- Baseboard Management (BBM)
It also provides "vendor specific access to the device internal configuration space" (CR)
The documentation of this tool is pretty much limited to the man page, which is extremely lengthy.
There is also an html file of pretty much whats in the man page indexed a bit better that is included in the src docs for ibis, the wikized version is available here.
Contents |
Startup
You must run ibis as root.
Run it with the -port_num switch so it does not require you to initialize it.
ibis -port_num 1
If you want to initialize it manually:
ibis
% ibis_init
0
% ibis_get_local_ports_info
{0x0002c902002192c1 0x003E ACTIVE 1} {0x0002c902002192c1 0x003E ACTIVE 1} {0x0002c902002192c2 0x0000 DOWN 2}
% ibis_set_port 0x0002c902002192c1
0
Usage
For using the commands, most of the time you can just type the command name and it will give you some help, or part of it and it will list some commands for you:
% pm
ambiguous command name "pm": pmClrAllCounters pmClrAllCountersMulti pmGetExtPortCountersMulti pmGetPortCounters pmGetPortCountersMulti pmMultiMaxGet
% pmGetPortCounters
Wrong # args. pmGetPortCounters lid port_select
% pmGetPortCounters 404 1
{{port_select 1 } {counter_select 65535 } {symbol_error_counter 0 } {link_error_recovery_counter 0 } {link_down_counter 0 } {port_rcv_errors 0 } {port_rcv_remote_physical_errors 0 } {port_rcv_switch_relay_errors 0 } {port_xmit_discard 10 } {port_xmit_constraint_errors 0 } {port_rcv_constraint_errors 0 } {local_link_integrity_errors 0 } {excesive_buffer_errors 0 } {vl15_dropped 0 } {port_xmit_data 157106 } {port_rcv_data 227354 } {port_xmit_pkts 3164 } {port_rcv_pkts 3472 }}
