#!/usr/bin/env bash
#
# config: 123 60
# @brief: List the open file descriptors
#

# shellcheck source=tools/dreport.d/include.d/functions
. "$DREPORT_INCLUDE"/functions

file_name="procfd.log"
desc="proc fd"
cmd="ls -Al /proc/*/fd/ 2> /dev/null || true"
add_cmd_output "$cmd" "$file_name" "$desc"
