xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/top (revision 8bcf49c22c69e10b11960fb31ecef417a54a864c)
1#!/bin/bash
2#
3# config: 123 10
4# @brief: Collect top command output.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="top"
10file_name="top.log"
11command="top -n 1 -b"
12
13add_cmd_output "$command" "$file_name" "$desc"
14