added /proc/mdstat output to disk data collector function.

This commit is contained in:
inxi-svn 2012-04-26 18:16:39 +00:00
parent cdb03510b4
commit d37c485f87

7
inxi
View file

@ -1,9 +1,9 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 1.7.33
#### Date: April 16 2012
#### Patch Number: 00
#### version: 1.7.34
#### Date: April 26 2012
#### Patch Number: 01
########################################################################
#### SPECIAL THANKS
########################################################################
@ -1407,6 +1407,7 @@ debug_data_collector()
df -h -T -P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 --exclude-type=devfs --exclude-type=linprocfs --exclude-type=sysfs --exclude-type=fdescfs &> $debug_data_dir/df-h-T-excludes.txt
swapon -s &> $debug_data_dir/swapon-s.txt
df -P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 &> $debug_data_dir/df-excludes.txt
cat /proc/mdstat &> $debug_data_dir/proc-mdstat.txt
cat $FILE_PARTITIONS &> $debug_data_dir/proc-partitions.txt
cat $FILE_SCSI &> $debug_data_dir/proc-scsi.txt
cat $FILE_MOUNTS &> $debug_data_dir/proc-mounts.txt