Author Archives: itdoctor - Page 35
Command to find CPU usage in Linux
There are 3 commands that we can use sar top mpstats You may need to install sysstat package to use these commands : apt-get install sysstat If you install...
InnoDB restore from crash machine.
My OS crash today and i had to reinstall mysql server. I am using Windows 2003 (quite old 😉 There are a few things happen when i reinstall the...
How to relocate subversion to new url in Mac with SVNX
Svnx doesnt have interface to switch the svn repository from one url to another. If you change your url , or move your repository to a new url you...
DriverIdentifier Checks for Driver Updates, Offers Easy Installs
DriverIdentifier is a desktop/webapp hybrid—install the program then launch it to scan your system for all device drivers then the program checks to see if there are new drivers...
Php: Temp upload files not deleted
Today, my server is out of disk and i see there are lot of files in /tmp , their names are phpXXXX , i know these files are uploaded...
Analyze your slow mysql query with “Explain”
When you think your mysql is slow , the first step is to analyze your sql query with “Exlain” command. This is an example explain select * from table1...
child pid XXXX exit signal File size limit exceeded (25) on apache log
Today I found that Apache on my server was very slow and a lot of child pid xxxx exit signal File size limit exceeded (25) errors in error_log. It...
How to search large files on linux
You can use this command to search for files larger than 20MB on your linux box , change the number to meet your needs find / -type f -size...
Want to create a survey
I just tried this today , it’s really good , you can start with a free plan. This plan allows you to have upto 10 questions per survey and...
Measuring time to execute PHP script
If I’m ever wondering how long my PHP scripts take to execute, I add this code to the start of my pages: <?php function getTime() { $a = explode (' ',microtime()); return(double) $a + $a; } $Start = getTime();...