PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
a h?@sddlmZddlZddlmZddlmZddl m Z ddl m Z ddl mZddlmZddlZddlZddlZddlZddlZddlZGd d d eZdS) )print_functionN)commands)Locator)TunedAdminDBusException)TunedException)ProfileRecommenderc@seZdZdddejejfddZddZddZ d d Z d d Z d dZ ddZ ddZddZddZddZddZddZddZdd Zdhd"d#Zdid$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Z d8d9Z!d:d;Z"dd?Z$d@dAZ%dBdCZ&dDdEZ'dFdGZ(dHdIZ)dJdKZ*dLdMZ+dNdOZ,dPdQZ-djdSdTZ.dkdUdVZ/dldWdXZ0dmdYdZZ1d[d\Z2d]d^Z3d_d`Z4dadbZ5dcddZ6dedfZ7dgS)nAdminTFcCsz||_||_||_||_t||_t||_t |_ d|_ d|_ d|_ d|_d|_||_t|_|jrp|nd|_dS)NTF)_dbus_debug_async_timeoutr_cmdprofiles_locator_profiles_locator threadingEvent_daemon_action_finished_daemon_action_profile_daemon_action_result_daemon_action_errstr _controller _log_token _log_levelr_profile_recommender _init_dbus _dbus_working)selfZ profile_dirsZdbusdebugZasyncotimeoutZ log_levelr!5/usr/lib/python3.9/site-packages/tuned/admin/admin.py__init__s   zAdmin.__init__c Csjtjtjtjtj|j|_z|j tj |j WdSt yd}z| |WYd}~dSd}~00dSNTF)tunedZadminZDBusControllerconstsZDBUS_BUSZDBUS_INTERFACEZ DBUS_OBJECTr rZset_signal_handlerZSIGNAL_PROFILE_CHANGED_signal_profile_changed_cbr_errorrer!r!r"r%s zAdmin._init_dbuscCst|tjddS)N)file)printsysstderr)rmessager!r!r"r(.sz Admin._errorcCs*|js&||_||_||_|jdSN)ris_setrrrset)r profile_nameresultZerrstrr!r!r"r'1s  z Admin._signal_profile_changed_cbc Cs|ztt|jtjdWnXtyN}z|jtj kWYd}~Sd}~0t t fyv}zWYd}~dSd}~00dS)NrFT) oskillintrZ read_filer&ZPID_FILEOSErrorerrnoEPERM ValueErrorIOErrorr)r!r!r"_tuned_is_running9s zAdmin._tuned_is_runningc OsP|dus|dkrdSd}d}d}zt|d|}Wn*ty\}zd|_WYd}~n d}~00zt|d|}WnNty}z6|js|t|d|WYd}~dSWYd}~n d}~00|jr6z6|j|j|jj|g|Ri||j }Wn6t y4}z||d|_WYd}~n d}~00|jsL||i|}|S)Nr FZ _action_dbus_Z_action_z , action '%s' is not implemented) getattrAttributeErrorrr(strrZset_on_exit_action_log_capture_finish set_actionrunr)r action_nameargskwargsactionZ action_dbusresr*r!r!r"rGCs8$ z Admin.actionc Csdtd|D]R}|ddurN|ddkrNt|jd|ddd|dq td|dq dS)NzAvailable profiles:rr z- %sr)r,rZ align_str)r profile_namesprofiler!r!r"_print_profilesas &zAdmin._print_profilesc Csfz|j}Wn8tyF}z dd|jD}WYd}~n d}~00||||jdS)NcSsg|] }|dfqS)r r!).0rKr!r!r" nz4Admin._action_dbus_list_profiles..T)rZ profiles2rprofilesrL_action_dbus_activeexit)rrJr*r!r!r"_action_dbus_list_profilesis* z Admin._action_dbus_list_profilescCs||j|dSNT)rLrZget_known_names_summary_action_activerr!r!r"_action_list_profilessszAdmin._action_list_profilescCs&|j}|dkrd}|jd|S)Nr T)ractive_profilerRrr3r!r!r"_dbus_get_active_profilexs   zAdmin._dbus_get_active_profilecCs|j\}}|Sr0)rget_active_profile)rr3manualr!r!r"_get_active_profileszAdmin._get_active_profilecCs.|j\}}|dur|du}|r(tjStjSr0)rr[r&ZACTIVE_PROFILE_MANUALZACTIVE_PROFILE_AUTO)rrKr\r!r!r"_get_profile_modeszAdmin._get_profile_modecCs|j}|dkrd}|S)Nr )rpost_loaded_profilerYr!r!r"_dbus_get_post_loaded_profiles z#Admin._dbus_get_post_loaded_profilecCs|j}|Sr0)rZget_post_loaded_profilerYr!r!r"_get_post_loaded_profiles zAdmin._get_post_loaded_profilecCsl|ddkrXtdt|dttdt|dttdt|ddStd |d SdS) NrTz Profile name:rzProfile summary:zProfile description:z,Unable to get information about profile '%s'Fr,)rrK profile_infor!r!r"_print_profile_infos     zAdmin._print_profile_infor cCsB|dkr|}|r*|||j|}n tdd}|j|SNr No current active profile.F)rZrfrrer,rR)rrKrHr!r!r"_action_dbus_profile_infoszAdmin._action_dbus_profile_infoc Cs|dkr`z"|}|dur(tdWdSWn4ty^}z|t|WYd}~dSd}~00|||j|tj tj gddgSrg) r]r,rr(r@rfrZget_profile_attrsr&ZPROFILE_ATTR_SUMMARYZPROFILE_ATTR_DESCRIPTION)rrKr*r!r!r"_action_profile_infos zAdmin._action_profile_infocCs$|durtddStd|dS)NrhFzCurrent active profile: %sTrdrYr!r!r"_print_profile_names  zAdmin._print_profile_namecCs|rtd|dS)NzCurrent post-loaded profile: %srdrYr!r!r"_print_post_loaded_profilesz Admin._print_post_loaded_profilecCs4|}||}|r(|}|||j|Sr0)rZrkr`rlrrR)rrXrHr_r!r!r"rQs   zAdmin._action_dbus_activec Csz2|}|}|r0|r$|d7}nd}||7}Wn4tyf}z|t|WYd}~dSd}~00|dur|stdtd||rtd|dS||}|||S)N r FzKIt seems that tuned daemon is not running, preset profile is not activated.zPreset profile: %szPreset post-loaded profile: %sT) r]rarr(r@r=r,rkrl)rr3r_r*rHr!r!r"rUs(      zAdmin._action_activecCstd|dS)NzProfile selection mode: rd)rmoder!r!r"_print_profile_modeszAdmin._print_profile_modecCsB|j\}}|||dkr6|||jdS|jdS)Nr FT)rZ profile_moderor(rR)rrnerrorr!r!r"_action_dbus_profile_modes    zAdmin._action_dbus_profile_modec CsRz|}||WdStyL}z|t|WYd}~dSd}~00dSr$)r^rorr(r@)rrnr*r!r!r"_action_profile_modes zAdmin._action_profile_modecCs:|r(|js6|js6|dd}n|d||S)NzCannot enable the tuning.FzUnable to switch profile: %s)rZ is_runningstartr(rretmsgr!r!r"_profile_print_statuss  zAdmin._profile_print_statuscCsrt|j|jkr.td|j|jdS|jrn|j|krn|j sbtd|j |jdS|jdSdS)NzOperation timed out after waiting %d seconds(s), you may try to increase timeout by using --timeout command line option or using --async.FzError changing profile: %sT) time _timestamprr,rrRrisSetrrrrYr!r!r"_action_dbus_wait_profiles     zAdmin._action_dbus_wait_profilec Cs~|jdus|jdkrdSz2|j|j}d|_t|dtjdtjWn.tyx}z|dWYd}~n d}~00dS)Nr )endr+zUError: Failed to stop log capture. Restart the TuneD daemon to prevent a memory leak.) rrZlog_capture_finishr,r-r.flushrr()rZlog_msgsr*r!r!r"rAszAdmin._log_capture_finishcCst|dkr|Sd|}|dkr2|jdS|j|jsl|jdurl|j dd}|j |j||_ |j |\}}|js|s|j| ||St|_|j|j|| ||S)Nrrmr F)len_action_dbus_listjoinrrRrclearr rrlog_capture_startrZswitch_profilerwrxryrBr{)rrPr3r rurvr!r!r"_action_dbus_profiles"      zAdmin._action_dbus_profilecCs8td|jgd\}}|dkr,tdtddS)NzTrying to (re)start tuned...)Zservicer%Zrestartrz5TuneD (re)start failed, check TuneD logs for details.zTuneD (re)started.)r,rZexecuterrtr!r!r"_restart_tuned.s zAdmin._restart_tunedc Cs||jvrzH|jr4||r4||gWS|j|||tdWdSt y}z&| t || dWYd}~dSd}~00n| d|dSdS)Nz[TuneD is not active on the DBus, not checking whether the profile was successfully applied.TzUnable to switch profile.Fz%Requested profile '%s' doesn't exist.) rZget_known_namesr rrrrZsave_active_profiler,rr(r@)rr3r\r*r!r!r" _set_profile5s  zAdmin._set_profilecCs6t|dkr|Sd|}|dkr*dS||dS)Nrrmr FT)rrWrr)rrPr3r!r!r"_action_profileHs   zAdmin._action_profilecCs|j}|j|jsD|jdurD|jdd}|j|j||_|j \}}|js\|sp|j | ||St |_ |j|j|| ||S)Nr~r)rrecommend_profilerrr rrrrZ auto_profilerRrwrxryrBr{)rr3r rurvr!r!r"_action_dbus_auto_profilePs    zAdmin._action_dbus_auto_profilecCs|j}||dS)NF)r recommendrrYr!r!r"_action_auto_profile`s zAdmin._action_auto_profilecCst|j|jdSrT)r,rrrRrVr!r!r"_action_dbus_recommend_profiledsz$Admin._action_dbus_recommend_profilecCst|jdSrT)r,rrrVr!r!r"_action_recommend_profilehszAdmin._action_recommend_profilecCsr|r|j}n |j}|r(tdn0tdtdtdtdtdtdtdtj|j|S) NzIVerification succeeded, current system settings match the preset profile.zLVerification failed, current system settings differ from the preset profile.z=You can mostly fix this by restarting the TuneD daemon, e.g.:z systemctl restart tunedorz service tuned restartzNSometimes (if some plugins like bootloader are used) a reboot may be required.z&See TuneD log file ('%s') for details.)rZverify_profile_ignore_missingZverify_profiler,r&ZLOG_FILErR)rignore_missingrur!r!r"_action_dbus_verify_profilels   z!Admin._action_dbus_verify_profilecCs tddSNz Not supported in no_daemon mode.Frd)rrr!r!r"_action_verify_profile}szAdmin._action_verify_profilecCs:d}|j|j||_|j}|s.|d|j|S)NrIzCannot disable active profile.)rrrrZoffr(rR)rr rur!r!r"_action_dbus_offs  zAdmin._action_dbus_offcCs tddSrrdrVr!r!r" _action_offszAdmin._action_offrPcCs(|dkr|S|dkr$|j|dSdS)aDPrint accessible profiles or plugins got from TuneD dbus api Keyword arguments: list_choice -- argument from command line deciding what will be listed verbose -- if True then list plugin's config options and their hints if possible. Functional only with plugin listing, with profiles this argument is omitted rPpluginsverboseN)rS_action_dbus_list_pluginsrZ list_choicerr!r!r"rs zAdmin._action_dbus_listcCs(|dkr|S|dkr$|j|dSdS)aaPrint accessible profiles or plugins with no daemon mode Keyword arguments: list_choice -- argument from command line deciding what will be listed verbose -- Plugins cannot be listed in this mode, so verbose argument is here only because argparse module always supplies verbose option and if verbose was not here it would result in error rPrrN)rW_action_list_pluginsrr!r!r" _action_lists zAdmin._action_listcCs|j}|D]d}t||rt||dkr4q|j|}||D],}td|||d}|rHtd|qHq|jdS)zvPrint accessible plugins Keyword arguments: verbose -- if is set to True then parameters and hints are printed rz %sNz %sT)rZ get_pluginskeysr,rZget_plugin_hintsgetrR)rrrpluginhintsZ parameterhintr!r!r"rs      zAdmin._action_dbus_list_pluginscCs tddSrrd)rrr!r!r"rszAdmin._action_list_pluginscCs0|j||\}}|s$|d||j|S)NzUnable to acquire devices: %s)rZinstance_acquire_devicesr(rR)rdevicesinstancerurvr!r!r"%_action_dbus_instance_acquire_devicessz+Admin._action_dbus_instance_acquire_devicescCs tddSrrd)rrrr!r!r" _action_instance_acquire_devicessz&Admin._action_instance_acquire_devicescCsZ|j|\}}}|s0|d||jdS|D]\}}td||fq4|jdS)NzUnable to list instances: %sFz%s (%s)T)rZ get_instancesr(rRr,)r plugin_namerurvpairsrrr!r!r"_action_dbus_get_instancess  z Admin._action_dbus_get_instancescCs tddSrrd)rrr!r!r"_action_get_instancesszAdmin._action_get_instancescCsN|j|\}}}|s0|d||jdS|D] }t|q4|jdS)NzUnable to list devices: %sFT)rZinstance_get_devicesr(rRr,)rrrurvrZdevicer!r!r"!_action_dbus_instance_get_devicess  z'Admin._action_dbus_instance_get_devicescCs tddSrrd)rrr!r!r"_action_instance_get_devicessz"Admin._action_instance_get_devicesN)r )r )rPF)rPF)F)F)8__name__ __module__ __qualname__r&Z ADMIN_TIMEOUTloggingZERRORr#rr(r'r=rGrLrSrWrZr]r^r`rarfrirjrkrlrQrUrorqrrrwr{rArrrrrrrrrrrrrrrrrrrrrrr!r!r!r"r sh                r )Z __future__rZ tuned.adminr%Ztuned.utils.commandsrZtuned.profilesrr exceptionsrZtuned.exceptionsrZ tuned.constsr&Ztuned.utils.profile_recommenderrr5r-r9rxrrobjectr r!r!r!r"s