OPNsense Forum

English Forums => General Discussion => Topic started by: hushcoden on October 31, 2020, 09:11:36 PM

Title: Help to run turbostat
Post by: hushcoden on October 31, 2020, 09:11:36 PM
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.
Title: Re: Help to run turbostat
Post by: thowe on January 14, 2021, 11:20:56 AM
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
Title: Re: Help to run turbostat
Post by: hushcoden on January 17, 2021, 01:52:42 PM
Thanks, it works !