← 返回命令列表

Linux command

ipmitool 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo ipmitool chassis status

Power on / off / cycle

ipmitool -I lanplus -H [ip] -U [user] -P [pass] chassis power on

Example

sudo ipmitool sensor list

Example

sudo ipmitool sel list

Example

sudo ipmitool lan print 1

Example

ipmitool -I lanplus -H [ip] -U [user] sol activate

说明

ipmitool provides a command-line interface to the Intelligent Platform Management Interface (IPMI). IPMI enables out-of-band management of servers, including power control, hardware monitoring, and remote console access. Common operations include checking sensor readings (temperatures, voltages, fan speeds), controlling power state, and accessing the serial console over the network. IPMI works independently of the main operating system.

参数

-H _HOST_
Remote host IP address or hostname
-U _USER_
Remote username
-P _PASSWORD_
Remote password (or use -E to read from environment)
-I _INTERFACE_
Interface type: open, lan, lanplus
shell
Interactive IPMI shell
sensor
Display sensor information
chassis
Chassis commands (power, status, identify)
lan
Configure LAN settings
user
User management commands
sol
Serial-over-LAN commands

FAQ

What is the ipmitool command used for?

ipmitool provides a command-line interface to the Intelligent Platform Management Interface (IPMI). IPMI enables out-of-band management of servers, including power control, hardware monitoring, and remote console access. Common operations include checking sensor readings (temperatures, voltages, fan speeds), controlling power state, and accessing the serial console over the network. IPMI works independently of the main operating system.

How do I run a basic ipmitool example?

Run `sudo ipmitool chassis status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -H _HOST_ do in ipmitool?

Remote host IP address or hostname