v0.1.0
-----BEGIN PGP SIGNATURE-----

iQIyBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlpLIGEACgkQGPNoXAAi
v/PnSw/43OiIGWORhrop9wDh0ZpNMMkKmmFEJ7aMjACuOWoYS+WD9TxYwTKj4bix
IC1zDZtmVysqOkshkw/SK6j6qLmPbuv9nXSt/fYLZKB12dLpbImgCb4WaYoMaTs2
YkX7aJMzyMAUl0y7xcmxQ6HzExDt7nGnL7tyRSGUtBKcofPgvqA708OOx/0As2Fm
NnJC1LX+4LEnyfmBWHPRXLcVYa7xLQXLDgjB2q3b1ZgcbdZ+nCHrzOCZcb5APpdO
GlR7r5Wb0xrF9bJNv0jwNVenHlTtudmhRjJUPQiN3Zy5snnkUYxWqmSoMuSIiQ6E
llAncRdZcEO6EsABSFks/iXZSTlZ5U23sIgQQKipJHLREyPNdbiWPDglw0MerBp1
OxnCpqu8cULxAFRKUgjpeHI9u2yvdoFXmxJTX52GClISeaxge8YOliLK9fj7fxv5
jOoi7sHQAqbJUX1qfahNU68zRnUAT/pO3VaEUfUbMwau6y/wThU76qnm6ot4cPKI
GeFBBeR7sIGYGSkAnJ624xNVl+0DWQgR2sr8PL4rxdgRaUBIvlg9ZYXUFJJrV9MU
U4lXTt4dv1NvlB5SS+GIfKMAKj59mGjvMtKExmuAnGyDZxlSnNbvg2hMKdhV8oii
Pd5HnDrMROGoadeeFZVxX1K5CWBRsnpnsO/8RzeMxqzZvF6gVg==
=O1pZ
-----END PGP SIGNATURE-----
Bump version to v0.1.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: 3316c641d2f118e69daa2833c983cda2fe7fb0c7
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION
  10. chrome.png
  11. main.go
  12. types/
  13. vendor/
  14. version/
README.md

magneto

Travis CI

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

Installation

Binaries

Via Go

$ go get github.com/jessfraz/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 --help
                                  _
 _ __ ___   __ _  __ _ _ __   ___| |_ ___
| '_ ` _ \ / _` |/ _` | '_ \ / _ \ __/ _ \
| | | | | | (_| | (_| | | | |  __/ || (_) |
|_| |_| |_|\__,_|\__, |_| |_|\___|\__\___/
                 |___/

 Pipe runc events to a stats TUI (Text User Interface).
 Version: v0.1.0
 Build: 30036e2

  -d    run in debug mode
  -v    print version and exit (shorthand)
  -version
        print version and exit

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