openipmish man page

openipmish — Shell interface to an IPMI system

Synopsis

openipmish [option]

Description

The openipmish is a command interpreter that gives the full power of the OpenIPMI library to a user-level command language. It is designed so it can easily be driven with a scripting language like TCL, it has well-formed output.

openipmish starts up with no connections or anything of that nature. You must enter commands to make connections to domains.

Options

--dmsg
Turn on message debugging, this will dump all messages to debug log output.
--drawmsg
Turn on raw message debugging, this will dump all low-level messages to debug log output. This differs from normal message debugging in that all protocol messages are also dumped, not just IPMI messages.
--dmem
Turn on memory debugging, this will cause memory allocation and deallocations to be checked. When the program terminates, it will dump all memory that was not properly freed (leaked).
--dmsgerr
Turn on printing out low-level message errors.
--dlock
Turn on lock debugging, this will check lock operations to make sure that locks are help in all the proper places and make sure that locks are properly nested.
-x <string>, --execute <string>
Execute the given string at startup. This may be entered multiple times for multiple commands.
--glib
Use glib for the OS handler.
--snmp
Enable the SNMP trap handler. openipmish must be compiled with SNMP code enabled for this option to be available.
--help
Help output

Commands

openipmish follows the standard command syntax defined in ipmi_cmdlang(7). See that for the details on most commands. The IPMI manual that comes with OpenIPMI will also be quite handy.

openipmish defines some commands that are not in the standard command language. These are:

read
Read and execute commands from the given file.
exit
Quit
redisp_cmd on|off
Normally, openipmish redisplays the command line when an event comes in. This is nice for interactive use, but bad for scripting. This lets you turn that function on and off.

See Also

ipmi_cmdlang(7), ipmi_ui(1)

Known Problems

None

Author

Corey Minyard <cminyard@mvista.com>

Referenced By

ipmi_cmdlang(7), ipmilan(8), ipmi_sim(1).

05/13/03 OpenIPMI Shell interface to an IPMI system