Marri Devender Rao | 081ff83 | 2022-03-29 22:32:46 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | # | ||||
3 | # config: 2 60 | ||||
4 | # @brief: Collect services status information. | ||||
5 | # | ||||
6 | |||||
7 | . $DREPORT_INCLUDE/functions | ||||
8 | |||||
9 | desc="services status list" | ||||
10 | file_name="services_status.txt" | ||||
11 | |||||
12 | command="systemctl status --all" | ||||
13 | |||||
14 | add_cmd_output "$command" "$file_name" "$desc" |