Professional Documents
Culture Documents
rh442 Notes
rh442 Notes
UNITS
IEC system:
#vmstat
#vmstat -a
#vmstat -f
#vmstat -s
#vmstat -d
#vmstat -t 2 10
#vmstat -SM 2 10
# sar -V
# sar -u 2 6
# sar -r 2 6
#sar -d 2 6
everything is a file
cat “/proc/sys/kernel/osrelease”
ll -i “/proc/sys/kernel/osrelease”
“/proc/sys/net/ipv4/icmp_echo_ignore_all”
“/etc/sysctl.d/swappiness.conf”
vm.swappiness = 10
sysctl -p “/etc/sysctl.d/swappiness.conf”
[sysctl -w vm.swappiness = 10 ]
remember :
“/usr/lib/sysctl.d/*.conf”
- vendor settings
- never change
“/run/sysctl.d/*.conf”
- what is loaded now
“/etc/sysctl.d/*.conf”
- my configurations
- mounted on /sys
- access info & parameters for devices, file
system and other software laoded as kernel
modules
- vendor drivers – seggrated for stability
- can’t trust much with drivers given by 3rd
party vendor
-
“/sys/modules/usb_storage/parameters/delay_
use”
Try changing it
“/etc/modprobe.d/usb_storage.conf” file
Bringing memory
closer to the CPU reduces the
average memory access time and at
the same time reducing the
bandwidth load on the memory bus.
CFS Scheduler