NyI`_xA d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ erddlmZ ej dk rddlZndZg dZd Ze9 eed r- ej d ed ej D Zd Znd Zddej e!edej e"ej# efdZ$d Z%e d Z&dS )z%Routines common to all posix systems. N )MACOSTimeoutExpired)memoize)
sdiskusage)
usage_percent)PY3)ChildProcessError)FileNotFoundError)InterruptedError)PermissionError)ProcessLookupError)unicode)_psutil_osx) )
pid_existswait_pid
disk_usageget_terminal_mapc | | dk rdS t j | d dS # t $ r Y dS t $ r Y dS w xY w)z6Check whether pid exists in the current process table.r TF)oskillr r )pids c/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/psutil/_psposix.pyr r ( sj
axx t
Q t uu tts !
; ;;Signals Negsignalc , g | ]}|j |j fS )namevalue).0xs r