Crates.io | cu-consolemon |
lib.rs | cu-consolemon |
version | 0.4.0 |
source | src |
created_at | 2024-10-12 19:57:20.960027 |
updated_at | 2024-10-29 05:15:45.89931 |
description | A monitoring TUI for Copper. See the main Copper repository for more information. |
homepage | https://github.com/copper-project |
repository | https://github.com/copper-project/copper-rs |
max_upload_size | |
id | 1406829 |
size | 119,891 |
Note: This is part of the Copper project. See the main project page for context.
The ConsoleMon is a simple monitor that display the current state of the robot to the console in an TUI. It is useful for monitoring a robot quickly over ssh or in a terminal.
Add it as a dependency in your Cargo.toml
:
[dependencies]
cu-consolemon = "*"
And in you copperconfig.ron:
(
tasks: [
( ...
),
],
cnx: [
( ... ),
],
monitor: (
type: "cu_consolemon::CuConsoleMon", // <== Here
)
)
The monitor has 3 screens:
SysInfo: A quick sustem information screen (CPU, Memory, Distrib ...)
DAG: A Directed Acyclic Graph of the tasks with their real time error status and short string info.
Latencies: A list of the tasks with their real time latencies & assorted statistics (Jitter, Min, Max, Avg).