* BMC util
@ 2019-07-23 18:51 Vijay Khemka
2019-07-24 6:37 ` vishwa
0 siblings, 1 reply; 5+ messages in thread
From: Vijay Khemka @ 2019-07-23 18:51 UTC (permalink / raw)
To: OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Hi,
Do we have any repo which supports command line utility like
1. power on/off server,
2. reading all sensors
3. reading a dbus property values
4. printing fru data.
Also do we have any daemon to monitor gpio lines and report events on changing values.
Regards
-Vijay
[-- Attachment #2: Type: text/html, Size: 6072 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BMC util
2019-07-23 18:51 BMC util Vijay Khemka
@ 2019-07-24 6:37 ` vishwa
2019-07-24 7:44 ` Lei YU
2019-07-24 21:56 ` Vijay Khemka
0 siblings, 2 replies; 5+ messages in thread
From: vishwa @ 2019-07-24 6:37 UTC (permalink / raw)
To: Vijay Khemka, OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
Hi Vijay,
On 7/24/19 12:21 AM, Vijay Khemka wrote:
>
> Hi,
>
> Do we have any repo which supports command line utility like
>
> 1. power on/off server,
> 2. reading all sensors
> 3. reading a dbus property values
> 4. 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.
> Regards
>
> -Vijay
>
[-- Attachment #2: Type: text/html, Size: 7914 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BMC util
2019-07-24 6:37 ` vishwa
@ 2019-07-24 7:44 ` Lei YU
2019-07-24 15:58 ` Patrick Venture
2019-07-24 21:56 ` Vijay Khemka
1 sibling, 1 reply; 5+ messages in thread
From: Lei YU @ 2019-07-24 7:44 UTC (permalink / raw)
To: vishwa; +Cc: Vijay Khemka, OpenBMC Maillist
On Wed, Jul 24, 2019 at 2:38 PM vishwa <vishwa@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BMC util
2019-07-24 7:44 ` Lei YU
@ 2019-07-24 15:58 ` Patrick Venture
0 siblings, 0 replies; 5+ messages in thread
From: Patrick Venture @ 2019-07-24 15:58 UTC (permalink / raw)
To: Lei YU; +Cc: vishwa, OpenBMC Maillist, Vijay Khemka
On Wed, Jul 24, 2019 at 12:45 AM Lei YU <mine260309@gmail.com> wrote:
>
> On Wed, Jul 24, 2019 at 2:38 PM vishwa <vishwa@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
I usually just use busctl
~# busctl call ${DBUS_SERVICE} ${DBUS_PATH}
org.freedesktop.DBus.Properties GetAll s ${DBUS_INTERFACE}
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BMC util
2019-07-24 6:37 ` vishwa
2019-07-24 7:44 ` Lei YU
@ 2019-07-24 21:56 ` Vijay Khemka
1 sibling, 0 replies; 5+ messages in thread
From: Vijay Khemka @ 2019-07-24 21:56 UTC (permalink / raw)
To: vishwa, OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
Thanks Vishwa,
I will look into below repos.
Regards
-Vijay
From: vishwa <vishwa@linux.vnet.ibm.com>
Date: Tuesday, July 23, 2019 at 11:37 PM
To: Vijay Khemka <vijaykhemka@fb.com>, OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: BMC util
Hi Vijay,
On 7/24/19 12:21 AM, Vijay Khemka wrote:
Hi,
Do we have any repo which supports command line utility like
1. power on/off server,
2. reading all sensors
3. reading a dbus property values
4. 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.
Regards
-Vijay
[-- Attachment #2: Type: text/html, Size: 9366 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-07-24 21:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23 18:51 BMC util Vijay Khemka
2019-07-24 6:37 ` vishwa
2019-07-24 7:44 ` Lei YU
2019-07-24 15:58 ` Patrick Venture
2019-07-24 21:56 ` Vijay Khemka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.