From 5cd680c0bec2d09e4c47f180c7d2ad889a0b10ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Siglen?= Date: Tue, 4 Nov 2025 13:06:54 +0100 Subject: [PATCH] dbginfo.sh: Simplify procfs collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using the base dir only, will ensure to get all needed info independent of configuration and future changes. ├── dasd │   ├── devices │   └── statistics ├── net │   ├── anycast6 │   ├── arp │   ├── bonding │   ├── dev │   ├── dev_mcast │   ├── dev_snmp6 │   │   ├── encbdf0 │   │   └── lo │  ├── sockstat │   ├── sockstat6 │   ├── softnet_stat │   ├── stat │   │   ├── arp_cache │   │   ├── ndisc_cache │   │   ├── nf_conntrack │   │   └── rt_cache │   ├── vlan The change in size and collection speed can be ignored. Reviewed-by: Michael Storzer Signed-off-by: Jörn Siglen Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index f18c11cf..1e856376 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -316,8 +316,7 @@ PROCFILES="\ /proc/cmdline\ /proc/cpuinfo\ /proc/crypto\ - /proc/dasd/devices\ - /proc/dasd/statistics\ + /proc/dasd\ /proc/devices\ /proc/diskstats\ /proc/interrupts\ @@ -328,11 +327,7 @@ PROCFILES="\ /proc/misc\ /proc/modules\ /proc/mounts\ - /proc/net/vlan\ - /proc/net/bonding\ - /proc/net/sockstat\ - /proc/net/sockstat6\ - /proc/net/softnet_stat\ + /proc/net\ /proc/partitions\ /proc/qeth\ /proc/qeth_perf\