Plugin for displaying system and process information such as CPU and Memory usage for pimatic setups on Linux and Windows. MacOS should also work, but has not been tested.
The plugin is based on the systeminformation project developed by Sebastian Hildebrandt which realizes a lightweight abstraction layer for the acquisition of system information on various operating systems.
"cpu"
"memoryUsed"
"memoryUsedPercent"
"memoryFree"
"memoryFreePercent"
"diskUsage"
"processes"
"temperature"
"temperatureF"
"systemUptime"
wifiSignalLevel
nwThroughputReceived
nwThroughputSent
"dbSize"
"pimaticRss"
"pimaticHeapUsed"
"pimaticHeapTotal"
"pimaticUptime"
Notes:
wifiSignalLevel
is currently only supported on Linux"memoryUsed"
also included reclaimable cache
and buffer space while earlier versions only measured the
active memory usage. Since Version 0.9.6 this has been
changed back to monitoring active and
available (total - active) memory. old | new |
---|---|
diskusage | diskUsagePercent |
dbsize | dbSize |
uptime | systemUptime |
memory | memoryUsed |
memoryRss | pimaticRss |
heapUsed | pimaticHeapUsed |
heapTotal | pimaticHeapTotal |
{
"plugin": "sysinfo"
}
{
"class": "SystemSensor",
"id": "system-info",
"name": "System",
"attributes": [
{
"name": "cpu"
},
{
"name": "memoryUsed"
},
{
"name": "diskUsagePercent",
"path": "/"
}
]
}
{
"class": "SystemSensor",
"id": "system-temp",
"name": "System Temp.",
"attributes": [
{
"name": "temperature",
"interval": 5000
}
]
}
The value for temperature
is -1
On Windows, admin privileges are required in some setups to query the
temperature with the underlying wmic
tool. If you're running on Linux,
please report an issue with the Linux distribution, version and hardware
used.
I would like to display the uptime in a human readable format
You can set the displayFormat xAttributeOption
for attribute systemUptime
or pimaticUptime
to the value uptime
.