xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/procfd (revision 74a1f39c56d970667b4ff5004ccc175dbe2f23b4)
1#!/usr/bin/env bash
2#
3# config: 123 60
4# @brief: List the open file descriptors
5#
6
7# shellcheck disable=SC1091
8. "$DREPORT_INCLUDE"/functions
9
10file_name="procfd.log"
11desc="proc fd"
12cmd="ls -Al /proc/*/fd/ 2> /dev/null"
13add_cmd_output "$cmd" "$file_name" "$desc"
14