tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to get CPU-Specific Info?



On Thu, 19 Jul 2012 13:02:13 -0400
Frank Kastenholz <fkastenh%bbn.com@localhost> wrote:

> There is /proc/cpuinfo --- but this seems to be
> oriented more towards things like versions/features/
> etc of the actual silicon.  I could add the stuff
> I want to this.  Or I could make a new /proc file
> (eg "/proc/cpucsrs")

We also have /dev/cpuctl which cpuctl(8) uses (/proc is optional except
for COMPAT_LINUX), but that's also mostly to report features; I also
think that sysctl would suit to export special CPU registers...
-- 
Matt


Home | Main Index | Thread Index | Old Index