Class BsdCentralProcessor

java.lang.Object
oshi.hardware.common.AbstractCentralProcessor
oshi.hardware.common.platform.unix.BsdCentralProcessor
All Implemented Interfaces:
CentralProcessor
Direct Known Subclasses:
NetBsdCentralProcessor, OpenBsdCentralProcessor

public abstract class BsdCentralProcessor extends AbstractCentralProcessor
Shared CentralProcessor logic for the dmesg-parsing BSDs (OpenBSD and NetBSD). Both enumerate processors, caches, and feature flags from dmesg output and read counters from vmstat; the platform-specific sysctl backend and the vmstat parsing are supplied by the subclasses.