Archive for 'Linux Utilities'

Wiping a hard drive with preclear_disk.sh

I recently picked up a couple of Seagate 1.5TB hard drives, and based on the reviews I wanted to conduct an EXTENSIVE burn on each drive (a number of people have reported these drives suffered from the “click of death”). There are various tools to read and write data to a drive, but the most [...]

Getting an accurate view of process memory usage on Linux hosts

Having debugged a number of memory-related issues on Linux, one thing I’ve always wanted was a tool to display proportional memory usage. Specifically, I wanted to be able to see how much memory was unique to a process, and have an equal portion of shared memory (libraries, SMS, etc.) added to this value. My wish [...]

Getting DNS ping (aka nsping) to compile on Linux hosts

While debugging a DNS issue this week, I wanted to run my trusty old friend nsping on my Linux desktop. I grabbed the source from the FreeBSD source site, checked to make sure the bits were legit, then proceeded to compile it: $ make cc -g -c -o nsping.o nsping.c In file included from nsping.c:13: [...]

Getting notified when new hosts appear on your network

I had to debug an interesting network problem a few weeks back, and wanted to see when new hosts appeared on my network. While debugging the issue, I needed to find a way to get notified when a new host appeared (I didn’t want to sit at a terminal reviewing the output from snoop and [...]

Sending commands to multiple Linux and Solaris machines through a single graphical shell window

I have been a long time user of clusterssh, which is a fanstastic tool for sending commands to multiple hosts. Inside each terminal window you can type a command, or you can use the master console to send a command to all of the windows you opened. The clusterit tools comes with a similar tool, [...]

Managing 100s of Linux and Solaris machines with clusterit

I use numerous tools to perform my SysAdmin duties. One of my favorite tools it clusterit, which is a suite of programs that allows you to run commands across one or more machines in parallel. To begin using the awesomeness that is clusterit, you will first need to download and install the software. This is [...]

« Older Entries