All Projects → bcicen → Ctop

bcicen / Ctop

Licence: mit
Top-like interface for container metrics

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Ctop

Nagios Plugins Linux
🐧 Nagios Plugins for Linux
Stars: ✭ 42 (-99.66%)
Mutual labels:  monitoring, containers
Swiftline
Swiftline is a set of tools to help you create command line applications.
Stars: ✭ 1,156 (-90.52%)
Mutual labels:  commandline, command-line
Giropops Monitoring
Full stack tools for monitoring containers and other stuff. ;)
Stars: ✭ 1,019 (-91.64%)
Mutual labels:  monitoring, containers
Mesos Cli
Alternative Apache Mesos CLI
Stars: ✭ 37 (-99.7%)
Mutual labels:  command-line, containers
Grmon
Command line monitoring for goroutines
Stars: ✭ 1,703 (-86.03%)
Mutual labels:  command-line, top
Scale
Pharo in the shell
Stars: ✭ 41 (-99.66%)
Mutual labels:  commandline, command-line
Ntutils
Various Command Line Utilities Ported to Windows NT
Stars: ✭ 58 (-99.52%)
Mutual labels:  commandline, command-line
Scope
Monitoring, visualisation & management for Docker & Kubernetes
Stars: ✭ 5,247 (-56.95%)
Mutual labels:  monitoring, containers
Pipeline
Banzai Cloud Pipeline is a solution-oriented application platform which allows enterprises to develop, deploy and securely scale container-based applications in multi- and hybrid-cloud environments.
Stars: ✭ 1,445 (-88.14%)
Mutual labels:  monitoring, containers
Mist Ce
Mist is an open source, multi-cloud management platform
Stars: ✭ 1,391 (-88.59%)
Mutual labels:  monitoring, containers
Pm2
Node.js Production Process Manager with a built-in Load Balancer.
Stars: ✭ 36,126 (+196.41%)
Mutual labels:  command-line, monitoring
Bottom
Yet another cross-platform graphical process/system monitor.
Stars: ✭ 3,182 (-73.89%)
Mutual labels:  monitoring, top
Clipp
easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation
Stars: ✭ 687 (-94.36%)
Mutual labels:  commandline, command-line
Cilium
eBPF-based Networking, Security, and Observability
Stars: ✭ 10,256 (-15.85%)
Mutual labels:  monitoring, containers
Conprof
Continuous profiling for performance analysis of CPU, memory over time.
Stars: ✭ 571 (-95.32%)
Mutual labels:  monitoring, containers
Kapo
Wrap any command in a status socket
Stars: ✭ 45 (-99.63%)
Mutual labels:  monitoring, containers
Dogvscat
Sample Docker Swarm cluster stack of tools
Stars: ✭ 377 (-96.91%)
Mutual labels:  monitoring, containers
Cobra
A Commander for modern Go CLI interactions
Stars: ✭ 24,437 (+100.5%)
Mutual labels:  commandline, command-line
Sampler
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Stars: ✭ 9,203 (-24.49%)
Mutual labels:  command-line, monitoring
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-98.88%)
Mutual labels:  commandline, command-line

ctop

release homebrew macports

Top-like interface for container metrics

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

ctop

as well as a single container view for inspecting a specific container.

ctop comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future releases.

Install

Fetch the latest release for your platform:

Debian/Ubuntu

Maintained by a third party

echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
sudo apt update
sudo apt install docker-ctop

Arch

ctop is available for Arch in the AUR

Linux (Generic)

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

OS X

brew install ctop

or

sudo port install ctop

or

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

Docker

docker run --rm -ti \
  --name=ctop \
  --volume /var/run/docker.sock:/var/run/docker.sock:ro \
  quay.io/vektorlab/ctop:latest

Building

Build steps can be found here.

Usage

ctop requires no arguments and uses Docker host variables by default. See connectors for further configuration options.

Config file

While running, use S to save the current filters, sort field, and other options to a default config path (~/.config/ctop/config on XDG systems, else ~/.ctop).

Config file values will be loaded and applied the next time ctop is started.

Options

Option Description
-a show active containers only
-f <string> set an initial filter string
-h display help dialog
-i invert default colors
-r reverse container sort order
-s select initial container sort field
-v output version information and exit

Keybindings

Key Action
<ENTER> Open container menu
a Toggle display of all (running and non-running) containers
f Filter displayed containers (esc to clear when open)
H Toggle ctop header
h Open help dialog
s Select container sort field
r Reverse container sort order
o Open single view
l View container logs (t to toggle timestamp when open)
e Exec Shell
c Configure columns
S Save current configuration to file
q Quit ctop

Alternatives

See Awesome Docker list for similar tools to work with Docker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].