%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/podman.cpython-312.pyc |
� i��d� � �6 � d dl mZmZmZmZ G d� deee� Zy)� )�Plugin�RedHatPlugin�UbuntuPlugin� PluginOptc �p � e Zd ZdZdZdZdZdZ edddd � � edddd � � eddd�� gZ d� Z d� Zy)�Podmana< Podman is a daemonless container management engine, and this plugin is meant to provide diagnostic information for both the engine and the containers that podman is managing. General status information will be collected from podman commands, while detailed inspections of certain components will provide more insight into specific container problems. This detailed inspection is provided for containers, images, networks, and volumes. Per-entity inspections will be recorded in subdirs within sos_commands/podman/ for each of those types. zPodman containers�podman)� container)r �allFz0collect for all containers, even terminated onesz�Enable collection for all containers that exist on the system regardless of their running state. This may cause a significant increase in sos archive size, especially when combined with the 'logs' option.)�default�desc� long_desc�logsz)collect stdout/stderr logs for containersz�Capture 'podman logs' output for discovered containers. This may be useful or not depending on how/if the container produces stdout/stderr output. Use cautiously when also using the 'all' option.�sizez!collect image sizes for podman ps)r r c � � | j g d�� | j ddd�� g d�}| j |D �cg c] }d|z �� c}� | j d� r| j dd � � | j ddg� | j d d�� }|d dk( rY|d j � dd D �cg c] }|j � d �� }}| j |D �cg c] }d|z �� c}dd�� | j d| j d� �� D �cg c] }|d �� }}| j d�� } | j d�� } |D ] }| j d|z dd�� � | D ]&