Package oshi.driver.linux.proc
Class CpuInfo
java.lang.Object
oshi.driver.linux.proc.CpuInfo
Utility to read CPU info from
/proc/cpuinfo
-
Method Summary
Modifier and TypeMethodDescriptionGets the board manufacturer, model, version, and serial number from/proc/cpuinfo
static String
Gets the CPU manufacturer from/proc/cpuinfo
-
Method Details
-
queryCpuManufacturer
Gets the CPU manufacturer from/proc/cpuinfo
- Returns:
- The manufacturer if known, null otherwise
-
queryBoardInfo
Gets the board manufacturer, model, version, and serial number from/proc/cpuinfo
- Returns:
- A quartet of strings for manufacturer, model, version, and serial number. Each one may be null if unknown.
-
queryFeatureFlags
-