How to find what process are using Swap
/proc/meminfo – This file reports statistics about memory usage on the system. It is used by free to report the amount of free and used memory (both physical and swap) on the system as well as the shared memory and buffers used by the kernel. You can also use free, vmstat and other tools to find out the same information.
When cleaning the cache on varnish 3.0 there is a way to only ban the specific host.
The command is:
The best script to monitor VMWare ESX using nagios was
developed by Steve Shipway.
How to monitor Solr performance under Tomcat.
I keep track of how many access and the performance, based on response time.
For this I have 2 scripts:
On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter
When using sudo apt-get update behind a proxy you must do
Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”
Simple script to get any linux process uptime.
It could have been done using the /proc/PID too.
Here is the code:
How to install Zabbix
yum -y update
yum -y install httpd php php-cli php php-ctype php-bcmath php-xmlreader php-xmlwriter php-xmlwriterfping libcurl libiksemel net-snmp php-net-socket php-mbstring php-gettext mysql mysql-server mysql-devel.x86_64 php-mysql.x86_64 libxml2-devel.x86_64 libxml2.x86_64 libxml2-static.x86_64 net-snmp-devel.x86_64 net-snmp-libs.x86_64 net-snmp-utils.x86_64 libcurl-devel.x86_64 libcurl.x86_64 curl.x86_64 gd.x86_64 gd-progs.x86_64 php-gd.x86_64 gcc
How to restream mms to wowza (Centos 6 and Linux AMI)
Add these repos
name=CentOS-6 – Base
includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found