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

Clone this repo:
  1. fb3f26f Bump version to v0.2.4 by Jess Frazelle · 9 weeks ago master v0.2.4
  2. 856c927 docs: Update TOC by github-actions[bot] · 9 weeks ago
  3. 63afcb7 update to github actiions by Jess Frazelle · 9 weeks ago
  4. 64b7184 update travis by Jess Frazelle · 8 months ago
  5. 99d4876 Update ToC for README.md by toc-me[bot] · 1 year, 1 month ago

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.