Category: Linux
-
Disk Performance Analysis on Linux
Really Into the Guts of LinuxIt is possible to find out how hard your disks are running. Some you don’t want to run as hard as others. For instance, if you wanted to save on write cycles for your SSD you could move small frequent writes into a ram filesystem, and that seems to be…
-
Pipes: Everyday Plumbing with Shell Script
A pipe redirects output from one program or file to the input another program or file. This makes scripting Unix commands possible and incredibly powerful. But like anything powerful, it takes time to develop the skill to get there. It is so useful, it is sometimes hard to express to people only used to looking…
-
Using mbuffer to speed up slow zfs send | zfs receive – EveryCity | Managed Hosting Services
This is an awesome bit of advice! I just sped up a zfs send that was crawling along at 60Mbps to over 600Mbps … I’m so stoked! zfs send -i data/filesystem@1 data/filesystem@2 | mbuffer -s 128k -m 1G -O 10.0.0.1:9090 via Using mbuffer to speed up slow zfs send | zfs receive – EveryCity |…
-
Sorting through thousands of photos
Backups are great. Having terabytes of of space for them is now completely necessary. Filling up those terabytes is …frustrating. My photo collection is probably much like many photo enthusiast’s — well into the hundreds of thousands of pictures. But why is it so? I make thumbnails (that’s 2x pictures), I keep a low-res and…
-
Checking for your ssh-agent on login – updated
The first thing my .bash_aliases file does on login is to check if I’m running ssh-agent and if so, stick that into my shell environment. If not, kick it up, and update a reminder to it. This morning I found a flaw in that, so I believe this is the fix. 4 export SSH_RECENT=”$HOME/.ssh/recent” 5…
-
ZFS, Bash, and Piped Loops
Fellow Linux Nutjobs! Here is your evening lesson in how to reclaim space from a ZFS partition by destroying snapshots. In my setup, my remote backup has a subset of the snapshots I’m automatically creating from my backup scripts. To reclaim space, I’m deleting those snapshots that have been backed up off-site. Assume alias Zfs=”sudo…
-
Make, classpaths and environment variables
Make, Ant and probably any other build language (and/or toolkit, since Ant is not much in the way of a language) are tricky bastards. I’ve been maintaining a parallel set of build scripts for a Java and C++ project for a few years now, and this has been great practice in getting my Make chops…
-
With XP’s End of Life, Munich Will Distribute Ubuntu CDs – Slashdot
With XP’s End of Life, Munich Will Distribute Ubuntu CDs – Slashdot. This is a great idea. Bellingham should consider this (that is, not just Bellingham library, but BLUG, too.)
-
Happy People at LinuxFest Northwest
For the first time in 9 years I decided to take my camera to the after-party. I found a lot of happy people. If you like the picture enough, let me know. None of these have been through post, so I could clean up your portrait a bit. Great to see you all there! I…
-
Backups: Using `find` Across a Panalopy of Directories
I love using the find command. In DOS, find is like grep. In Linux, find is the most powerful recursive DOS dir /s or Linux ls -r command you could ever put your saddle on. One of the things you can do with find is to avoid directories, using the -prune switch. Like so: find…
