xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/diskusage (revision e110762f865fe1d1b2dee65b86099d885a2af547)
1#!/bin/bash
2#
3# config: 123 10
4# @brief: Collect disk usage information.
5#
6
7# shellcheck source=tools/dreport.d/include.d/functions
8. "$DREPORT_INCLUDE"/functions
9
10desc="disk usage"
11file_name="disk-usage.log"
12command="df -hT"
13
14add_cmd_output "$command" "$file_name" "$desc"
15