How to Install and Uninstall conmon Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "conmon" package

Learn how to install conmon on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install conmon

2. Uninstall "conmon" package

Please follow the step by step instructions below to uninstall conmon on Ubuntu 21.10 (Impish Indri):

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

3. Information about the conmon package on Ubuntu 21.10 (Impish Indri)

Package: conmon
Architecture: amd64
Version: 2.0.25+ds1-1.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: 164
Depends: libc6 (>= 2.17), libglib2.0-0 (>= 2.35.8), libsystemd0
Filename: pool/universe/c/conmon/conmon_2.0.25+ds1-1.1_amd64.deb
Size: 35120
MD5sum: 2e7d40f138210dd65708395202b6769d
SHA1: 78daef3c4ebdf47a560f7d463849a111d6dcb26c
SHA256: 82f546d7dd56245cbc149970ba0fd559682840d2b1169a1275c5cad6cee02907
SHA512: 0409375930740df22c891a500fe5b77a0c7a3c67a597924a7e4793033a0d4c67ef89245d010cadec7449c722a90d6cbf30621089c4b76113456c659dfed5f647
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