From owner-freebsd-questions@freebsd.org Sun Oct 4 14:52:39 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D224A0F869 for ; Sun, 4 Oct 2015 14:52:39 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06201114A for ; Sun, 4 Oct 2015 14:52:38 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t94EqTZO021353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 4 Oct 2015 09:52:30 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: atactl equivalent under FreeBSD 9.3R Message-ID: <56113D2D.7000604@hiwaay.net> Date: Sun, 4 Oct 2015 09:57:59 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2015 14:52:39 -0000 I have a shell script I wrote for 1 of my NetBSD boxen which prints out HDD temps, & some other info in a nice format. It uses atactl to recover HDD info for each drive, then awk to pretty-up the output. When I copy it over to my FreeBSD 9.3R box & try to run it, I get: [root@kabini1, /etc, 9:54:15am] 868 % hddtemp ada0 ada1 ada2 ada3 ada4 SMART supported, SMART enabled drive ada0: sudo: atactl: command not found sudo: atactl: command not found drive ada1: sudo: atactl: command not found sudo: atactl: command not found drive ada2: sudo: atactl: command not found sudo: atactl: command not found drive ada3: sudo: atactl: command not found sudo: atactl: command not found drive ada4: sudo: atactl: command not found sudo: atactl: command not found [root@kabini1, /etc, 9:54:23am] 869 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 9:56:45am] 870 % which atactl atactl: Command not found. [root@kabini1, /etc, 9:58:07am] 871 % i.e., no atactl command under FreeBSD 9.3R. Is there an equivalent command under FreeBSD & if so, how's about tipping me off on what it is :-) ? TIA & have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.