Articles in SysAdmin
Collectl & Colplot Sytem Performance Analysis Tools
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
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
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
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
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
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
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
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
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
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
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
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
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
Just a small collection of POSIX regular expressions that may come in handy for writing sysadmin scripts.
BASH History Control
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
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
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
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
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
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
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
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.

Latest Comments