xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/procfd (revision d56bab55fe4d3d1436eac5ff5ccc3fd95537b291)
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 || true"
13add_cmd_output "$cmd" "$file_name" "$desc"
14