OS Manuals

/usr/bin/conmon

OCI container runtime monitor

From conmon 2.2.1-r3 (os), captured 2026-11-05 by running conmon --help (exit 0). permalink

Usage:
  conmon [OPTION…] - conmon utility

Help Options:
  -h, --help                         Show help options

Application Options:
  --api-version                      Conmon API version to use
  -b, --bundle                       Location of the OCI Bundle path
  -c, --cid                          Identification of Container
  -P, --conmon-pidfile               PID file for the conmon process
  -p, --container-pidfile            PID file for the initial pid inside of container
  -u, --cuuid                        Container UUID
  -e, --exec                         Exec a command into a running container
  --exec-attach                      Attach to an exec session
  --exec-process-spec                Path to the process spec for execution
  --exit-command                     Path to the program to execute when the container terminates its execution
  --exit-command-arg                 Additional arg to pass to the exit command.  Can be specified multiple times
  --exit-delay                       Delay before invoking the exit command (in seconds)
  --exit-dir                         Path to the directory where exit files are written
  --leave-stdin-open                 Leave stdin open when attached client disconnects
  --log-level                        Print debug logs based on log level
  -l, --log-path                     Log file path
  --log-size-max                     Maximum size of log file
  --log-global-size-max              Maximum size of all log files
  --log-tag                          Additional tag to use for logging
  --log-label                        Additional label to include in logs. Can be specified multiple times
  --no-container-partial-message     Do not set CONTAINER_PARTIAL_MESSAGE=true for partial lines in journald logs (journald driver only)
  -n, --name                         Container name
  --no-new-keyring                   Do not create a new session keyring for the container
  --no-pivot                         Do not use pivot_root
  --no-sync-log                      Do not manually call sync on logs after container shutdown
  -0, --persist-dir                  Persistent directory for a container that can be used for storing container data
  --replace-listen-pid               Replace listen pid if set for oci-runtime pid
  --restore                          Restore a container from a checkpoint
  -r, --runtime                      Path to store runtime data for the container
  --runtime-arg                      Additional arg to pass to the runtime. Can be specified multiple times
  --runtime-opt                      Additional opts to pass to the restore or exec command. Can be specified multiple times
  --sdnotify-socket                  Path to the host's sd-notify socket to relay messages to
  --socket-dir-path                  Location of container attach sockets
  -i, --stdin                        Open up a pipe to pass stdin to the container
  --sync                             Keep the main conmon process as its child by only forking once
  --syslog                           Log to syslog (use with cgroupfs cgroup manager)
  -s, --systemd-cgroup               Enable systemd cgroup manager, rather then use the cgroupfs directly
  -t, --terminal                     Allocate a pseudo-TTY. The default is false
  -T, --timeout                      Kill container after specified timeout in seconds.
  --version                          Print the version and exit
  --full-attach                      Don't truncate the path to the attach socket. This option causes conmon to ignore --socket-dir-path
  --seccomp-notify-socket            Path to the socket where the seccomp notification fd is received
  --seccomp-notify-plugins           Plugins to use for managing the seccomp notifications
  --log-rotate                       Enable log rotation instead of truncation when log-size-max is reached
  --log-max-files                    Number of backup log files to keep (default: 1)
  --log-allowlist-dir                Allowed log directory
Options (47)
OptionDescriptionSource
-h, --help ShowShow help optionshelp + man
--api-version ConmonConmon API version to usehelp + man
-b, --bundle LocationLocation of the OCI Bundle pathhelp + man
-c, --cid IdentificationIdentification of Containerhelp + man
-P, --conmon-pidfile PIDPID file for the conmon processhelp + man
-p, --container-pidfile PIDPID file for the initial pid inside of containerhelp + man
-u, --cuuid SpecifyContainer UUIDhelp + man
-e, --exec ExecExec a command into a running containerhelp + man
--exec-attach AttachAttach to an exec sessionhelp + man
--exec-process-spec PathPath to the process spec for executionhelp + man
--exit-command PathPath to the program to execute when the container terminates its executionhelp + man
--exit-command-arg AdditionalAdditional arg to pass to the exit command.help + man
--exit-delay DelayDelay before invoking the exit command (in seconds)help + man
--exit-dir PathPath to the directory where exit files are writtenhelp + man
--leave-stdin-open LeaveLeave stdin open when attached client disconnectshelp + man
--log-level PrintPrint debug logs based on log levelhelp + man
-l, --log-path PathLog file pathhelp + man
--log-size-max MaximumMaximum size of log filehelp + man
--log-global-size-max MaximumMaximum size of all log fileshelp + man
--log-tag AdditionalAdditional tag to use for logginghelp + man
--log-labelAdditional label to include in logs.help
--no-container-partial-messageDo not set CONTAINER_PARTIAL_MESSAGE=true for partial lines in journald logs (journald driver only)help
-n, --name ContainerContainer namehelp + man
--no-new-keyring DoDo not create a new session keyring for the containerhelp + man
--no-pivot DoDo not use pivot_roothelp + man
--no-sync-log DoDo not manually call sync on logs after container shutdownhelp + man
-0, --persist-dir PersistentPersistent directory for a container that can be used for storing container datahelp + man
--replace-listen-pid ReplaceReplace listen pid if set for oci-runtime pidhelp + man
--restore RestoreRestore a container from a checkpointhelp + man
-r, --runtime PathPath to store runtime data for the containerhelp + man
--runtime-arg AdditionalAdditional arg to pass to the runtime.help + man
--runtime-opt AdditionalAdditional opts to pass to the restore or exec command.help + man
--sdnotify-socket PathPath to the host's sd-notify socket to relay messages tohelp + man
--socket-dir-path LocationLocation of container attach socketshelp + man
-i, --stdin OpenThis option tells conmon to setup the pipe regardless of whether there is a terminal connection.help + man
--sync KeepKeep the main conmon process as its child by only forking oncehelp + man
--syslog LogLog to syslog (use with cgroupfs cgroup manager)help + man
-s, --systemd-cgroup EnableEnable systemd cgroup manager, rather then use the cgroupfs directlyhelp + man
-t, --terminal AllocateWhen set to true, conmon will allocate a pseudo-tty and attach to the standard input of the container.help + man
-T, --timeout KillKill container after specified timeout in seconds.help + man
--version PrintPrint the version and exithelp + man
--full-attach Don'tDon't truncate the path to the attach socket.help + man
--seccomp-notify-socketPath to the socket where the seccomp notification fd is receivedhelp
--seccomp-notify-pluginsPlugins to use for managing the seccomp notificationshelp
--log-rotateEnable log rotation instead of truncation when log-size-max is reachedhelp
--log-max-files MaximumNumber of backup log files to keep (default: 1)help + man
--log-allowlist-dirAllowed log directoryhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.