Porting from linux to FreeBSD (procfs question)

Ivan Voras ivoras at freebsd.org
Thu Jan 3 08:16:44 PST 2008


On 03/01/2008, Fernando Apesteguía <fernando.apesteguia at gmail.com> wrote:

> Yes, that's my problem. In Linux I can get from /proc/cpuinfo for
> example: name, model, stepping, cache size, clock speed, supported
> extensions, etc...
> But using sysctl in FreeBSD (sysctl -a) I can only see name and vendor
> for the cpu and a few more things. Am I limited to the variables
> showed in sysctl -a?

Probably. I don't know if there's anything that can give you the
details present in cpuinfo (except using CPUID data directly).

> Thanks in advance.
>
> BTW if this is isn't the proper list to continue with this thread, let me know.

Maybe hackers@ would help you more.


More information about the freebsd-questions mailing list