Load average script
Wednesday, February 22nd, 2012for ((i=0; i<=2160; i++)); do uptime; sleep 120; done
for ((i=0; i<=2160; i++)); do uptime; sleep 120; done
use the below command
/usr/local/cpanel/bin/dcpumonview
the below installation for Linux ( Centos)
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install iftop
ps aux | awk ‘{print $4?\t”$11}’ | sort | uniq -c | awk ‘{print $2? “$1? “$3}’ | sort -nr | head
grep out_of_memory /var/log/messages
Please refer to below
yum install ntp
chkconfig ntpd on
ntpdate pool.ntp.org
/etc/init.d/ntpd start
Refer to the below URL
http://www.hosting.com/support/linux/evaluate-disk-usage-on-linux-plesk-server
You need to run this command
1- yum install php-mcrypt if not help then you need to run2
2- yum install php53-mcrypt if not help then this for sure will help 3
3-
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum install php53-mcrypt
if you want to test you need to run this belowsudo vi /etc/php.d/mcrypt.ini or$ php -r "phpinfo();" | grep "mcrypt support" if enabled then you should see mcrypt support => enabled Then restart the servicessudo /etc/init.d/httpd configtest reference http://osc.co.cr/2011/04/mcrypt-php-5-3-on-centos-5/ http://serverfault.com/questions/354871/how-to-install-mcrypt-for-php-5-3-3-on-centos-5-7-64-bit