PATH:
usr
/
local
/
lib64
/
python3.9
/
site-packages
/
psutil
/
__pycache__
a ���i? � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlmZ dd lm Z dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ g Ze�� ZejZe jeje jej e j!ej"e j#ej$e j%ej&e j'ej(e j)ej*e j+ej,e j-ej.e j/ej0e j1ej2e j3ej4iZ5e j6ej7e j8ej9e j:ej;e j<ej=e j>ej?iZ@eAdddddddddddd�ZBeAddddddddd�ZCedg d ��ZDed!g d"��ZEed#g d$��ZFed%eFjGd& �ZHd'd(� ZId)d*� ZJd+d,� ZKd-d.� ZLd/d0� ZMd1d2� ZNd3d4� ZOd5d6� ZPejQZQe jRZRdMd8d9�ZSd:d;� ZTe jUZUejVZVdNd=d>�ZWd?d@� ZXdAdB� ZYdCdD� ZZdEdF� Z[ej\Z\dGdH� Z]dIdJ� Z^G dKdL� dL�Z_dS )OzmacOS platform implementation.� N)� namedtuple� )�_common)�_psposix)�_psutil_osx)� _psutil_posix)�AccessDenied)� NoSuchProcess)� ZombieProcess)� conn_tmap)�conn_to_ntuple)� isfile_strict)�memoize_when_activated)�parse_environ_block)� usage_percent)�PermissionError)�ProcessLookupError� � � � � � � � � )�ppid�ruid�euid�suid�rgid�egid�sgid�ttynr�ctime�status�name)�cpuutime�cpustime�rss�vms�pfaults�pageins� numthreads�volctxsw� scputimes��user�nice�system�idle�svmem)�total� available�percent�used�free�active�inactive�wired�pmem)r) r* r+ r, �pfullmem)�ussc C sT t �� \} }}}}}|| }|| }||8 }t| | | dd�}t| |||||||�S )z&System virtual memory as a namedtuple.r �Zround_)�cextZvirtual_memr r5 ) r6 r; r<