{"id":13414119,"url":"https://github.com/bcicen/ctop","last_synced_at":"2025-05-12T05:13:15.847Z","repository":{"id":37491322,"uuid":"77419377","full_name":"bcicen/ctop","owner":"bcicen","description":"Top-like interface for container metrics","archived":false,"fork":false,"pushed_at":"2024-07-08T11:15:48.000Z","size":3616,"stargazers_count":16011,"open_issues_count":112,"forks_count":533,"subscribers_count":173,"default_branch":"master","last_synced_at":"2025-05-12T02:38:41.801Z","etag":null,"topics":["command-line","commandline","containers","docker","monitoring","runc","top"],"latest_commit_sha":null,"homepage":"https://ctop.sh","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcicen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-27T02:25:57.000Z","updated_at":"2025-05-11T13:37:51.000Z","dependencies_parsed_at":"2024-11-18T08:10:56.914Z","dependency_job_id":null,"html_url":"https://github.com/bcicen/ctop","commit_stats":{"total_commits":553,"total_committers":48,"mean_commits":"11.520833333333334","dds":0.3707052441229657,"last_synced_commit":"59f00dd6aaebf48f3bc501e174f75f815c2619f0"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fctop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fctop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fctop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fctop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcicen","download_url":"https://codeload.github.com/bcicen/ctop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672614,"owners_count":21945477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","commandline","containers","docker","monitoring","runc","top"],"created_at":"2024-07-30T20:01:58.189Z","updated_at":"2025-05-12T05:13:15.822Z","avatar_url":"https://github.com/bcicen.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"200px\" src=\"/_docs/img/logo.png\" alt=\"ctop\"/\u003e\u003c/p\u003e\n\n#\n\n![release][release] ![homebrew][homebrew] ![macports][macports] ![scoop][scoop]\n\nTop-like interface for container metrics\n\n`ctop` provides a concise and condensed overview of real-time metrics for multiple containers:\n\u003cp align=\"center\"\u003e\u003cimg src=\"_docs/img/grid.gif\" alt=\"ctop\"/\u003e\u003c/p\u003e\n\nas well as a [single container view][single_view] for inspecting a specific container.\n\n`ctop` comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future releases.\n\n## Install\n\nFetch the [latest release](https://github.com/bcicen/ctop/releases) for your platform:\n\n#### Debian/Ubuntu\n\nMaintained by a [third party](https://packages.azlux.fr/)\n```bash\nsudo apt-get install ca-certificates curl gnupg lsb-release\ncurl -fsSL https://azlux.fr/repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/azlux-archive-keyring.gpg\necho \\\n  \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian \\\n  $(lsb_release -cs) main\" | sudo tee /etc/apt/sources.list.d/azlux.list \u003e/dev/null\nsudo apt-get update\nsudo apt-get install docker-ctop\n```\n\n#### Arch\n\n```bash\nsudo pacman -S ctop\n```\n\n_`ctop` is also available for Arch in the [AUR](https://aur.archlinux.org/packages/ctop-bin/)_\n\n\n#### Linux (Generic)\n\n```bash\nsudo wget https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-linux-amd64 -O /usr/local/bin/ctop\nsudo chmod +x /usr/local/bin/ctop\n```\n\n#### OS X\n\n```bash\nbrew install ctop\n```\nor\n```bash\nsudo port install ctop\n```\nor\n```bash\nsudo curl -Lo /usr/local/bin/ctop https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-darwin-amd64\nsudo chmod +x /usr/local/bin/ctop\n```\n\n#### Windows\n\n`ctop` is available in [scoop](https://scoop.sh/):\n\n```powershell\nscoop install ctop\n```\n\n#### Docker\n\n```bash\ndocker run --rm -ti \\\n  --name=ctop \\\n  --volume /var/run/docker.sock:/var/run/docker.sock:ro \\\n  quay.io/vektorlab/ctop:latest\n```\n\n## Building\n\nBuild steps can be found [here][build].\n\n## Usage\n\n`ctop` requires no arguments and uses Docker host variables by default. See [connectors][connectors] for further configuration options.\n\n### Config file\n\nWhile 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`).\n\nConfig file values will be loaded and applied the next time `ctop` is started.\n\n### Options\n\nOption | Description\n--- | ---\n`-a`\t| show active containers only\n`-f \u003cstring\u003e` | set an initial filter string\n`-h`\t| display help dialog\n`-i`  | invert default colors\n`-r`\t| reverse container sort order\n`-s`  | select initial container sort field\n`-v`\t| output version information and exit\n\n### Keybindings\n\n|           Key            | Action                                                     |\n| :----------------------: | ---------------------------------------------------------- |\n| \u003ckbd\u003e\u0026lt;ENTER\u0026gt;\u003c/kbd\u003e | Open container menu                                        |\n|       \u003ckbd\u003ea\u003c/kbd\u003e       | Toggle display of all (running and non-running) containers |\n|       \u003ckbd\u003ef\u003c/kbd\u003e       | Filter displayed containers (`esc` to clear when open)     |\n|       \u003ckbd\u003eH\u003c/kbd\u003e       | Toggle ctop header                                         |\n|       \u003ckbd\u003eh\u003c/kbd\u003e       | Open help dialog                                           |\n|       \u003ckbd\u003es\u003c/kbd\u003e       | Select container sort field                                |\n|       \u003ckbd\u003er\u003c/kbd\u003e       | Reverse container sort order                               |\n|       \u003ckbd\u003eo\u003c/kbd\u003e       | Open single view                                           |\n|       \u003ckbd\u003el\u003c/kbd\u003e       | View container logs (`t` to toggle timestamp when open)    |\n|       \u003ckbd\u003ee\u003c/kbd\u003e       | Exec Shell                                                 |\n|       \u003ckbd\u003ec\u003c/kbd\u003e       | Configure columns                                          |\n|       \u003ckbd\u003eS\u003c/kbd\u003e       | Save current configuration to file                         |\n|       \u003ckbd\u003eq\u003c/kbd\u003e       | Quit ctop                                                  |\n\n[build]: _docs/build.md\n[connectors]: _docs/connectors.md\n[single_view]: _docs/single.md\n[release]: https://img.shields.io/github/release/bcicen/ctop.svg \"ctop\"\n[homebrew]: https://img.shields.io/homebrew/v/ctop.svg \"ctop\"\n[macports]: https://repology.org/badge/version-for-repo/macports/ctop.svg?header=macports \"ctop\"\n[scoop]: https://img.shields.io/scoop/v/ctop?bucket=main \"ctop\"\n\n## Alternatives\n\nSee [Awesome Docker list](https://github.com/veggiemonk/awesome-docker/blob/master/README.md#terminal) for similar tools to work with Docker. \n","funding_links":[],"categories":["Container Operations","Utilities","Go","Misc","Docker","3. Collect","Operation System","1. System Overview","Command Line Tools","Containers","monitoring","Other","容器管理与运维 (Container Operations)","其他__大数据","Docker-Tools","容器工具","docker","Management Tools","Development","runc","System","工具库","开源工具","\u003ca name=\"vm\"\u003e\u003c/a\u003eContainerization and virtualization","Table of Contents","實用工具","tools","公用事业公司","Utility","工具库`可以提升效率的通用代码库和工具`","实用工具"],"sub_categories":["User Interface","HTTP Clients","Utility/Miscellaneous","Snippets Manager","Metrics","Monitoring","终端工具 (Terminal / CLI Tools)","Container tools","网络服务_其他","Advanced Console UIs","Docker","查询语","命令行工具","高級控制台界面","实用程序/Miscellaneous","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","Fail injection","高级控制台界面"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fctop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcicen%2Fctop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fctop/lists"}