#!/bin/bash
#
# config: 123 10
# @brief: Collect top command output.
#

# shellcheck source=tools/dreport.d/include.d/functions
. "$DREPORT_INCLUDE"/functions

desc="top"
file_name="top.log"
command="top -n 1 -b"

add_cmd_output "$command" "$file_name" "$desc"
