pub fn monitor_cpu(
tp_sender: Sender<TofPacket>,
moni_interval: u64,
thread_control: Arc<Mutex<ThreadControl>>,
verbose: bool,
)
Expand description
Monitor the main tof computer (sysinfo)
Get cpu usage, disk usage and temperature information for the main TOF CPU
Thread to be used with liftof-cc and friends
ยงArguments
- thread control - start/stop/halt/revive thread externally
- verbose - print monitoring information to the terminal