/usr/local/lib/php.ini
April 18, 2009
April 10, 2009
display bandwidth usage on an interface
iftop -h | [-nNpbBP] [-i interface] [-f filter code] [-F net/mask]
Source: http://linux.die.net/man/8/iftop
April 2, 2009
Where is User Cron Jobs?
You can find them on
/var/spool/cron/
March 12, 2009
How To Restart Services
Restart Apache:
service httpd restart
Restart MySql:
service mysql restart
Restart Bind:
service named start
Restart Services:
service chkservd restart
Restart Cpanel:
/etc/init.d/cpanel restart
Run anything in /scripts:
./scriptname
February 5, 2009
Fix Disk Usage (Quota)
Thing that help fix disk usage quota
Thing #1
/scripts/initquotas - takes a while to run
/scripts/resetquotas
/scripts/fixquotas - takes a while to run
Thing #2
http://forums.cpanel.net/showthread.php?t=42742&highlight=unlimited+disk+usage
Empty /tmp Folder
stop the services which it use tmp directory
service httpd stop
service mysql stop
/etc/init.d/chkservd stop
then clean the tmp directory and create
/bin/umount -1 / tmp
/bin/umount -1 /war/tmp
/bin/rm -fv /usr/tmpDSK
/scripts/securetmp
Then start the services which you stop
service mysql start
service httpd start
/etc/init.d/chkservd restart
Source: http://www.cpanelim.net/lessons/cleaning-the-tmp-directory-on-linmux.html