A tiny amr(4) monitoring tool

janm-freebsd-scsi at transactionware.com janm-freebsd-scsi at transactionware.com
Mon Feb 27 17:08:37 PST 2006


[ Resend to the list, I used the wrong originator address to make it
  through the "subscribers only" filter. ]

Hi,

I wrote an ipsstat utility that I've been emailing people for a while.

I've been meaning to put it on the web;  those who are interested can get
it from:

http://janm.transactionware.com/ipsstat/ipsstat.tar.bz2

Regards,

Jan.


>> -----Original Message-----
>> From: owner-freebsd-scsi at freebsd.org 
>> [mailto:owner-freebsd-scsi at freebsd.org] On Behalf Of Scott Long
>> Sent: Sunday, 26 February 2006 4:57 AM
>> To: Jung-uk Kim
>> Cc: freebsd-scsi at freebsd.org
>> Subject: Re: A tiny amr(4) monitoring tool
>> 
>> 
>> This is pretty cool.  You should check it into /usr/src/usr.sbin.  I'm
>> working on a similar tool for IPS.
>> 
>> Scott
>> 
>> 
>> Jung-uk Kim wrote:
>> 
>
>>> > This is a small amr(4) tool that I've been using for a 
>
>> while.  It was 
>
>>> > originally posted here:
>>> > 
>>> > http://docs.freebsd.org/cgi/mid.cgi?42345F33.8030101
>>> > 
>>> > I added few more features, e. g., battery status, physical drive 
>>> > status, etc.  Sorry but the source is not very clean (i. e., 
>>> > ENOTIME).
>>> > 
>>> > http://people.freebsd.org/~jkim/amrstat2.tar.gz
>>> > 
>>> > usage: amrstat [-a num] [-b] [-c ctlr|-f dev] [-g] [-l vol]
>>> > 		[-p drive|-s bus[:target]] [-t usec] [-v]
>>> > 
>>> > 	-a num		number of retries
>>> > 	-b		battery status
>>> > 	-c ctrl		controller ID
>>> > 	-f dev		device path
>>> > 	-g		print global parameters
>>> > 	-l vol		logical volume ID
>>> > 	-p drive	physical drive ID
>>> > 	-s bus[:target]	SCSI bus (and optinal target)
>>> > 	-t usec		sleep time between retries
>>> > 	-v		verbose output
>>> > 
>>> > Example 1:
>>> > # amrstat
>>> > Logical volume 0	optimal (547.67 GB, RAID5)
>>> > Logical volume 1	optimal (547.67 GB, RAID5)
>>> > Physical drive 0:10	online
>>> > Physical drive 0:11	online
>>> > Physical drive 0:12	online
>>> > Physical drive 0:13	online
>>> > Physical drive 1:0	online
>>> > Physical drive 1:1	online
>>> > Physical drive 1:2	online
>>> > Physical drive 1:3	hotspare
>>> > Physical drive 1:4	online
>>> > Physical drive 1:5	online
>>> > 
>>> > Example 2:
>>> > # amrstat -b -l0 -s0
>>> > Battery status		not present, charge unknown
>>> > Logical volume 0	degraded (341.83 GB, RAID5)
>>> > Physical drive 0:0	online
>>> > Physical drive 0:1	online
>>> > Physical drive 0:2	rebuild
>>> > Physical drive 0:3	online
>>> > Physical drive 0:4	online
>>> > Physical drive 0:5	online
>>> > 
>>> > If other tools are too heavy for you, this may be a good 
>
>> alternative.
>
>>> > 
>>> > Cheers,
>>> > 
>>> > Jung-uk Kim
>>> > _______________________________________________
>>> > freebsd-scsi at freebsd.org mailing list
>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
>>> > To unsubscribe, send any mail to 
>
>> "freebsd-scsi-unsubscribe at freebsd.org"
>> 
>> _______________________________________________
>> freebsd-scsi at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
>> To unsubscribe, send any mail to 
>> "freebsd-scsi-unsubscribe at freebsd.org"
>> 



More information about the freebsd-scsi mailing list