Linux command
lxc-top 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
lxc-top
Example
lxc-top --delay 5
Sort
lxc-top --sort [n|c|b|m|k]
说明
lxc-top displays real-time resource usage of LXC containers similar to top for processes. It shows CPU, memory, and I/O statistics for all running containers.
参数
- -d, --delay SECONDS
- Update interval (default: 3)
- -s, --sort CRITERIA
- Sort by: n(name), c(cpu), b(block I/O), m(memory), k(kernel memory)
- -r, --reverse
- Reverse sort order
- -?, --help
- Display help information
FAQ
What is the lxc-top command used for?
lxc-top displays real-time resource usage of LXC containers similar to top for processes. It shows CPU, memory, and I/O statistics for all running containers.
How do I run a basic lxc-top example?
Run `lxc-top` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --delay SECONDS do in lxc-top?
Update interval (default: 3)