mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
added /proc/mdstat output to disk data collector function.
This commit is contained in:
parent
cdb03510b4
commit
d37c485f87
7
inxi
7
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue