Go to file
2017-03-07 14:48:44 +11:00
config lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
cwidgets convert expanded mem widget to mbarchart, add innerlabel 2017-03-07 10:58:04 +11:00
logging lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
metrics tweak mock source, add excluding build tag 2017-03-07 13:14:16 +11:00
widgets add stream to input widget, realtime filtering updates 2017-03-07 12:47:07 +11:00
container.go add WidgetUpdater interface to container, replace struct fields with metamap 2017-03-06 19:25:59 +11:00
cursor.go remove Grid struct, move cursor into own package file 2017-03-06 14:03:05 +11:00
debug.go add WidgetUpdater interface to container, replace struct fields with metamap 2017-03-06 19:25:59 +11:00
dockersource.go add resize handlers, screen width error to expandedWidgets 2017-03-07 09:05:04 +11:00
grid.go add stream to input widget, realtime filtering updates 2017-03-07 12:47:07 +11:00
main.go add version, help printing to main() 2017-03-07 12:04:45 +11:00
menus.go add stream to input widget, realtime filtering updates 2017-03-07 12:47:07 +11:00
mocksource.go tweak mock source, add excluding build tag 2017-03-07 13:14:16 +11:00
README.md add screencaps to readme 2017-03-07 14:48:44 +11:00
sort.go add WidgetUpdater interface to container, replace struct fields with metamap 2017-03-06 19:25:59 +11:00
VERSION add version, build vars 2017-03-07 11:13:48 +11:00

ctop

Top-like interface for container metrics

ctop provides a concise and condensed overview of real-time metrics for multiple containers: compact

as well as an expanded view for examining a specific container: expanded

Install

Fetch the latest release for your platform:

Linux

wget https://github.com/bcicen/ctop/releases/download/v0.1/ctop-0.1-linux-amd64 -O ctop
sudo mv ctop /usr/local/bin/
sudo chmod +x /usr/local/bin/ctop

OS X

curl -Lo ctop https://github.com/bcicen/ctop/releases/download/v0.1/ctop-0.1-darwin-amd64
sudo mv ctop /usr/local/bin/
sudo chmod +x /usr/local/bin/ctop

Usage

cTop requires no arguments and will configure itself using the DOCKER_HOST environment variable

export DOCKER_HOST=tcp://127.0.0.1:4243
ctop

Keybindings

Key Action
a Toggle display of all (running and non-running) containers
f Filter displayed containers
H Toggle cTop header
h Open help dialog
s Select container sort field
r Reverse container sort order
q Quit cTop