blob: d6a07afeb7c9ebfe5b4286a19cbcafc82330f7b8 [file] [log] [blame]
Marri Devender Raofcc91642022-03-25 06:22:08 -05001#!/usr/bin/env bash
2#
3# config: 123 60
4# @brief: List the open file descriptors
5#
6
Marri Devender Rao60ab2622022-04-26 07:29:39 -05007# shellcheck disable=SC1091
8. "$DREPORT_INCLUDE"/functions
Marri Devender Raofcc91642022-03-25 06:22:08 -05009
10file_name="procfd.log"
Marri Devender Rao60ab2622022-04-26 07:29:39 -050011desc="proc fd"
12cmd="ls -Al /proc/*/fd/ 2> /dev/null"
13add_cmd_output "$cmd" "$file_name" "$desc"