atactl equivalent under FreeBSD 9.3R

William A. Mahaffey III wam at hiwaay.net
Sun Oct 4 14:52:39 UTC 2015



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 at 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 at 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 at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[root at kabini1, /etc, 9:56:45am] 870 % which atactl
atactl: Command not found.
[root at 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.



More information about the freebsd-questions mailing list