Featured »

March 2, 2022 – 2:00 pm

Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Upping the Soft nproc Limit

October 5, 2015 – 11:12 am
overloaded_0004

This is just a quick note to myself about increasing the “soft nproc” value. On one of the RHEL 6 Tomcat servers I got the following error when trying to “su – tomcat”:

Create ISO Images

October 2, 2015 – 5:56 pm
barrels

The genisoimage has been around for a few years, but is relatively little-known. It is a pre-mastering program to generate ISO9660/Joliet/HFS hybrid filesystems and is particularly good for creating portable data backups. Here are a …

Hold Off on iOS 9 iPhone Upgrade

September 21, 2015 – 2:16 pm
apple_0006

If you haven’t updated your iPhone 6/6 Plus to the recently-released iOS 9, I’d suggest you hold off for a few weeks. Several bugs – including a significant security hole – have surfaced that will …

Removing Metadata from Images

September 8, 2015 – 12:09 pm
binoculars watch security rifle gun

Phones and cameras record a surprising amount of personally-sensitive information with the photos they create. This data includes timestamps, GPS coordinates, software used to process the images and lots of other details you may not …

Reduce SNMPd Logging Level

September 8, 2015 – 11:01 am
overloaded_0003

By default, (on RHEL/CentOS, at least) snmpd will log all connection attempts, which can turn your /var/log/messages into a giant mess, looking something like this…

Arthemia jCarousel Number of Posts

September 4, 2015 – 3:45 am
wordpress_0001

This is primarily just a note to myself on how to change the number of visible items in the jCarousel implementation for the WordPress Arthemia theme. Recently I finally updated to the current version and …

Tuesday Night Rant: LED Light Bulbs

September 1, 2015 – 9:51 pm
Row of light bulbs

An off-topic for sure, but after a brief conversation about LED bulbs with a friend – a Contract Electrical – I found I had more arguments then I was willing to spill on Facebook. I …

Linux CLI Network Speed Test

September 1, 2015 – 12:36 am
network switch

The speedtest.net is probably one of the more popular bandwidth testing utilities, Unfortunately, this and many other similar tools require a Web browser with late-version Flash or Java support, which can be problematic on Unix …

Collectl & Colplot Sytem Performance Analysis Tools

August 26, 2015 – 11:17 am
linux_penguin_0002

It is not often that I run into Unix performance analysis tool that, a), I haven’t seen before and, b), is worth my attention. Collectl is both. It is a very useful combination of iostat, …

Installing Perl Modules with YUM

August 17, 2015 – 5:30 pm
centos_linux_0003

Just a quick note on how to install Perl modules with YUM. Due to differences in the naming conventions, YUM package name for a Perl module may differ from the the module’s native name in …

Brief Guide to PDSh

August 17, 2015 – 12:53 pm
shell

PDSh (Parallel Distributed Shell) is a high-performance parallel remote shell utility allowing you to execute commands on multiple remote hosts simultaneously. The utility was originally developed by LLNL and is currently available under GNU CPLv2. …

Dealing with Runaway Processes

July 14, 2015 – 10:46 pm
shell_003

There is no official definition of a “runaway process”. Generally, it is a process that ignores its scheduled priority. It can also be a process that enters an infinite loop. Or it can be a process …

Find Available IP Addresses

June 18, 2015 – 10:58 am
shell_0005

After a while, available IP addresses on the subnet may become hard to come by. Whatever spreadsheet you used to track IP allocations is likely out of date. Here’s a simple script that will scan …

Multi-Cluster Ganglia Configuration

June 17, 2015 – 11:28 am
ganglia_002

I’ve discussed Ganglia configuration and RHEL/CentOS installation in the past. The usual structure is where every node belongs to one cluster. Recently I ran into a requirement to have nodes assigned to more than one cluster. …

Enabling dmesg Timestamps in RHEL

June 12, 2015 – 5:04 pm
1378002_16584036

By default, CentOS/RHEL dmesg timestamps are disabled. Here are the instructions to enable timestamps and a quick script to display time in a human-readable format.

Practical TShark Capture Filters

June 12, 2015 – 9:30 am
ethernet cables

The tshark is the command-line interface for Wireshark – a popular open-source network packet analyzer. A seemingly infinite variety of options make tshark an unlikely choice for casual use. Nevertheless, the power of CLI justifies the extra …

Raspberry Pi 2 OpenELEC Player

June 10, 2015 – 4:37 pm
raspberry_pi_openelec_player_0001

Just some quick documentation, mostly for myself, but feel free to try. This is a Raspberry Pi 2 with OpenELEC. The design is intended for overclocking, good wireless performance, and convenience of dual remotes. This …

Saving Postfix Messages

June 3, 2015 – 3:08 pm
postfix_logo

Sometimes for testing purposes you need to save all messages going through Postfix active queue. There are a couple of ways of doing this.

Simple Statistical Functions in Shell

June 3, 2015 – 12:01 pm
colorful shells

Here’s a small collection of basic statistical functions you can use in your shell scripts. This may come in handy when analyzing disk space, system performance, etc.

Detecting Synology NAS with nmap

May 29, 2015 – 3:07 pm
computer_security_it_privacy_0002

Just a quick note for myself on how to find Synology NAS servers on the network without having to use the bulky Windows utility that ships with these systems.

Dealing With Prolific Emailers

May 26, 2015 – 2:39 pm
shell_0002

So you come back from vacation, open Outlook and see thousands of unread emails. Who sends all this stuff? There’s an easy way to identify the sources of this background noise. In Outlook’s inbox, select …

Regex Collection

May 14, 2015 – 12:29 pm
shell_001

Just a small collection of POSIX regular expressions that may come in handy for writing sysadmin scripts.