statistics: Export the OS and process load in a get_status() method

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-04-09 20:27:38 -04:00
parent cacf1197b6
commit 49a2b0354f
2 changed files with 48 additions and 17 deletions

View File

@@ -307,6 +307,9 @@ The following are common printer attributes:
between micro-controller architectures and with each code revision.
- `printer.mcu.last_stats.<statistics_name>`: Statistics information
on the micro-controller connection.
- `printer.system_stats.sysload`, `printer.system_stats.cputime`,
`printer.system_stats.memavail`: Information on the host operating
system and process load.
The above list is subject to change - if using an attribute be sure to
review the [Config Changes document](Config_Changes.md) when upgrading