Jayanth Othayoth | 8bcf49c | 2017-10-15 05:57:19 -0500 | [diff] [blame^] | 1 | #!/bin/bash |
2 | # | ||||
3 | # config: 123 10 | ||||
4 | # @brief: Collect top command output. | ||||
5 | # | ||||
6 | |||||
7 | . $DREPORT_INCLUDE/functions | ||||
8 | |||||
9 | desc="top" | ||||
10 | file_name="top.log" | ||||
11 | command="top -n 1 -b" | ||||
12 | |||||
13 | add_cmd_output "$command" "$file_name" "$desc" |