chickadee » proccpuinfo » proccpuinfo

(proccpuinfo DESIRED-INFO [filename: FILENAME] [arch: ARCHITECTURE])procedure

Where DESIRED-INFO is one of the following:

  • 'architecture
  • 'hardware-platform
  • 'frequency
  • 'bogomips
  • 'cache
  • 'cpus
  • 'cputype

and FILENAME is an optional string containing the name of the file to read from instead of the default "/proc/cpuinfo"

and ARCHITECTURE is an optional string that will be used to interpret the cpuinfo file as if it was read on a different architecture.

This procedure will return the desired entry from "/proc/cpuinfo" or the given FILENAME, or #f if there is no such entry.

Please see the libproccpuinfo documentation for more information.