hyb
2026-01-07 c7f60dc7e9a36596f0e0d1787bd0cca4e9b57bcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Ë
Iñúh³ãó”—dZddlZddlZddlZddlZddlZddlmZddlmZddlm    Z    ddlm
Z
ddlm Z erdd    l m Z gd
¢Zd „Zej d ej"Dcic]}|j$|j& “Œc}«Zd „Zddej,eedej
«eej2efd„Zd„Ze    d„«Zycc}w)z%Routines common to all posix systems.éNé)ÚMACOS©ÚTimeoutExpired)Úmemoize)Ú
sdiskusage)Ú usage_percent)Ú _psutil_osx)Ú
pid_existsÚwait_pidÚ
disk_usageÚget_terminal_mapcóp—|dk(ry    tj|d«y#t$rYyt$rYywxYw)z6Check whether pid exists in the current process table.rTF)ÚosÚkillÚProcessLookupErrorÚPermissionError)Úpids úBH:\Change_password\venv_build\Lib\site-packages\psutil/_psposix.pyr r sD€à
ˆa‚xð ð
Ü
‰QŒðøô òÙÜ òáðúsˆŸ    5ª5´5Ú    Negsignalcó<—    t|«S#t$r|cYSwxYw)z+Convert a negative signal value to an enum.)rÚ
ValueError)Únums rÚnegsig_to_enumr5s%€ðܘ‹~ÐøÜ òØŠ
ðús ‚
 šÚ    monotoniccó4‡‡‡‡‡‡‡—‰dkr d}t|«‚d}    d}
‰|
tjz}
‰«‰zŠˆˆˆˆˆˆˆfd„}         tj‰|
«\} } | dk(r    | |    «}    Œ)tj| «rtj
| «Stj | «rttj| « «Sd| ›}t|«‚#t$r | |    «}    Yn't$r|‰«r| |    «}    |‰«rŒYywxYwŒÑ)a›Wait for a process PID to terminate.
 
    If the process terminated normally by calling exit(3) or _exit(2),
    or by returning from main(), the return value is the positive integer
    passed to *exit().
 
    If it was terminated by a signal it returns the negated value of the
    signal which caused the termination (e.g. -SIGTERM).
 
    If PID is not a children of os.getpid() (current process) just
    wait until the process disappears and return None.
 
    If PID does not exist at all return None immediately.
 
    If *timeout* != None and process is still alive raise TimeoutExpired.
    timeout=0 is also possible (either return immediately or raise).
    rzcan't wait for PID 0g-Cëâ6?Ncó`•—‰‰«‰k\rt‰‰‰¬«‚‰|«‰|dzd«S)N)rÚnameég{®Gáz¤?r)ÚintervalÚ_minÚ_sleepÚ_timerrÚ    proc_nameÚstop_atÚtimeouts €€€€€€€rÚsleepzwait_pid.<locals>.sleepbs;ø€à Ð Ù‹x˜7Ò"Ü$ W°#¸IÔFÐFÙˆxÔِH˜q‘L $Ó'Ð'ózunknown process exit status ) rrÚWNOHANGÚwaitpidÚ    WIFEXITEDÚ WEXITSTATUSÚ WIFSIGNALEDrÚWTERMSIGÚInterruptedErrorÚChildProcessError)rr&r$Ú_waitpidr#r!r"Ú _pid_existsÚmsgr Úflagsr'ÚretpidÚstatusr%s``` ```       @rr r =s$þ€ð6 ˆa‚xà$ˆÜ˜‹oÐØ€HØ €EØÐØ ”—‘шٓ(˜WÑ$ˆ÷(ò(ð ð.    &ÜŸZ™Z¨¨UÓ3‰NˆFFð˜Š{á  ›?Øä|‰|˜FÔ#ô—~‘~ fÓ-Ð-Ü—‘ Ô'ô&¤r§{¡{°6Ó':Ð&:Ó;Ð;ð"5°V°JÐ?Ü  “oÐ%øôY ò    'Ù˜X“ŠHÜ ò        ñ˜cÔ"Ù  ›?ñ˜cÕ"áð        úð sÁ
CÃDÃ2 DÄDcóH—tj|«}|j|jz}|j|jz}|j
|jz}||z
}t rtj||«}||z}t||d¬«}t||||¬«S)a.Return disk usage associated with path.
    Note: UNIX usually reserves 5% disk space which is not accessible
    by user. In this function "total" and "used" values reflect the
    total and used disk space whereas "free" and "percent" represent
    the "free" and "used percent" user disk space.
    r)Úround_)ÚtotalÚusedÚfreeÚpercent) rÚstatvfsÚf_blocksÚf_frsizeÚf_bfreeÚf_bavailrr
Údisk_usage_usedr    r)ÚpathÚstr9Ú avail_to_rootÚ avail_to_userr:Ú
total_userÚusage_percent_users        rr r sŸ€ô
‰DÓ    €Bð K‰K˜"Ÿ+™+Ñ %€Eà—J‘J §¡Ñ,€Mà—K‘K "§+¡+Ñ-€Mà =Ñ  €DÝ ä×*Ñ*¨4°Ó6ˆð˜ Ñ%€Jô' t¨ZÀÔBÐô
ؘ$ ]Ð<Nô ðr(cóè—i}tjd«tjd«z}|D]0}||vsJ|«‚    ||tj|«j<Œ2|S#t$rYŒ@wxYw)zNGet a map of device-id -> path as a dict.
    Used by Process.terminal().
    z    /dev/tty*z
/dev/pts/*)ÚglobrÚstatÚst_rdevÚFileNotFoundError)ÚretÚlsrs   rrrÁs}€ð
€CÜ     ‰;Ó    ¤$§)¡)¨LÓ"9Ñ    9€BØòˆØ˜3‰Ð$ Ó$ˆð    Ø)-ˆC”—‘˜“ ×%Ñ%Ò &ðð €Jøô!ò    Ù ð    ús¿"A%Á%    A1Á0A1)Ú__doc__ÚenumrJrÚsignalÚtimeÚ_commonrrrrr    Úr
Ú__all__r ÚIntEnumÚSignalsrÚvaluerrr*ÚgetattrÚminr'r r r)Úxs0rú<module>r]sÈðñ
,ã Û Û    Û Û åÝ#ÝÝÝ"áÝò G€òð, ˆDL‰LبF¯N©NÖ; q!—&‘&˜1Ÿ7™7˜(Ñ"Ò;ó €    ò
ð ØØ Z‰ZÙ 4˜ d§i¡iÓ 0Ø     Ø :‰:Øó]&ò@!ðH    ñ ó    ñ ùòc<sÁC