Skip to content

Tables

cpu

This table gives access to the cpu monitor

Methods

  • get_usage(core_id) Returns the percentage of CPU core usage
  • get_average_usage() Returns the percentage of CPU usage
  • get_info() Returns cpu info table

Cpu info table keys

  • name - Name
  • health - Health, condition
  • total_cores - Number of cores