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 »
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.
Veritas Volume Manager GUI is more functional and intuitive that that of any other volume management application. However, once in a while the VEA GUI becomes corrupted and displays incorrect information. One of the symptoms …
The following problem is encountered occasionally in most flavors of Unix and versions of Exceed. A user was able to use Exceed without problems to connect to the same Unix server just the other day. …
If you are a sysadmin, communicating with your users is an important aspect of your job. Phone, e-mail, SMS, and various service request systems are commonly used by most businesses. The problem with all these …
It is surprising how many people run into problems trying to use the GRANT command: everything from not being able to access a database table to losing admin access to MySQL altogether. There’s a bunch …
Recently I got a Palm TX and so far I like everything about it. Except for the $300 price tag. Built-in Wi-Fi card and a larger screen that can operate in landscape mode are the …
Unix systems record several time parameters associated with files. Sometimes you might need to set time parameters on a file to a particular value. Or you might need to modify a file without changing any …
Latest Comments