From owner-freebsd-stable@FreeBSD.ORG Tue Nov 21 00:59:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B1316A403 for ; Tue, 21 Nov 2006 00:59:54 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B3943D6E for ; Tue, 21 Nov 2006 00:59:35 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 20 Nov 2006 16:57:12 -0800 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.13.1/8.12.11) with ESMTP id kAL0xr7Q005381; Mon, 20 Nov 2006 16:59:53 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.13.1/8.13.1/Submit) id kAL0xrdY005380; Mon, 20 Nov 2006 16:59:53 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200611210059.kAL0xrdY005380@ambrisko.com> In-Reply-To: <455E14AC.7070906@samsco.org> To: Scott Long Date: Mon, 20 Nov 2006 16:59:53 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: Vivek Khera , FreeBSD Stable Subject: Re: adaptec utilities on amd64? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 00:59:54 -0000 Scott Long writes: | Vivek Khera wrote: | > On Nov 15, 2006, at 7:34 PM, Bruce Burden wrote: | > | >> I have a 2230SLP that I will be installing early next week | >> on my AMD64 implementation. I am hoping that the aaccli program | >> in ports will work. | > | > If it has the newer firmware, it will not work with aaccli. If you got | > the card after they switched to the "R" revision, you have the newer | > firmware. | > | > Some time long ago, someone posted a very short C program that probes | > the LSI controller and spits out this kind of output: | > | > [root@d03]# amrstat | > Drive 0: 34.18 GB, RAID1 | > optimal | > Drive 1: 102.54 GB, RAID1 | > optimal | > | > This is the kind of output I'd love to get from my adaptec controllers, | > too. This can be trivially scripted and hooked into a monitoring system | > like nagios. | > | > The aaccli tool is a curses based app (despite the "cli" in the name) | > and scripting it is damn near impossible. It doesn't even read commands | > from stdin! | | Yes, scripting it is possible, and it does have a non-interactive mode. | Try the following: | | printf "open aac0\ncontroller details\nexit\n" | aaccli Scott, did you forget about the cli mode: aaccli "open aac0: controller details" which produces very nice output :-) Doug A.