ryran / xsos

sosreport examiner - instantly summarize system info from a sosreport or a running system
337 stars 121 forks source link

Add lsblk and df output to STORAGE #259

Closed superjamie closed 3 years ago

superjamie commented 3 years ago

lsblk provides a nice tree-based representation of disk layout. df provides a nice view of filesystem layout. Add them to the STORAGE section.

Use base "lsblk" for most coverage of sos versions and most useful output compared to other command options like "-D" or "-t".

Use "df -al -x autofs" like sosreport does.

Add a nice bright header to first line of each.

Based on https://github.com/ryran/xsos/pull/243

Contributed-by: Chris Ruettimann chris@bitbull.ch Signed-off-by: Jamie Bainbridge jamie.bainbridge@gmail.com

superjamie commented 3 years ago

Tested against sosreports RHEL 3-8, Ubu 1604-2004. Tested execution on EL 7-8, Ubu2004.