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 »
Computers kill. That’s right: according to the National Highway Traffic Safety Administration, some 2,600 die every year in car accidents because they got distracted by their cell phone, a GPS gadget, an MP3 player, or …
The news of Artificial Intelligence research always attracted my attention. I myself was a fan of new technology, especially I am a gamer as well and my friends, looting and trading diablo 2 items for …
Network World reports this week that, according to a study by Accenture, some twelve percent of computer users are connecting to some else’s unsecured Wi-Fi networks. So here’s the question I wanted to discuss: is …
CSV is a field-separated format that can be easily imported into a spreadsheet application. Usually the separator field is a comma. However, sometimes it is easier to select a more unusual character (like “@” for …
Ganglia is a distributed performance monitoring application used primarily for tracking status of high-performance compute (HPC) clusters. Ganglia is a royal pain in the ass to install and configure even for a seasoned Unix sysadmin. …
The following is a procedure for recovering a ReiserFS filesystem with bad blocks. If this is a system FS and cannot be unmounted, the box needs to be booted from the latest version of Knoppix …
The this is a description of a method for recovering ReiserFS filesystems from failed disks with bad blocks, when other recovery methods (reiserfsck) will not work. For this example, the failed server is called node1 …
Swatch is a Perl-based log monitoring tool that can match regular expressions and perform automated actions. The tool is useful for monitoring system log files in real time with an option to run external commands …
The following is a detailed look into managing Linux users and the system resources they utilize. Disabling user access; halting, killing, and re-nicing user processes; controlling disk space allocation are all points covered by this …
Veritas cluster server is a high availability server. This means that processes switch between servers when a server fails. All database processes are run through this server – and as such, this needs to run smoothly. Note that the oracle process should only actually be running on the server which is active.
When resizing a VXFS filesystem on a server that has HSM running, it is necessary to place HSM in maintenance mode for that particular filesystem. Failing to do so may cause the VFS resize operation …
There is no excerpt because this is a protected post.
Here are a few useful examples of how to use data arrays within Korn shell. Arrays are a great tool for storing user input and other data for quick, on-the-fly access. If, for example, you …
Sometimes you need to locate a text string in various configuration files. You don’t know which files. You can just use “grep *”, but the output is rather messy and you can only search in …
The following is an example procedure for upgrading phpBB2 bulletin board software running under Linux. This procedure allows to retain forum customization.
Download “Changed files only” package from http://www.phpbb.com/downloads.php
Tar cvf and gzip the entire phpBB2 installation …
Linux Performance Tuning
April | May 2007 | by Jaqui Lynch
Note: This is the second article in a two-part series. The first installment was published in the February/March issue.
In last issue’s article I introduced basic Linux* …
Query cache can significantly speed up database operations for identical search queries. This is particularly useful for Web server applications, where multiple requests for the same data are a regular occurrence.
To enable query caching on …
Using LOAD DATA LOCAL INFILE is a much faster way to insert lots of data into a table than using INSERT. The only preliminary step is to format the input file with unique field separators.
In …
“eMule is a peer-to-peer file sharing application that works with both the eDonkey network and the Kad network. The distinguishing features of eMule are the direct exchange of
sources between client nodes, fast recovery of corrupted …
Creating an index for specific columns in a database table can greatly speed up search operations. This is important for any database query that use WHERE in the SQL string. Below is a practical example …
A few screenshots of my Windows XP to supplement my collection of KDE and Sun Java Desktop screenshots.
Latest Comments