Original computing articles by a systems administrator

Category Archives: Linux

Debuging a script that parses /proc/net/dev

A Intermittent Problem: I wrote a Perl script for Nagios that would figure out the bandwidth of an interface by parsing TX (transmit) and RX (receive) bytes from /proc/net/dev. The proc file system is a virtual file system that provides the ability to view various kernel statistics as well as modify some kernel parameters. My… Continue Reading

How to Cross Compile the Bash shell for Android 1.5

Introduction: I just got a new G1 Android phone, and since it runs Linux I just had to get the Bash shell running on it, the built in shell would just not do.  I do need my tab completion after all. Cross compilation is the process of compiling software on one platform that is meant… Continue Reading

My Not-So-Shabby Screen and Gnome-Terminal Setup

Introduction For a system administrator it is important to have an efficient and comfortable interface to all your servers. GNU Screen is an excellent utility to be able to have a single terminal connected to multiple servers that won’t disappear when you close the window. I have a set up that allows me to spawn… Continue Reading

How-to: Setup up an Emulated Cisco Lab Using GNS3 in Ubuntu, Part1

Introduction: GNS3 is a graphical network simulator that is integrated with the Cisco router emulator Dynamips.  In this tutorial I will explain how to connect your Linux host to an emulated 7200 series router, then that router to another 7200 router, and finally that second router will be connected to a Linux VM running in… Continue Reading

Book Review: Learning Nagios 3.0

Wojciech Kocjan’s Learning Nagios 3.0 is a clear and gentle introduction that takes readers through the basics and introduces them to the more advanced topics of infrastructure monitoring with Nagios. The writing has a good balance of concise technical information while also providing thorough examples in a tutorial style. This keeps the book from being… Continue Reading