Solutionist's Blog

Tech | Health | Life | Travel

iPhone 5 Hardware Overview

All functional components must be present for a device to be eligible for service under Apple’s warranty. Also, all func- tional components must be those that were originally contained within the iPhone. External Inspection When inspecting the device’s exterior, look for these key components to be present.

iphone 5 battery life too short

  Symptoms Quick Checks Battery runs out of power very quickly Battery does not hold a charge Short play time On the device, go to Settings > General > Software Update to verify device has most up-to-date software. If unavailable, verify by plugging device into iTunes. Suggest http://www.apple.com/batteries/iphone.html as a resource for user to learn […]

MacBook Determining battery cycle count

Follow these steps to access information about your Mac notebook battery including the cycle count: Your first step will vary depending on which version of Mac OS X you are using: Mac OS X 10.6.8 Snow Leopard or earlier: Open Apple System Profiler by choosing About this Mac from the Apple () menu. Then, click More […]

Bash script to check and restart apache, mysql and sendmail if it’s down

Bash script to check and restart apache, mysql and sendmail if it’s down #!/bin/sh ################ Check MySQL ################# STARTAPACHE=”/etc/init.d/httpd start” STARTMYSQL=”/etc/init.d/mysqld start” STARTMAIL=”/etc/init.d/sendmail start” LOGFILE=/home/jackassmccoy/servicelogs/logfile SERVICE=’mysqld’ echo “” >> $LOGFILE echo `date` >> $LOGFILE if ps ax | grep -v grep | grep $SERVICE > /dev/null then     echo “$SERVICE service running, everything is OK” […]

Man Behind ctrl alt delete

Every time a software program locks up and you want to start over, every time you need to change your password or log on or off your computer, you can thank David J. Bradley. That’s the same David Bradley who was the “answer” to Final Jeopardy on an episode of that show’s special college edition […]

field separator for awk

You can change the value of FS in the awk program with the assignment operator, `=’ (see section Assignment Expressions). Often the right time to do this is at the beginning of execution, before any input has been processed, so that the very first record will be read with the proper separator. To do this, […]

cron -job – examples

1. Execute a cron job every 5 Minutes The first field is for Minutes. If you specify * in this field, it runs every minutes. If you specify */5 in the 1st field, it runs every 5 minutes as shown below. */5 * * * * /home/ramesh/backup.sh Note: In the same way, use */10 for every […]

Secured By miniOrange