Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
fcc916444b270ebd9f1351212d21aef517c48eb2
/
.
/
tools
/
dreport.d
/
plugins.d
/
failedservices
blob: 2d0113e07dc65dde48c0aad82468dfeb40e7573c [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 123 10
# @brief: Collect failed services information.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"failed services"
file_name
=
"failed-services.log"
command
=
"systemctl --failed"
add_cmd_output
"$command"
"$file_name"
"$desc"