Featured »

network switch

Linux CLI Network Speed Test

September 1, 2015 – 12:36 am

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 …

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.

WordPress »

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 everything looks fine, except the jCarousel slider on the home page was showing only three posts at a time, instead of the previous five. My rule is: if it took me more than fifteen minutes to figure out a problem, then it’s worth documenting. Think about it this way: if your life was worth $2.8 million, then 15 minutes would cost you about a dollar. Doesn’t sound like much, but why waste a buck on something you already own, right? Read the full story »

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 – an electrician – I found I had more arguments then I was willing to spill on Facebook. I am …

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. …

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.

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.

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 …

BASH History Control

May 12, 2015 – 12:01 pm
shell

The standard output of the “history” command will show you the last one thousand commands executed by the user. This is useful, of course, but there are a few issues. Sometimes it’s important to know …

Verify Email SSL Certificate from CLI

May 8, 2015 – 10:36 am
postfix_logo

Just a quick reference for validating SSL certs on mail servers. This is not something I have to do often, but when the need arises, I find myself googling the answer every single time. So …

Extending Swap on LVM2 Logical Volume

May 7, 2015 – 11:16 am
hard-disk_00416535

To grow swap on LVM you will need to temporarily disable the swap LV. This will leave without swap space, which may upset some applications (Oracle). So the first step should be to set up …

Faking the Uptime in Linux

May 4, 2015 – 10:05 pm
968780_94091618

If, for whatever reason, you need to fake the Linux server uptime, there is a hacked kernel module you can use. The instructions are below.

Resetting HP ILO from OS

May 4, 2015 – 11:02 am
hp_ilo_001

You can use ipmitool package in Linux to reset your HP server’s ILO password. The basic instructions are below.

Removing CTRL-M from Unix Files

April 16, 2015 – 4:44 pm
968780_94091618

This is a simple but annoying and persistent problem: text files edited on Windows and the uploaded to Unix acquire the “^M” character at the end of each line. In my experience, this little problem …

Observium Agent Installation on Pidora

April 13, 2015 – 11:50 am
raspberry_pi_wallpaper_by_rbininger-d5w5jk1

Just some quick notes on installing Observium agent on Raspberry Pi running Pidora. Pretty much the same process applies to any Fedora-like flavor.

Log Event Time Distribution

April 2, 2015 – 11:04 am
1378002_16584036

When “once in a while” answer is insufficient and you need to know exactly how often a particular event occurs on the system, there are a few easy things you can try from command line.

Late Night Rant #26

March 30, 2015 – 12:30 am
picard-facepalm-text-569

When you’ve ls’d, grepped, catted, piped and tailed everything on your computer and there is absolutely nothing left to do, there’s always this…

Login Monitor

March 6, 2015 – 12:02 am
dont_panic

Sometimes after a couple of beers I start feeling paranoid. I make sure the door is locked and check my firewall logs. Here’s a very basic script to monitor your server’s login record and notify you about …

Installing Salt Minion on RHEL5

February 19, 2015 – 10:38 am
salt_lake_001

As of recently, python26-distribute has been removed from EPEL5 due to lack of support and attempting to install salt-minion on RHEL5 will throw a dependency error. If you are still running RHEL5, you would need …