Help to run turbostat

Started by hushcoden, October 31, 2020, 09:11:36 PM

Previous topic - Next topic
I've installed turbostat from https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/turbostat-4.17_1.txz with the command
pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/turbostat-4.17_1.txz

and I got the following
Fetching turbostat-4.17_1.txz: 100%   46 KiB  46.9kB/s    00:01
Installing turbostat-4.17_1...
Extracting turbostat-4.17_1: 100%


But if I just type turbostat I then get the following error
root@doom:~ # turbostat
turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
turbostat: /dev/cpuctl0 missing, kldload cpuctl: No such file or directory


Can someone please guide me how to run it?

Tia.

While having the same problem, I managed to run turbostat the following way (kldload cpuctl was missing):

pkg add http://pkg0.isc.freebsd.org/FreeBSD:11:amd64/latest/All/turbostat-4.17_1.txz
rehash
kldload cpuctl
turbostat --interval 3
System 1: PC Engines APU2C4
System 2: PC Engines APU2E4
System 3: Proxmox-VM on Intel NUC