Thursday, February 26, 2015

This guy is overcomplicating things:
Linux: Kill multiple processes with one single command

To simplify:

killall -r "ora_.*_oraxpo"

From the killall man page:

-r, --regexp Interpret process name pattern as an extended regular expres‐ sion.

Very nice. Apparently a lot of people don't even know this exists.

Let's continue this, why not ...

Better way to create a KVM Ubuntu instance:
https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_12.04_LTS_.28Precise.29_and_beyond_using_NoCloud

Works really well to quickly spin up a minimal Ubuntu VM.

Get images here:
http://cloud-images.ubuntu.com/releases/

Most current image available currently (you want the x86_64 QCOW2 disk image):
http://cloud-images.ubuntu.com/releases/vivid/alpha-2/vivid-server-cloudimg-amd64-disk1.img

Use virt-manager, put some bridges between them (and something like VYOS) and have a network to play with really easily.