How to Install and Uninstall conmon Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: October 06,2024

1. Install "conmon" package

Learn how to install conmon on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install conmon

2. Uninstall "conmon" package

This guide let you learn how to uninstall conmon on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove conmon $ sudo apt autoclean && sudo apt autoremove

3. Information about the conmon package on Ubuntu 20.10 (Groovy Gorilla)

Package: conmon
Architecture: amd64
Version: 2.0.20-1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Podman Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 97
Depends: libc6 (>= 2.17), libglib2.0-0 (>= 2.35.8), libsystemd0
Filename: pool/universe/c/conmon/conmon_2.0.20-1_amd64.deb
Size: 29596
MD5sum: 9438942db52ae96850e25c2e412fc2c9
SHA1: ab558c09e1d01a279c8fb0be544c072c75c214df
SHA256: c6c73a21dba0ed3aeb748e63424623f354e4483c1233b2704be4fe5401c023de
SHA512: fbbeccc8550f0f3f182c0d2aa85c581374a816ffa945a1b0142d85eb0a07be641d8e38a59f491e0327e89fa7c32b79d2fef365c25e8e5ea703d7307c3bb895d7
Homepage: https://github.com/containers/conmon
Description-en: OCI container runtime monitor
Conmon is a monitoring program and communication tool between a container
manager (like podman or CRI-O) and an OCI runtime (like runc or crun) for a
single container.
.
Upon being launched, it double-forks to daemonize and detach from the parent
that launched it. It then launches the runtime as its child. This allows
managing processes to die in the foreground, but still be able to watch over
and connect to the child process (the container).
.
While the container runs, conmon does two things:
.
- Provides a socket for attaching to the container, holding open the
container's standard streams and forwarding them over the socket.
- Writes the contents of the container's streams to a log file (or to the
systemd journal) so they can be read after the container's death.
.
Finally, upon the containers death, conmon will record its exit time and code
to be read by the managing programs.
.
Written in C and designed to have a low memory footprint, conmon is intended to
be run by a container managing library. Essentially, conmon is the smallest
daemon a container can have.
Description-md5: 786c9a3438be4723bf60d40dd2db71a6