Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
3604710d3b6f45a003e97a47d1de0b6a463420be
/
.
/
tools
/
dreport.d
/
plugins.d
/
top
blob: a61e88810fe71dc2de5abceef613959b056dd945 [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 123 10
# @brief: Collect top command output.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"top"
file_name
=
"top.log"
command
=
"top -n 1 -b"
add_cmd_output
"$command"
"$file_name"
"$desc"