Linux command
gotop 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start gotop
gotop
Use specific color scheme
gotop -c [monokai]
Show per-CPU usage
gotop -p
Use minimal layout
gotop -m
Show battery widget
gotop -b
Set update interval
gotop -r [500ms]
Disable CPU graph
gotop --no-cpu
Use specific network interface
gotop -i [eth0]
说明
gotop is a terminal-based graphical activity monitor inspired by gtop and vtop. It displays CPU, memory, disk, network, and process information with ASCII graphs in real-time widget panels. Color schemes like monokai, solarized, and vice change the appearance. Custom layouts with -l allow rearranging and resizing widgets using YAML format. Process sorting supports CPU, memory, and PID columns with filtering and kill capabilities.
参数
- -c, --color _scheme_
- Color scheme: default, monokai, solarized, vice, etc.
- -p, --percpu
- Show each CPU core separately.
- -a, --averagecpu
- Show average CPU usage.
- -m, --minimal
- Minimal terminal UI.
- -b, --battery
- Show battery widget.
- -r, --rate _duration_
- Update interval. Default: 1s.
- -i, --interface _name_
- Network interface filter.
- -l, --layout _file_
- Custom layout file.
- --no-cpu
- Disable CPU widget.
- --no-disk
- Disable disk widget.
- --no-mem
- Disable memory widget.
- --no-net
- Disable network widget.
- -V, --version
- Display version information.
- -h, --help
- Display help information.
FAQ
What is the gotop command used for?
gotop is a terminal-based graphical activity monitor inspired by gtop and vtop. It displays CPU, memory, disk, network, and process information with ASCII graphs in real-time widget panels. Color schemes like monokai, solarized, and vice change the appearance. Custom layouts with -l allow rearranging and resizing widgets using YAML format. Process sorting supports CPU, memory, and PID columns with filtering and kill capabilities.
How do I run a basic gotop example?
Run `gotop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --color _scheme_ do in gotop?
Color scheme: default, monokai, solarized, vice, etc.