t d dl Z d dlmZ d dlmZ dZd ad Zd Ze dk r! e e j
t dS dS ) N)CloudlinuxLimits)is_root_or_exitzcloudlinux-limits-profiling.binc p t } | t j dd ad S )N )r runsysargv _ret_code)clls )py/cllimits/cl_utils/cloudlinux-limits.pyworkr
s,
C%%III c t dt j v } | rt j d t }ddl}| d| t d|z ddl}| | }t d t |
d d dS t dS ) z
Main run function
z--profilingr Nzwork()zProfiling end; result saved to z&--------------------------------------timei )
r r r remove_PROFILING_REPORT_FILENSMEprofiler printpstatsStats
sort_statsprint_statsr
)is_profilingprofiler_logr r ps r mainr s CH,L
&&&1Hl+++
/,>???
LL&&
6777
V((-----
r __main__)r cllimits.lib.limitsr clcommon.utilsr r r
r
r __name__exit r r