Jayanth Othayoth | 0d426b8 | 2017-10-15 05:31:43 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
Marri Devender Rao | 6d7f753 | 2018-12-04 09:10:02 -0600 | [diff] [blame^] | 3 | # config: 1234 5 |
Jayanth Othayoth | 0d426b8 | 2017-10-15 05:31:43 -0500 | [diff] [blame] | 4 | # @brief: Collect BMC state information. |
| 5 | # |
| 6 | |
| 7 | . $DREPORT_INCLUDE/functions |
| 8 | |
| 9 | desc="BMC State" |
| 10 | file_name="bmc-state.log" |
| 11 | command="busctl get-property \ |
| 12 | xyz.openbmc_project.State.BMC \ |
| 13 | /xyz/openbmc_project/state/bmc0 \ |
| 14 | xyz.openbmc_project.State.BMC \ |
| 15 | CurrentBMCState" |
| 16 | |
| 17 | add_cmd_output "$command" "$file_name" "$desc" |