Skip to content

Commit

Permalink
grml-hwinfo: Add inxi output
Browse files Browse the repository at this point in the history
* `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: #8
  • Loading branch information
jkirk committed Sep 22, 2023
1 parent ea97638 commit 67431af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grml-hwinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67431af

Please sign in to comment.