Linux command
dtop 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch
dtop
Monitor
dtop [container1] [container2]
Refresh
dtop --refresh 5
Show
dtop --all
说明
dtop is a terminal-based dashboard for monitoring Docker containers in real-time. It provides a top/htop-like interface specifically designed for Docker, showing CPU usage, memory consumption, network I/O, and container status. The tool displays container metrics in a sortable table format with color-coded health indicators. It automatically refreshes to show current statistics and allows filtering to focus on specific containers or resource types.
参数
- -r, --refresh _SECONDS_
- Refresh interval in seconds (default: 2)
- -a, --all
- Show all containers including stopped
- --no-trunc
- Don't truncate container names
- --cpu-only
- Show only CPU metrics
- --memory-only
- Show only memory metrics
- --network-only
- Show only network metrics
- -c, --config _FILE_
- Configuration file path
- -v, --version
- Display version and exit
- -h, --help
- Display help and exit
FAQ
What is the dtop command used for?
dtop is a terminal-based dashboard for monitoring Docker containers in real-time. It provides a top/htop-like interface specifically designed for Docker, showing CPU usage, memory consumption, network I/O, and container status. The tool displays container metrics in a sortable table format with color-coded health indicators. It automatically refreshes to show current statistics and allows filtering to focus on specific containers or resource types.
How do I run a basic dtop example?
Run `dtop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r, --refresh _SECONDS_ do in dtop?
Refresh interval in seconds (default: 2)