docs: Update TOC
1 file changed
tree: ea5cd695b485a978f315000060c191f0de253e3c
  1. .github/
  2. .gitignore
  3. .goosarch
  4. Dockerfile
  5. LICENSE
  6. Makefile
  7. README.md
  8. VERSION.txt
  9. basic.mk
  10. chrome.png
  11. go.mod
  12. go.sum
  13. main.go
  14. types/
  15. vendor/
  16. version/
README.md

magneto

make-all make-image GoDoc Github All Releases

Pipe runc events to a stats TUI (Text User Interface).

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/magneto

Usage

$ sudo runc events <container_id> | magneto
CPU %   MEM USAGE / LIMIT       MEM %     NET I/O               BLOCK I/O        PIDS
1.84%   108.8 MiB / 3.902 GiB   1.38%     54.86 MB / 792.8 kB   26.64 MB / 0 B   4

chrome.png

Usage with the docker-runc command that ships with docker

$ sudo docker-runc -root /run/docker/runtime-runc/moby events <container_id> | magneto
CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O           PIDS
100.12%             452KiB / 8EiB       0.00%               0B / 0B             0B / 0B             2
$ magneto -h
magneto -  Pipe runc events to a stats TUI (Text User Interface).

Usage: magneto <command>

Flags:

  -d  enable debug logging (default: false)

Commands:

  version  Show the version information.

NOTE: Almost all this is the exact same as docker stats, so thanks to everyone who made that possible.