How to Install and Uninstall conmon Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "conmon" package

Please follow the instructions below to install conmon on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install conmon

2. Uninstall "conmon" package

Please follow the guidelines below to uninstall conmon on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the conmon package on Ubuntu 21.04 (Hirsute Hippo)

Package: conmon
Architecture: amd64
Version: 2.0.25+ds1-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_amd64.deb
Size: 33148
MD5sum: 0fce7195bc1cb3fc156f9d9ce406a236
SHA1: ca6080b35fc14dffe21c5d7165bb94b00e0bb315
SHA256: e55a0110c47fc24e3802bb14d51131b43715ff7325bc3caac9bdad3f4708bf2d
SHA512: 5ab75a92a568a9db19a417e1345f63f63cd9b4cd640fc6188614dfd491f5aa9ead283393fe93f8e7c49ca54adcdebe1804de9d9bf6dfff0da6609c3d43b94cdf
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