Featured »

April 16, 2013 – 12:39 pm |

Imagine you have an HPC cluster with a hundred compute nodes named node001-node100. The two commands below will help you generate a list of node names – either all name on one line or one name per …

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.

Home » Archive by Tags

Articles tagged with: korn

Controlling Process CPU Utilization

March 9, 2009 – 12:36 pm | 5 Comments
Controlling Process CPU Utilization

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 …

Sharing Videos from Linux to Xbox 360

December 19, 2008 – 8:49 pm | 3 Comments
Sharing Videos from Linux to Xbox 360

Xbox 360 uses UPnP protocol to stream multimedia files from computers on your home network. Normally, you would have a Windows PC running WMP and sharing files. But what if you have a Linux box …

Useful SysAdmin Scripts: Search-and-Replace

June 1, 2008 – 3:03 pm | 2 Comments
Useful SysAdmin Scripts: Search-and-Replace

Let’s say you moved your server to a new network and now it has a different IP address. You know your users have a habit of hard-coding the server’s IP into their scripts. So you …

Korn Shell Arrays

January 24, 2008 – 11:13 am | 6 Comments
Korn Shell Arrays

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 …

Contacting the sysadmin from command line

September 28, 2006 – 11:10 pm |
Contacting the sysadmin from command line

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 …

Database operations with SQL and Korn shell

November 20, 2005 – 11:46 am | 3 Comments
Database operations with SQL and Korn shell

The following Korn shell function will read the a directory containing CSV data files named server_sysstat.20051119.csv with format:

FTP script with nested function

November 20, 2005 – 2:14 am | One Comment
FTP script with nested function

An example of an FTP script with Korn shell.

Find largest files

November 19, 2005 – 11:17 pm | 3 Comments
Find largest files

How to find the largest files in the directory tree on Solaris.