basic_bot.services.system_stats
This optional services provides system usage statistics to the central hub
under the system_stats
key.
The information is sampled using the psutil library and includes:
{
"system_stats": {
"cpu_util": psutil.cpu_percent(),
"cpu_temp": cpu_temp,
"ram_util": psutil.virtual_memory()[2],
"hostname": socket.gethostname(),
}
}
Add to your basic_bot.yml file to enable this service: