Go to file
2017-03-07 12:15:05 +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 give metrics.MemPercent default negative value 2017-03-07 11:02:40 +11:00
widgets grid updates, fix menu alignment 2017-03-06 13:00:30 +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 resize handlers, screen width error to expandedWidgets 2017-03-07 09:05:04 +11:00
main.go add version, help printing to main() 2017-03-07 12:04:45 +11:00
menus.go lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
mocksource.go add WidgetUpdater interface to container, replace struct fields with metamap 2017-03-06 19:25:59 +11:00
README.md add install, usage to readme 2017-03-07 12:15:05 +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

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
h Open help dialog
s Select container sort field
r Reverse container sort order
q Quit ctop