Implement cpu usage monitor

This commit is contained in:
2022-05-12 12:50:42 +02:00
parent 7ff5f62413
commit 30b5bb77e8
11 changed files with 483 additions and 122 deletions

View File

@ -10,7 +10,8 @@ tui = "0.17.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
async-trait = "0.1.53"
[dependencies.tokio]
version = "1.17.0"
features = ["rt-multi-thread", "fs", "macros", "process", "sync", "time"]
features = ["rt-multi-thread", "fs", "macros", "process", "sync", "time", "io-util", "parking_lot"]