How to obtain hardware information using ipmitool?
In order to obtain hardware information using ipmitool, you need to install and configure the IPMI tool on hardware that supports IPMI. Then, you can follow these steps to use ipmitool to retrieve hardware information.
- Open the terminal or command prompt window.
- Use the following command to obtain hardware information:
- Show a list of sensors using ipmitool.
- This will display information related to sensors, such as temperature, voltage, fan speed, etc.
- Enter the following command to retrieve additional hardware information:
- Retrieve system information:
ipmitool chassis status
- Obtain power information:
ipmitool power status - Retrieve sensor status:
ipmitool sensor get - Fetch the event log by using the command: ipmitool sel list
- Retrieving sensor threshold values:
ipmitool sensor thresh - Retrieve the power status of the sensor:
ipmitool sensor get “PS1 Status” - Please note that the “
” in the above command should be replaced with the name of the sensor you want to get information from.
These are the basic steps for retrieving hardware information using ipmitool. The specific commands and options may vary depending on the system and configuration. Please refer to the documentation and manual of ipmitool for more detailed information.