From 67431af6d071544751399d8259293a932800bb06 Mon Sep 17 00:00:00 2001 From: Darshaka Pathirana Date: Fri, 22 Sep 2023 17:34:08 +0200 Subject: [PATCH] grml-hwinfo: Add inxi output * `inxi -F -xx` shows full with extra data level 2 output for inxi (except some verbose options) * `inxi -FJ --admin` shows full with admin extra data (which sets extra data level 3) and `-J` which shows USB data for attached Hubs and Devices. Extra Data Level 2 is enough for most use cases, but admin extra data should show everything possible. Closes: grml/grml-hwinfo#8 --- grml-hwinfo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grml-hwinfo b/grml-hwinfo index 6583080..4ba0a62 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -191,6 +191,10 @@ cd "${OUTDIR}" || exit 1 fi uname -a > ./uname + # inxi + exectest inxi && inxi -F -xx > ./inxi 2>./inxi.error + exectest inxi && inxi -FJ --admin > ./inxi_admin 2>./inxi_admin.error + # disks / devices [ -f /proc/scsi/scsi ] && cat /proc/scsi/scsi > scsi exectest lspci && lspci -nn > ./lspci -- 2.1.4