wiki:plugin_cpuinfo

cpuinfo plugin

This plugin provides an interface to the /proc/cpuinfo file.


Functions

cpuinfo(key)parse /proc/cpuinfo and return the value of the line beginning with <key>

The key parameter does not have any fixed values, but is taken as a search key into the /proc/cpuinfo file. Common values are cpu MHz or cache size. Do a cat /proc/cpuinfo to see which keys are supported on your system.


Last modified 14 years ago Last modified on 02/13/05 09:26:36