inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
Go to file
inxi-svn 4bdb6b0621 By suggestion and good sense, -R has been modified. New tarball as well.
Now RAID works like this:

-b - if no /proc/mdstat, or if no devices found and module is running, show nothing, otherwise show short form as before
-F - if no proc/mdstat, show nothing, if no devices but mdstat and if -xx, show all lines, otherwise show normal
-R - show all messages and missing file/module information so users, particularly sys admins, know right away module
is running even if no devices.
-v 6 and less, like -F. -v 7, like -R run, ie, show all messages.

this gets rid of unneeded line output given that only if you have md_mod running will you have any data for /proc/mdstat
and that module is only running if you have mdraid installed. 

Also redid the no data messages for no module state and no devices state to better reflect what is actually happening.

Good adjustment and good cleanup of unneeded output while tightening the actual usability of the specific messages received.
2012-05-15 01:51:58 +00:00
man Cleaned up man page formatting, so there's also a new inxi.tar.gz full tarball file. 2012-05-13 17:29:35 +00:00
inxi By suggestion and good sense, -R has been modified. New tarball as well. 2012-05-15 01:51:58 +00:00