Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.189.186.5
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
tuned /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
instance
[ DIR ]
drwxr-xr-x
__init__.py
49
B
-rw-r--r--
__init__.pyc
232
B
-rw-r--r--
__init__.pyo
232
B
-rw-r--r--
base.py
21.7
KB
-rw-r--r--
base.pyc
24.43
KB
-rw-r--r--
base.pyo
24.43
KB
-rw-r--r--
decorators.py
983
B
-rw-r--r--
decorators.pyc
1.52
KB
-rw-r--r--
decorators.pyo
1.52
KB
-rw-r--r--
exceptions.py
99
B
-rw-r--r--
exceptions.pyc
460
B
-rw-r--r--
exceptions.pyo
460
B
-rw-r--r--
hotplug.py
2.97
KB
-rw-r--r--
hotplug.pyc
4.09
KB
-rw-r--r--
hotplug.pyo
4.09
KB
-rw-r--r--
plugin_audio.py
2.46
KB
-rw-r--r--
plugin_audio.pyc
4.36
KB
-rw-r--r--
plugin_audio.pyo
4.36
KB
-rw-r--r--
plugin_bootloader.py
12.6
KB
-rw-r--r--
plugin_bootloader.pyc
15.47
KB
-rw-r--r--
plugin_bootloader.pyo
15.47
KB
-rw-r--r--
plugin_cpu.py
12.95
KB
-rw-r--r--
plugin_cpu.pyc
15.46
KB
-rw-r--r--
plugin_cpu.pyo
15.42
KB
-rw-r--r--
plugin_disk.py
13.77
KB
-rw-r--r--
plugin_disk.pyc
16.92
KB
-rw-r--r--
plugin_disk.pyo
16.92
KB
-rw-r--r--
plugin_eeepc_she.py
2.04
KB
-rw-r--r--
plugin_eeepc_she.pyc
3.3
KB
-rw-r--r--
plugin_eeepc_she.pyo
3.3
KB
-rw-r--r--
plugin_modules.py
3.8
KB
-rw-r--r--
plugin_modules.pyc
5.64
KB
-rw-r--r--
plugin_modules.pyo
5.64
KB
-rw-r--r--
plugin_mounts.py
5.17
KB
-rw-r--r--
plugin_mounts.pyc
6.36
KB
-rw-r--r--
plugin_mounts.pyo
6.36
KB
-rw-r--r--
plugin_net.py
14.02
KB
-rw-r--r--
plugin_net.pyc
16.5
KB
-rw-r--r--
plugin_net.pyo
16.5
KB
-rw-r--r--
plugin_scheduler.py
23.2
KB
-rw-r--r--
plugin_scheduler.pyc
25.28
KB
-rw-r--r--
plugin_scheduler.pyo
25.28
KB
-rw-r--r--
plugin_script.py
2.47
KB
-rw-r--r--
plugin_script.pyc
3.77
KB
-rw-r--r--
plugin_script.pyo
3.71
KB
-rw-r--r--
plugin_scsi_host.py
2.59
KB
-rw-r--r--
plugin_scsi_host.pyc
5.01
KB
-rw-r--r--
plugin_scsi_host.pyo
5.01
KB
-rw-r--r--
plugin_selinux.py
1.56
KB
-rw-r--r--
plugin_selinux.pyc
2.96
KB
-rw-r--r--
plugin_selinux.pyo
2.96
KB
-rw-r--r--
plugin_sysctl.py
5.45
KB
-rw-r--r--
plugin_sysctl.pyc
7.33
KB
-rw-r--r--
plugin_sysctl.pyo
7.33
KB
-rw-r--r--
plugin_sysfs.py
2.05
KB
-rw-r--r--
plugin_sysfs.pyc
3.77
KB
-rw-r--r--
plugin_sysfs.pyo
3.77
KB
-rw-r--r--
plugin_systemd.py
4.82
KB
-rw-r--r--
plugin_systemd.pyc
6.87
KB
-rw-r--r--
plugin_systemd.pyo
6.87
KB
-rw-r--r--
plugin_usb.py
1.49
KB
-rw-r--r--
plugin_usb.pyc
3.06
KB
-rw-r--r--
plugin_usb.pyo
3.06
KB
-rw-r--r--
plugin_video.py
2.81
KB
-rw-r--r--
plugin_video.pyc
4.2
KB
-rw-r--r--
plugin_video.pyo
4.2
KB
-rw-r--r--
plugin_vm.py
2.74
KB
-rw-r--r--
plugin_vm.pyc
4.31
KB
-rw-r--r--
plugin_vm.pyo
4.31
KB
-rw-r--r--
repository.py
1.49
KB
-rw-r--r--
repository.pyc
2.46
KB
-rw-r--r--
repository.pyo
2.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : plugin_mounts.pyo
� ��\c @ s� d d l j Z d d l m Z d d l Td d l m Z m Z d d l Z d d l m Z d d l Z e j j � Z e � Z d e j f d � � YZ d S( i����Ni ( t base( t *( t Popent PIPE( t commandst MountsPluginc B s� e Z d Z e d � � Z d � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z e d d e �d � � Z RS( s. Plugin for tuning options of mount-points. c C s� i } d } t d d d g d t d t d t d t �j � \ } } x-g | j � D] } | j � ^ qU D]} t | � d k r� qk n | d \ } } } t | � d k r� | d n d } t | � d k r� | d n d } | d k r� | } qk n | d k sk | d k rqk n | d k sk | d k r4qk n | j | i t � d 6| d 6| d 6� | | d j | � qk W| | _ d S( s� Gets the information about disks, partitions and mountpoints. Stores information about used filesystem and creates a list of all underlying devices (in case of LVM) for each mountpoint. t lsblks -rnos TYPE,RM,KNAME,FSTYPE,MOUNTPOINTt stdoutt stderrt close_fdst universal_newlinesi i t diskt 1t partt lvms [SWAP]t diskst device_namet filesystemN( R R ( t NoneR R t Truet communicatet splitlinest splitt lent setdefaultt sett addt _mountpoint_topology( t clst mountpoint_topologyt current_diskR R t linet columnst device_typet device_removableR R t mountpoint( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _generate_mountpoint_topology s, ,""(c C s; | j � t | _ t | j j � � | _ t � | _ d S( N( R$ R t _devices_supportedR R t keyst _free_devicest _assigned_devices( t self( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _init_devices5 s c C s i d d 6S( Nt disable_barriers( R ( R) ( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _get_config_options; s c C s t | _ t | _ d S( N( t Falset _has_dynamic_tuningR t _has_static_tuning( R) t instance( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _instance_initA s c C s d S( N( ( R) R0 ( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _instance_cleanupE s c C s8 t j d | � } x | D] } t j | � j � SWd S( sV Get device cache type. This will work only for devices on SCSI kernel subsystem. s+ /sys/block/%s/device/scsi_disk/*/cache_typeN( t globt cmdt read_filet stripR ( R) t devicet source_filenamest source_filename( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _get_device_cache_typeH s c C s9 x2 | j | d D] } | j | � d k r t Sq Wt S( sr Checks if the device has 'write back' cache. If the cache type cannot be determined, asume some other cache. R s write back( R R: R R- ( R) R# R7 ( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _mountpoint_has_writeback_cacheQ s c C s� t d � �` } xV | D]J } | j � } | d d d k rB q n | d | k r | d } Pq q Wd SWd QX| j d � } xb | D]V } | j d � \ } } } | d k s� | d k r� | d k r� t S| d k r� t Sq� Wt Sd S( sP Checks if a given mountpoint is mounted with barriers enabled or disabled. s /proc/mountsi t /i i Nt ,t =t nobarriert barriert 0( t openR R t partitionR- R ( R) R# t mounts_fileR R t option_listt optionst optiont namet sept value( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_mounts.pyt _mountpoint_has_barriersZ s"