Control and monitor your system.
Project homepage: https://github.com/eerimoq/bunga
$ pip install bunga
Connect to your system (in this case the Monolinux example project)
and execute the df
command.
Stream logs from your system to your PC.
Plot any command output over time. The plot below shows the CPU load.
$ bunga plot cpu
Press h
or ?
to show the help.
Define plots in ~/.bunga-plot.json
.
{
"cpu": {
"title": "CPU [%]",
"command": "cat proc/stat",
"pattern": "cpu\\s+\\d+\\s+\\d+\\s+\\d+\\s+(\\d+)",
"algorithm": "delta",
"interval": 2,
"timespan": 60
"scale": -1,
"offset": 100,
"y-min": 0,
"y-max": 100
},
"uptime": {
"title": "Uptime [s]",
"command": "cat proc/uptime",
"max-age": 600
}
}
Execute given command, ls
in the example below, and print its
output.
$ bunga execute ls
mnt etc proc init root dev
Get a file from your system.
$ bunga get_file README.rst
100%|█████████████████████████████████████| 1.19k/1.19k [00:00<00:00, 74.1kB/s]
Put a file on your system.
$ bunga put_file README.rst
100%|█████████████████████████████████████| 1.19k/1.19k [00:00<00:00, 24.1kB/s]