KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /usr/share/dstat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/dstat/dstat_cpufreq.pyo
�
J3Kc@sdefd��YZdS(tdstat_plugincBs;eZdZd�Zd�Zd�Zd�Zd�ZRS(s:
    CPU frequency in percentage as reported by ACPI.
    cCs(d|_d|_d|_d|_dS(Nt	frequencytpii"(tnamettypetwidthtscale(tself((s!/usr/share/dstat/dstat_cpufreq.pyt__init__s			cCsSxLtjd�D];}tj|dtj�stdtjj|��qqWdS(Ns!/sys/devices/system/cpu/cpu[0-9]*s/cpufreq/scaling_cur_freqs+Cannot access acpi %s frequency information(tglobtostaccesstR_OKt	Exceptiontpathtbasename(Rtcpu((s!/usr/share/dstat/dstat_cpufreq.pytcheckscCsGg}x0tjd�D]}|jtjj|��qW|j�|S(Ns!/sys/devices/system/cpu/cpu[0-9]*(R	tappendR
RRtsort(RtretR((s!/usr/share/dstat/dstat_cpufreq.pytvarss

cCs g|jD]}|j�^q
S(N(Rtlower(RR((s!/usr/share/dstat/dstat_cpufreq.pytnickscCs#x|jD]}x>td|d�j�D]"}|j�}t|d�}q+Wx>td|d�j�D]"}|j�}t|d�}qlWtd|d�|j||d||j|<tjr�|j|t	|j
|<n|j||j
|<ttjkr
d|j|<q
q
WdS(Ns/sys/devices/system/cpu/s/cpufreq/scaling_max_freqis/cpufreq/scaling_cur_freqgY@(
Rtdopent	readlinestsplittinttdclosetset1toptupdatetelapsedtvaltsteptdelay(RRtlinetltmaxtcur((s!/usr/share/dstat/dstat_cpufreq.pytextracts!! 	(t__name__t
__module__t__doc__RRRRR((((s!/usr/share/dstat/dstat_cpufreq.pyRs				N(tdstatR(((s!/usr/share/dstat/dstat_cpufreq.pyt<module>s

Anon7 - 2021