Augie’s Weblog

July 31, 2008

How to Make a Solar Power Generator for Less Than $300

Filed under: Solar Info, Test — admin @ 7:56 am

This is a kool link on how to build a solar powered generator for less than $300.00

Got the information from Lee Fisher who has made one himself. Works great!

In Mac OS or OS X, how can I boot from a CD or DVD and/or ignore my startup disk? Or boot OS-X when bootcamp/rEFIt broken

Filed under: OS-X, Test — admin @ 6:37 am

Normally, to set an alternate startup volume, such as a bootable CD or DVD, you should use the Startup Disk system preference or control panel. However, if your regular boot disk is damaged or if you can’t set the CD or DVD as a startup device from the system preference or control panel, try one of the following options:

* Restart your computer and immediately press the Option key. Icons for all available startup volumes will appear. Click the one you want to boot from, and then click the right arrow button to complete the startup process.

* Restart your computer and immediately press Cmd-Option-Shift-Delete. You must press all the keys at once. The computer will start to boot from the CD or DVD drive. If there isn’t a bootable disc inside the drive when you begin the reboot, the computer will attempt to boot from another partition or drive.

* Restart your computer and immediately press the c key. The computer will look for a bootable CD or DVD and, if it finds one, will use it as its startup device.
ref:
http://kb.iu.edu/data/ages.html

July 12, 2008

Gallery notes – Subversion

Filed under: Gallery — admin @ 4:07 am

Using Subversion… this is the way to go with Gallery!
svn
http://codex.gallery2.org/Gallery:Using_Subversion

Show progress during dd copy

Filed under: Linux — admin @ 4:02 am

dd is a popular, generic command-line tool for copying files from 1 location to another. It is often used to copy entire disk images.

Like many Linux command line tools, it operates silently unless something unexpected happens. Its lack of visual progress feedback is a nice feature for scripting. However, it can leave you wondering about its progress if you are interactively dd-copying a large disk.

To illustrate, you run the following (valid, but perhaps not very useful) dd copy:

$ dd if=/dev/random of=/dev/null bs=1K count=100

It will run for a few minutes as it copies (and immediately discards) 100 blocks of randomly generated data, each of size 1 KB.

To get a progress report while dd is running, you need to open another virtual terminal, and then send a special USR1 signal to the dd process.

First, find out the process id of the dd process by running the following in the new virtual terminal.

$ pgrep -l ‘^dd$’
8789 dd
$

To send the USR1 signal to the dd prcoess:

$ kill -USR1 8789
$

Note that as soon as the USR1 signal is detected, dd will print out the current statistics to its STDERR.

$ dd if=/dev/random of=/dev/null bs=1K count=100
0+14 records in
0+14 records out
204 bytes (204 B) copied, 24.92 seconds, 0.0 kB/s

After reporting the status, dd will resume copying. You can repeat the above kill command any time you want to see the interim statistics. Alternatively, you can use the watch command to execute kill at a set interval.

$ watch -n 10 kill -USR1 8789

ref:
http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html

July 8, 2008

Tips from an RHCE: How can I make dd give me a progress report?

Filed under: Test — admin @ 4:56 am

If you’ve been working with Linux very long, you’ve probably encountered dd, the deceptively simple utility for copying a stream of data from here to there. You may have used it to zero a disk before letting it leave the building, to benchmark io hardware by writing a certain number of bytes, to put a disk image on a floppy or usb drive, or even to back up an entire disk.

Like many commands, dd doesn’t generate much output as long as things are going well. This is great for scripting, but can be frustrating when you run it interactively. On large transfers, such as wiping or imaging a disk, it can be a total mystery how much longer you have to wait.

Also like many other commands, dd has some tricks up its sleeve that it will show off if it gets the right signal. In particular, dd will respond to the USR1 signal with a status report on TDERR. It is the same data you’d normally get at the very end of the transfer and will look something like this:

$ dd if=/dev/zero of=/tmp/demo bs=1M count=1536
33+0 records in
33+0 records out
34603008 bytes (35 MB) copied, 0.355191 seconds, 97.4 MB/s

So how do we send this signal? Using your choice of kill, killall, or pkill. All of these will, by default, send a TERM signal (15), which is not what we want at all. Instead, use the following to send the USR1 signal to all processes you own named dd.

$ pkill -USR1 ^dd$

Kill and killall support the -USR1 option in the same manner.

If you want a periodic status report, you can extend the same idea with watch in another terminal. Since we’re just sending a signal, there won’t be any output in the display from watch, but it’s a nice shortcut for periodic execution.

$ watch -n5 — pkill -USR1 ^dd$

Will send signal USR1 to any dd process you own every five seconds, triggering dd to tell you where it is in the transfer and how fast it’s going. Remember, look at dd’s terminal for the output!

$ dd if=/dev/zero of=/tmp/demo bs=1M count=1536
137+0 records in
137+0 records out
143654912 bytes (144 MB) copied, 5.66717 seconds, 25.3 MB/s
249+0 records in
249+0 records out
261095424 bytes (261 MB) copied, 11.5736 seconds, 22.6 MB/s
388+0 records in
387+0 records out
405798912 bytes (406 MB) copied, 18.8116 seconds, 21.6 MB/s

Red Hat’s acclaimed training programs offer a lifetime of experience in a week’s worth of class instruction. And a good portion of the credit for that success goes to the Red Hat Certified Instructors that make a Red Hat training course something special. They have the best tips, and the trickiest tricks. So we thought we’d ask ‘em to share. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

This entry was posted by the editorial team on Thursday, August 16th, 2007 at 1:11 pm and is filed under tips and tricks. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

ref:
http://www.redhatmagazine.com/2007/08/16/tips-from-an-rhce-how-can-i-make-dd-give-me-a-progress-report/

July 7, 2008

Last Test Post

Filed under: Test — admin @ 10:39 pm

Test test

more test

Getting a blog going

Filed under: Test — admin @ 10:39 pm

Well trying WordPress.  I have not been impressed with very many web products.  We will see how wordpress works out.

The reviews i have read are impressive!

augie :)

WebDEV

Filed under: Test — admin @ 10:39 pm

http://en.wikipedia.org/wiki/WebDAV#Microsoft_Windows_clients

Basically you specify the port
as in http://yourwebsite.com:80/gallery/w
or whatever it is.

Powered by WordPress