BMC util

Lei YU mine260309 at gmail.com
Wed Jul 24 17:44:40 AEST 2019


On Wed, Jul 24, 2019 at 2:38 PM vishwa <vishwa at linux.vnet.ibm.com> wrote:
>
> Hi Vijay,
>
> On 7/24/19 12:21 AM, Vijay Khemka wrote:
>
> Hi,
>
> Do we have any repo which supports command line utility like
>
> power on/off server,
> reading all sensors
> reading a dbus property values
> printing fru data.
>
> There are some here. https://github.com/openbmc/openbmc-tools
>
> Below is what we use mostly.
>
> https://github.com/openbmc/phosphor-state-manager/blob/master/obmcutil
>
> # obmcutil --help
> usage: obmcutil [-h] [--verbose] [--wait]
>                 {bmcstate,bootprogress,chassiskill,chassisoff,chassison,chassisstate,hoststate,power,poweroff,poweron,state,status}
>
> positional arguments:
>   {bmcstate,bootprogress,chassiskill,chassisoff,chassison,chassisstate,hoststate,power,poweroff,poweron,state,status}
>
> optional arguments:
>   -h, --help            show this help message and exit
>   --verbose, -v         Verbose output
>   --wait, -w            Block until the state transition succeeds or fails
>
>
>
> Also do we have any daemon to monitor gpio lines and report events on changing values.
>
>
>
> https://github.com/openbmc/phosphor-gpio-monitor
>
> I am currently writing a README on how this works when the GPIO is asserted and how to configure the actions to be taken.

There is an existing doc to describe how phosphor-gpio-monitor is used:
https://github.com/openbmc/docs/blob/master/development/add-new-system.md#gpio-monitor


More information about the openbmc mailing list