Hard disk model hdparm -I /dev/sdb | grep Model Model Number: WDC WD20EARX-00PASB0 Capacity and sector size hdparm -I /dev/sdb | grep size Logical Sector size: 512 bytes Physical Sector size: 4096 bytes device size with M = 1024*1024: 1907729 MBytes device size with M...
James McDonald
How long does it take for ddrescue to take a rescue image of 2TB SATA drive?
Answer: A long time. In my case I started at around 7:30PM last night and it's at 1343GB with another ~700GB to go and it's almost 8AM the following morning. So at the moment it's taken 12+HRs to do ~1.3TB. The total time was from 7:30PM 12/09/2011 to 2:41 13/02/2011....
pidof
This will seem really simple to those that know about these things, but hey I'm easily amused. Here is a snippet from an /etc/init.d script HTTPD=/httpd/bin/httpd PIDFILE=/httpd/logs/httpd.pid if pidof $HTTPD | tr ' ' '\n' | grep -w $(cat $PIDFILE); then return 0 fi...
The Telarah Times has moved to a Rackspace Self Managed Cloud Server
Dreamhost to Rackspace So after a long time with Dreamhost. I've made the move to a Self Managed Cloud Server at Rackspace. Don't get me wrong Dreamhost has all the flexibility you would need for shared hosting but I was finding that to get the resources I needed for...
Guest user means the user profile isn’t saved
Just added a user to the Guests Local Group on a Windows 2003 Server and wondered why the Internet Explorer Homepage settings wouldn't stick. Doh... Remember this for next time jimmy.
Telstra HTC Desire Gingerbread Upgrade Canned
Just checked Telstra smartphone upgrade page and discovered some bad news about my HTC Desire "HTC will no longer proceed with a mass-market Gingerbread update for Desire due to the memory requirements of Android 2.3" Reading elsewhere I heard that they had trouble...
Who owns that Barcode?
Just discovered GEPIR the "Global Electronic Party Information Registry" You can enter a limited number of barcodes (it has a query request limit) and it may return the company that owns the barcode prefix. I say may because some of the barcodes I sampled didn't...
Script to check memory usage every second on Linux and write to a log file
#!/bin/bash ### ### Sample background worker script ### for linuxquestions.org written ### by Florian Harbich (user doc.nice) ### ### Free for use or modification, even if ### useless in this variant... ### # to terminate the script # run "touch...
Apache Security Configuration
Apache Web Server Security Configuration If you are thinking of moving to a self managed service one of the really important things is that you think heavily about security, especially of anything exposed to the web. If you have apache running then it's crucial to...
Dreamhost VPS – Thoughts on how they could be better
Update Jan 2 2014: I migrated away from Dreamhost to a VPS at Rackspace hosting. I have to admin the Rackspace VPS myself (meaning the Linux, Apache, MySQL & PHP environment is my problem to maintain) but the uptime and performance of the small 512 MB RAM VPS I...
