Recent Entries
Below is a summary of the most recent journal entries. A full index of all entries is also available.Also available as: RSS Comments (RSS)
(Sunday August 29, at 15:13)
Kevin Fenzi
Subject:
Calibre
Keywords:
fedora, linux, Reviews, software
I took over a while back working on the Fedora calibre package and thought I would share some information about the application for those who haven't used it and some thoughts about software release cycles. Read on for more.
(read more | 3 Comments)
(Thursday August 26, at 16:51)
Sean Reifschneider
Subject:
Getting the program name in scripts
Keywords:
bash, NCLUG, Technical
(go to article | 1 Comment)
(Tuesday August 24, at 03:47)
Sean Reifschneider
Subject:
A very useful tool: fping
Keywords:
NCLUG, Networking, Technical
(read more | 1 Comment)
(Tuesday August 24, at 03:08)
Sean Reifschneider
Subject:
Avoiding your SSH daemon being killed during OOM.
Keywords:
Linux, NCLUG, Technical
echo -17 >/proc/`cat /var/run/sshd.pid`/oom_adjthe "-17" value should get set for your SSH daemon process so that it avoids being a candidate for the OOM killer. You can read more details about this and other memory-handling issues in the excellent LWN article from 2009 Taming the OOM killer.
(go to article | 0 Comments)
(Thursday August 19, at 19:26)
Sean Reifschneider
Subject:
I avoid "rm *".
Keywords:
Linux, NCLUG, Process
(go to article | 0 Comments)
(Tuesday August 10, at 15:56)
Kevin Fenzi
Subject:
Fun with DNSSec
Keywords:
DNS, Fedora, Linux, Security
The other day the question came up about how to better provide ssh host keys to end users in a secure manner. Sure, you can publish them somewhere and the user can check them the first time they connect, but thats prone to human error and not very automated. Turns out you can put SSH host key fingerprints into DNS for easy checking. Of course then the problem becomes how can you check that the DNS data is valid and correct? Thats where DNSSec comes into play.
Read on for my saga of implementing dnssec on my home domain...
(read more | 0 Comments)
(Saturday July 31, at 22:29)
Sean Reifschneider
Subject:
Claws-Mail vs. Thunderbird
Keywords:
Claws, Linux, NCLUG, Review, Thunderbird
(read more | 0 Comments)
(Friday July 16, at 16:08)
Kyle Anderson
Subject:
Setting up a PXE boot Server
Keywords:
dhcp, Linux, NCLUG, Netbooting, networking, PXE, technical, tftp
(go to article | 0 Comments)
(Sunday June 20, at 16:08)
Sean Reifschneider
Subject:
Competing teams and HP BASIC.
Keywords:
History
(go to article | 0 Comments)
(Sunday June 06, at 14:39)
Sean Reifschneider
Subject:
Native ZFS coming to Linux?
Keywords:
NCLUG, ZFS
(go to article | 0 Comments)
(Wednesday June 02, at 00:20)
Sean Reifschneider
Subject:
cron+xargs: The Scheduler of the Stars
Keywords:
Command-line, cron, NCLUG, Technical, Tricks, xargs
00 22 * * * echo 1.example.com 2.example.com [...] \
15.example.com | xargs --max-args=1 --max-procs=4 /path/to/harness
00 09 * * * echo a.example.org b.example.org c.example.org \
| xargs --max-args=1 --max-procs=1 /path/to/harness
The first line starts at 10pm and runs the harness with the system
name to back up as the argument. It runs it for 15 hosts, running 4 in
parallel. The second cron entry starts at 9am and runs the 3 example.org
backups one at a time (they are hosted off-site and no need to hit their
network or ours harder than necessary).
In the past I would manually add the cron entries for each host at
specific times, but sometimes jobs would run long and load would go way up,
or sometimes there were idle periods where nothing happened... This is
definitely an improvement over that, with minimal additional coding.
Wherever possible: Avoid writing code.(go to article | 0 Comments)
(Saturday May 29, at 12:31)
Kevin Fenzi
Subject:
Chromium
Keywords:
browser, linux, reviews, web
I have been using midori full time as my browser for a while now. The latest release of the Chromium browser looked interesting, so I decided to run it for a few days and see how it worked. Read on for a review.
(read more | 1 Comment)
(Saturday May 15, at 17:47)
Sean Reifschneider
Subject:
Getting 95 percentile numbers out of rrdtool
Keywords:
NCLUG, Networking, Technical
eval `$RRDTOOL graph -f '' -s "$1" /dev/null \ DEF:in="$2":in:AVERAGE \ DEF:out="$2":out:AVERAGE \ CDEF:inbits=in,8,* \ CDEF:outbits=out,8,* \ VDEF:95pct_in=inbits,95,PERCENT VDEF:95pct_out=outbits,95,PERCENT \ PRINT:95pct_in:"IN='%.2lf %Sb'" \ PRINT:95pct_out:"OUT='%.2lf %Sb'"Where "$1" is the period start time (like "-1d" for showing the 95%ile of today), and "$2" is the .rrd file name. I do an "eval" to parse the output (making $IN and $OUT shell variables). The "-f ''" tells is not to write an image size string. It may also be useful to change the last two lines to use a format something like "IN='%.2lf; IN_MAGNITUDE=%S" (to get something like IN=2.50 and IN_MAGNITUDE=M) or just "IN=%.0lf" (to get the full bits like IN=2500000). Again, rrdtool proves to be amazingly flexible, given enough time to wrap your mind around it.
(go to article | 0 Comments)
(Sunday May 09, at 14:14)
Kevin Fenzi
Subject:
RHEL6 beta and EPEL6 news
Keywords:
EPEL RHEL Reviews Linux
Not too long ago, Red Hat released a public Beta of RHEL6 for folks to try out. I've been running it here in a vm since it was released. Read on for my thoughts on the Beta and also News about where EPEL is related to RHEL6.
(read more | 2 Comments)
(Saturday May 01, at 00:26)
Sean Reifschneider
Subject:
Python syslog patch to log exceptions
Keywords:
Patch, Python, Syslog
(go to article | 2 Comments)
(Tuesday April 27, at 05:20)
Sean Reifschneider
Subject:
Initial btrstress results.
Keywords:
btrfs, File-system, NCLUG, Stresstest
(go to article | 0 Comments)
(Wednesday April 21, at 23:41)
Sean Reifschneider
Subject:
Analysis of a data loss event.
Keywords:
RAID, Technical
(read more | 1 Comment)
(Monday April 19, at 13:17)
Sean Reifschneider
Subject:
Tricks: Using xargs to feed multiple CPUs.
Keywords:
Command-line, Tricks, Unix
(read more | 0 Comments)
(Sunday April 18, at 23:57)
Sean Reifschneider
Subject:
Patch to Python syslog module to use sys.argv[0] for "ident".
Keywords:
Python
-
Makes openlog arguments keyword args.
Makes openlog ident argument optional.
If ident is not passed to ident, basename(sys.argv[0]) is used.
The first call to syslog.syslog() calls ident() with no options
(if it hasn't previously been called).
Variously related documentation changes.
(go to article | 0 Comments)
(Sunday April 18, at 13:09)
Sean Reifschneider
Subject:
btrstress Program Available
Keywords:
btrfs, File-system, Stresstest
(go to article | 0 Comments)
(Saturday April 17, at 00:09)
Sean Reifschneider
Subject:
Improving Deduplication Performance Under ZFS-FUSE
Keywords:
Performance, Technical, ZFS
(read more | 0 Comments)
(Sunday April 11, at 15:10)
Sean Reifschneider
Subject:
ZFS-FUSE Status: Testing with DeDup going well.
Keywords:
Linux, Technical, ZFS, ZFS-FUSE
(read more | 0 Comments)
(Tuesday March 30, at 00:37)
Sean Reifschneider
Subject:
What advice would you give yourself?
Keywords:
Advice
(go to article | 1 Comment)
(Sunday March 14, at 22:11)
Sean Reifschneider
Subject:
@reboot and other cron fun.
Keywords:
cron, Technical
@reboot ~/bin/archivevimswap >/dev/null 2>&1This is a small shell script that moves my ~/.vim-tmp out of the way and creates a new ~/.vim-tmp. I have vim configured to put all the tmp files in there, so that I don't end up with them littered all over the disc. Just to be canonical, I'll mention that you can also be lists, ranges, and steps, so things like "*/5 * * * *" is every 5 minutes, "0 9-17 * * *" is the top of the hour from 9am to 5pm, and "15,20 * * * *" runs at 15 and 20 minutes past the hour. Lately though, I've been thinking about what a next-generation cron would look like. It would be nice to say "I have these 10 jobs that need to be run between midnight and 4am, but I only want 3 of them running at once." Rather than having to try to stagger them. I could imagine a use for also having it "kill -STOP" jobs if the load goes above a certain value, or "kill -CONT" when it drops. Or even coordination among machines (I have 10 machines, they all need to run CPU-intensive jobs after midnight, but I don't want to cause a spike in power consumption or drop in responsiveness among all of them). So many possibilities...
(go to article | 1 Comment)
(Tuesday March 02, at 01:04)
Sean Reifschneider
Subject:
mkpkg: Helper to create setup.py for your projects.
Keywords:
Packaging, Python
(read more | 2 Comments)