Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
706ae1b5c522132f71bed8670bb791370b1cb05d
/
.
/
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"