cu-consolemon

Crates.iocu-consolemon
lib.rscu-consolemon
version
sourcesrc
created_at2024-10-12 19:57:20.960027
updated_at2024-12-05 22:14:55.499725
descriptionA monitoring TUI for Copper. See the main Copper repository for more information.
homepagehttps://github.com/copper-project
repositoryhttps://github.com/copper-project/copper-rs
max_upload_size
id1406829
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Guillaume Binet (gbin)

documentation

README

ConsoleMon

Tasks

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.

Usage

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).

Commit count: 461

cargo fmt