Add powerOff utility function

Logs an error so the shutdown reason is known and then
does a hard power off.

Change-Id: I52e2d07668a777c0aacf5c269f2632fbd6f15246
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: ae02b28ccae9f5b51ed1e22f09391fa873fab771
  1. xyz/
  2. .gitignore
  3. argument.hpp
  4. bootstrap.sh
  5. configure.ac
  6. device.hpp
  7. device_monitor.hpp
  8. elog-errors.hpp
  9. event.hpp
  10. LICENSE
  11. Makefile.am
  12. pmbus.cpp
  13. pmbus.hpp
  14. README.md
  15. timer.cpp
  16. timer.hpp
  17. utility.cpp
  18. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.