Date: Sun, 4 Oct 2015 09:57:59 -0453.75 From: "William A. Mahaffey III" <wam@hiwaay.net> To: FreeBSD Questions !!!! <freebsd-questions@freebsd.org> Subject: atactl equivalent under FreeBSD 9.3R Message-ID: <56113D2D.7000604@hiwaay.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56113D2D.7000604>