There were a few obvious mods to source, but the bigger mod was replacing BSWAP_32 (non-existent on IRIX) with a custom function placed in a byteswap.h file that does the same thing.
I have not tested this other than running 2 commands.. and accidentally shutting down a server running ESX that I did not want shutdown yet Later I will test its remote console ability.
Code: Select all
./ipmitool -H 192.168.0.2 -U root -P password sdr elist fru | grep PS
PS 1 | 00h | ns | 10.1 | Logical FRU @03h
PS 2 | 00h | ns | 10.2 | Logical FRU @04h
./ipmitool -v -H 192.168.0.2 -U root -P password power off
Chassis Power Control: Down/Off
[EDIT: added -gcc to the filename]