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.

Shell Scripting for HPC Clusters, Part 1

October 10, 2009 – 12:59 am
shell_003

This is the first installment of a multipart guide for beginner Unix sysadmins supporting HPC clusters.
“For” and “While” Loop Constructs
The main challenge of supporting a Linux cluster is ensuring a homogeneous environment. Aside from small …

Web Hosting Providers and php.ini

October 9, 2009 – 4:07 pm
Grapevinesnail_01

The php.ini is the primary configuration file for the PHP – a popular scripting language used for Web development. Most Web hosting providers offer preinstalled PHP on their servers. If your search on PHP has …

iPhone Photography: Making Photos Better

September 17, 2009 – 9:05 pm
iphone4

The is the first installment of the three-part review of the better photo apps for iPhone. In the follow-up reviews we will look at artistic photo filters and panorama applications. If you don’t want to …

More Bad iPhone Apps

August 13, 2009 – 1:19 am
apple_0001

This is the second part of my review of iPhone apps unworthy of your ninety nine cents. You can read the first part here.
Certain applications are well-written and might have been quite useful, if …

Automatically Validate HTTP Proxies

August 5, 2009 – 4:14 pm
computer_security_it_privacy_0002

Let’s say you downloaded a long list of Web proxy servers. Now you are stuck with the task of weeding out the proxies that are dead, slow, fake, or otherwise unusable. There are some applications …

Shell Random Number Generator

August 4, 2009 – 2:58 pm
shell_001

Sometimes, in the course of writing shell script, a need arises for some random input. Using the built-in $RANDOM shell variable will give you a random number from 0 to 32767 . Let’s take a …

Bad iPhone Apps

July 29, 2009 – 4:37 pm
apple_0002

Oh quit your whining, you will say, they are just a couple bucks each, so no big loss if some iPhone apps turn out to be trash. True, but they are so addictive. My first …

Protected: WordPress Usage Example

July 16, 2009 – 3:56 pm

There is no excerpt because this is a protected post.

iPhone: No Clicking Sound

July 16, 2009 – 4:58 am
apple_0007

Many long-time iPhone users are familiar with the mystery of disappearing keyboard clicking sounds (among other sound effects). Here are a few things you can try before you take your fruity phone back to the …

The Follies of Traffic Driving

July 11, 2009 – 4:31 pm
Traffic light for bikes.

Imagine a busy street in the city with sidewalks packed with pedestrians. Hundreds of people are pushing and shoving, eating, arguing, talking on their cell phones and not paying any attention to each other. Suddenly, …

Testing Filesystem Performance with Bonnie++

July 10, 2009 – 4:33 pm
shell_002

Bonnie++ is a benchmark utility designed to test performance of hard drives and filesystems by simulating various types of disk I/O. Bonnie++ may be used to test local disks as well as network-mounted filesystems. It …

Tracking Prices of Hard Drives

July 5, 2009 – 5:40 pm

It seems that only a year ago terabyte hard drives were a novelty item. Today they are on clearance at computer stores trying to free up the shelves for 1.5Tb drives and the 2Tb hard …

Wget and User-Agent Header

June 29, 2009 – 12:41 pm
computer_security_it_privacy_0003

As you may already know, Wget is a popular (particularly in the Unix world) command-line downloader and Web crawler application. You can read more about Wget in one of my earlier posts on the subject. …

Numeric File Permissions in Unix

June 27, 2009 – 7:50 pm
shell_001

Suppose you are working with a Web server and your task is to make sure that no files or directories have permissions “777”. It would be easy to just recursively change permissions for all files …

Duplicating WordPress Installation

June 25, 2009 – 2:51 pm
wordpress_logo

Whenever you upgrade your WordPress installation or do development work, it is always a good idea to be working on a copy of your main site and not on the real thing. Copying WordPress installation …

Restart Apache, MySQL When Low on Memory

June 25, 2009 – 4:27 am
logo_mysql

Heavy traffic, hungry SQL queries, leaky applications will eventually leave your server low on memory. Apache will go on a hunt for swap space and MySQL will start freezing in thoughtful contemplation. Your hard drives …

MySQL Global Search and Replace Script

June 25, 2009 – 3:53 am
logo_mysql

A day will eventually come when your need to find and replace a string of text in your database. You don’t know which row, or which column, or which table. Heck, you may not even …

Passing MySQL Commands from Shell Script

June 25, 2009 – 3:30 am
mysql_0002

Running MySQL commands from a shell script is a relatively simple task that has a lot of people baffled. Some say its too complicated and suggest using PHP or Perl, others claim doing so is …

WordPress Directory Listing Risk

June 11, 2009 – 11:36 pm
wordpress_0004

A large number of WordPress directories do not have an index file. This is particularly dangerous in case of the plugins directory. If your server allows directory listings, a potential attacker may see which plugins …

DownThemAll! “No free space” error

May 18, 2009 – 6:12 pm
hard_disk_drive_hdd_0004

DownThemAll! is a popular download manager for Firefox Web browser supporting multi-part downloading with ability to pause and restart downloads without losing data. A common problem encountered while using DownThemAll! is the dreaded “no free …

Controlling Process CPU Utilization

March 9, 2009 – 12:36 pm
Grapevinesnail_01

Let’s say there is a process on your Unix/Linux system that sometimes tends to consume all CPU resources and become unresponsive. At the same time, you do not want to terminate the process at the …

Encoding Videos for XBox 360 and PS3

January 1, 2009 – 4:47 pm

Both Xbox 360 and PS3 support a variety of video codecs and are capable of playing high-definition video files. One of the most popular formats for HD video files is Matroska (MKV), which provides excellent …