Hardware
The Hardware
interface represents the hardware components of a system. It provides details about the computer system, processors, memory, storage devices, network interfaces, displays, sensors, and more. This interface is useful for obtaining comprehensive hardware information for monitoring or diagnostics.
Author
N7ghtm4r3
Inheritors
Properties
centralProcessor
The details of the system's central processor (CPU), including information like cores, speed, and usage.
computerSystem
The details of the computer system, including manufacturer, model, and firmware.
diskStores
A list of disk storage devices, including information on disk usage, size, and read/write operations.
globalMemory
The details about the system's global memory, including total size, available memory, and page size.
graphicsCards
A list of graphics cards available on the system.
logicalVolumeGroups
A list of logical volume groups configured on the system.
networkIFs
A list of network interfaces on the system, including details such as IP addresses, speed, and state.
powerSources
A list of power sources available to the system (e.g., battery, AC power).
soundCards
A list of sound cards available on the system.
Functions
Returns the list of network interfaces on the system. If includeLocalInterfaces
is true, local interfaces (e.g., loopback interfaces) will also be included.
Returns the list of USB devices connected to the system. If tree
is true, the devices are returned in a hierarchical tree structure.