1#!/bin/bash 2# 3# config: 123 50 4# @brief: Collect uptime information. 5# 6 7# shellcheck source=tools/dreport.d/include.d/functions 8. "$DREPORT_INCLUDE"/functions 9 10desc="uptime" 11file_name="uptime.log" 12command="uptime" 13 14add_cmd_output "$command" "$file_name" "$desc" 15