LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lxc-info

displays information about a Linux container including its state, PID, IP

TLDR

Get container info
$ sudo lxc-info [container_name]
copy
Display help
$ lxc-info --help
copy

SYNOPSIS

lxc-info -n name [options]

DESCRIPTION

lxc-info displays information about a Linux container including its state, PID, IP addresses, CPU and memory usage.

PARAMETERS

-n, --name NAME

Container name
-s, --state
Show state only
-p, --pid
Show PID only
-i, --ips
Show IP addresses only
-c, --config KEY
Show specific config value
-S, --stats
Show usage statistics
-?, --help
Display help information

OUTPUT

Name: Container nameState: RUNNING, STOPPED, FROZENPID: Container init PIDIP: IP addressesCPU use: CPU usageMemory use: Memory usage

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

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