File: //lib/python3/dist-packages/samba/netcmd/__pycache__/processes.cpython-310.pyc
o
�/ac � @ sH d dl Z d dlmZ d dlmZmZmZ d dlm Z G dd� de�Z
dS )� N)�Command�CommandError�Option)� Messagingc @ sX e Zd ZdZdZejejd�Ze de
dd�e dedd�gZg Z
d d
� Z ddd
�ZdS )�
cmd_processeszBList processes (to aid debugging on systems without setproctitle).z%prog [options])� sambaopts�versionoptsz--namez9Return only processes associated with one particular name)�type�helpz--pidz4Return only names associated with one particular PIDc C s� |� � }g }i }i }|D ]W}|jD ]Q}|j�d�r.|j�d�}|d d } |jd j|| <