LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lxc-top

displays real-time resource usage of LXC containers similar to top for processes

TLDR

Start lxc-top
$ lxc-top
copy
Set update interval
$ lxc-top --delay 5
copy
Sort by criteria
$ lxc-top --sort [n|c|b|m|k]
copy

SYNOPSIS

lxc-top [options]

DESCRIPTION

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.

PARAMETERS

-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

DISPLAY COLUMNS

Container: Container nameCPU: CPU usage percentageMemUse: Memory usageMemLim: Memory limitBLKIO: Block I/O statistics

INSTALL

sudo apt install lxc
copy
sudo dnf install lxc
copy
sudo pacman -S lxc
copy
sudo apk add lxc
copy
sudo zypper install lxc
copy
brew install lxc
copy
nix profile install nixpkgs#lxc
copy

SEE ALSO

lxc-info(1), lxc-ls(1), top(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid