openipmicmd(1)
π openipmicmd β An IPMI Command Interface π
okay bestie, come sit with me, we're gonna talk about openipmicmd, which lives in section 1 of the manual (iykyk β that's the "user commands" girlies). She's giving An IPMI Command Interface and honestly? she's iconic. π
β¨ SYNOPSIS β¨
openipmicmd [-k entry-to-execute] <connection parms>
πΈ DESCRIPTION πΈ
So the openipmicmd program lets you, a whole entire human, execute direct IPMI commands. That's the whole vibe. π
She can work with a direct interface to the OpenIPMI driver, or she can work with IPMI LAN interfaces. Two ways to be her bestie, pick your fighter. π¦
π«Ά OPTIONS π«Ά
-kentry-to-execute β Execute a single command and then exit. One and done, no hanging around, she's got places to be. π- <connection parms> β The parameters for the connection depend on the connection type. Every single one of them is described over in
openipmi_conparms(7)β go read her, she's got the details. π
π COMMANDS π
Once she's up, you can execute commands in the user interface. β¨
β οΈ Note that commands and responses are asynchronous β you issue a command and the interface returns immediately. When the response comes back, it will be dumped on your console. That's a little strange looking, but IPMI is asynchronous underneath, that's just how she is. π
π‘ Note that the-koption is synchronous β it will wait for the response or a timeout before returning. So-kis the patient friend and the interactive UI is the chaotic one. Both valid. π«Ά
π the commands, one by one
0f lun netfn cmd [data1 [data2 ...]]β Send a command to the BMC you are connected to. Straight to the source, no middleman. π₯channel [ipmb] IPMB-addr lun netfn [seq] cmd [data1 [data2 ...]]β Send a command to a device on the IPMB bus. The"ipmb"string is optional. Theseqmust be provided if thenetfnis a response (an odd number). And it must be the same sequence number that came in on the command in the"Command Sequence = seq"part of the command. Like, matching numbers, no cap. π’channel 00 IPMB-addr lun netfn cmd [data1 [data2 ...]]β Send a broadcast command to a device on the IPMB bus. π’ Everyone hears it, that's the point.channel lan handle remote-swid local-swid lun netfn cmd [data1 [data ...]]β Send a command to a device over a LAN channel. π Note that this is not the same as a LAN connection. This sends a message through a local BMC to a remote system that is hooked up with a LAN connection. It's giving "message in a bottle, but the bottle is a BMC." πtest_lat count commandβ Executes the given commands (one of the previous commands, so pick your fave)counttimes and gives you the average time per command to execute. She's benchmarking, she's methodical, we love her. π
π‘ Note that count is hexadecimal. Yes bestie, hex. Not decimal. Do not come for me, that's just what it says. π
helpβ Display some help. That's it. That's the whole thing. Sometimes you just need a lil help. π«Άregcmd netfn cmdβ Register to receive the given command. If the driver receives an external command, it will print it out. β¨
β οΈ This only works with system interface connections β it will not work on LAN connections. Sorry LAN girlies, this one isn't for you. π
unregcmd netfn cmdβ Remove a command registration. Undo, unregister, unbothered. π
π SEE ALSO π
go read your sisters, they're all serving. π
π KNOWN PROBLEMS π
The asynchronous nature of the program can be annoying.
That's it. That's the known problem. She said it herself, and honestly? relatable. The chaos is the charm until it isn't. π
πΈ AUTHOR πΈ
Corey Minyard <cminyard@mvista.com> β thank you for your service, king. π«‘β¨
OpenIPMI Β· version/date situation: 05/13/03 π
and that's the whole page bestie, mwah, go forth and send some commands πβ¨π¦πΈπ
π¦ where this page comes from
- alpine 3.24: openipmi-doc 2.0.36-r1 Β· LGPL-2.0-or-later and GPL-2.0-or-later or BSD-3-Clause
- arch rolling: openipmi 2.0.37-4 Β· LGPL2.1
- debian bookworm: openipmi 2.0.33-1+b1 Β· LGPL
- debian trixie: openipmi 2.0.37-1 Β· LGPL-2.0-only
- nixpkgs unstable: OpenIPMI 2.0.37
- opensuse-leap 16.0: OpenIPMI 2.0.36.56+git.0a3a991-160000.3.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: OpenIPMI 2.0.36.56+git.0a3a991-160000.3.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: OpenIPMI 2.0.36.56+git.0a3a991-160000.3.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: OpenIPMI 2.0.36.56+git.0a3a991-160000.3.1 Β· LGPL-2.1-or-later
- ubuntu jammy: openipmi 2.0.29-0.1ubuntu6 Β· LGPL
- ubuntu noble: openipmi 2.0.33-1.1build3 Β· LGPL
- ubuntu questing: openipmi 2.0.37-1
- ubuntu resolute: openipmi 2.0.37-1build1 Β· LGPL-2.0-only
- ubuntu stonking: openipmi 2.0.37-1ubuntu3 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms