HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lxc-top — Display resource usage of LXC containers. More information: <https://linuxcontainers.org/lxc/manpage

Submitted by: @import:tldr-pages··
0
Viewed 0 times
resourceusagecommandclilxc-toplxcdisplaycontainers
linux

Problem

How to use the lxc-top command: Display resource usage of LXC containers. More information: <https://linuxcontainers.org/lxc/manpages/man1/lxc-top.1.html>.

Solution

lxc-top — Display resource usage of LXC containers. More information: <https://linuxcontainers.org/lxc/manpages/man1/lxc-top.1.html>.

Start lxc-top:
lxc-top


Adjust update interval:
lxc-top {{[-d|--delay]}} {{5}}


Sort by [n]ame, [c]pu use, [b]lock I/O, [m]emory, or [k]ernel memory:
lxc-top {{[-s|--sort]}} {{n|c|b|m|k}}

Code Snippets

Start `lxc-top`

lxc-top

Adjust update interval

lxc-top {{[-d|--delay]}} {{5}}

Sort by [n]ame, [c]pu use, [b]lock I/O, [m]emory, or [k]ernel memory

lxc-top {{[-s|--sort]}} {{n|c|b|m|k}}

Context

tldr-pages: linux/lxc-top

Revisions (0)

No revisions yet.