#!/bin/sh

slp=${1:-15}
while : ; do
	clear
	vmstat -i
	sysctl dev.cpu | grep '\.\(freq\|temperature\):'
	#sysctl hw.acpi.thermal dev.cpu | \
	#	grep '\(temperature\|\.freq:\)'
	date
	sleep $slp
done
