Files
CyberPanel/plogical/getSystemInformation.pyc

19 lines
3.1 KiB
Plaintext
Raw Normal View History

2017-10-24 19:16:36 +05:00
<03>
MzYc@sSddlZddlZddlZddlZddlZddd<00><00>YZdS(i<><69><EFBFBD><EFBFBD>NtSystemInformationcBs<>eZejj<00>Zed<00><00>Zed<00><00>Zed<00><00>Zed<00><00>Zed<00><00>Z ed<00><00>Z
ed<00><00>Z ed<00><00>Z ed<00><00>Z RS( cCs
tj<00>S(N(tost
getloadavg(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pytcpuLoad scCsgtj<00>}|jd<00>}d}d}x9|D]1}|dkrJ|}Pn|dkr.d}q.q.W|S(Nt-ititwith(tplatformtsplit(tOSNametdatatcheckert finalOSNametitems((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt getOSNames     cCstjjd<00>S(Ns%I:%M(Rtnowtstrftime(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pytgetCurrentSystemTime#scCstjjd<00>S(Ns%a(RRR(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pytcurrentWeekDay'scCstjjd<00>S(Ns%B(RRR(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt currentMonth+scCstjjd<00>S(Ns%Y(RRR(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt currentYear/scCstjjd<00>S(Ns%d(RRR(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt
currentDay3sc Cs<>tj<00>}tj<00>}tj<00>}tj<00>}tj<00>}tj<00>}tj<00>}t|<00>}|d}|d}|d} i
|d6|d6|d6|d6|d6|d 6|d
6|d 6|d 6| d 6}
|
S(NiiitweekDayNameInStringtcurrentMonthNametcurrentDayInDecimalRR tloadAVGt currentTimetonettwotthree( RRRRRRRRtlist( R t loadAverageRRRRRRRRR
((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt
getAllInfo7s        


&cCsxittjtj<00>d<19><00>d6ttjtj<00><00><00>d6ttjtjd<00>d<19><00>d6}tj|<00>}|S(NitramUsagetcpuUsaget/it diskUsage( tinttmathtfloortpsutiltvirtual_memoryt cpu_percentt
disk_usagetjsontdumps(t
SystemInfot json_data((s6/var/www/html/CyberCP/plogical/getSystemInformation.pytgetSystemInformationLse(t__name__t
__module__tdatetimeRt staticmethodRRRRRRRR R0(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyRs((RRR3R,R&R(((s6/var/www/html/CyberCP/plogical/getSystemInformation.pyt<module>s