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 »
It is sometimes necessary to use complex select and insert queries with dozens of variables. Writing such queries by hand is a tedious process and the chance of making a mistake is high. A few …
NFS is a relatively uncomplicated functionality of any Unix system. However, from time to time you are bound to run in the “permission denied” error while trying to NFS-mount a filesystem. Everything seems to be …
Google Images is an extremely useful tool for webmasters, designers, editors, and just about anybody else who’s in a hurry to find just the right photo or clipart. However, this Google tool has a couple …
ASP.NET developers have been spoiled by intuitive but inflexible GUIs and IDEs. These Microsoft tools (and various third-party add-ons) make your life as a programmer relatively painless; but only as long as you don’t try …
This note explains how to access a Samba server located on the “orange” DMZ subnet from a Windows PC on the “green” LAN. The problem for Samba is caused by the firewall blocking NETBIOS responses. …
A simple one-line command to perform find and replace operations in MySQL:
Some screenshots of KDE 3.2 running under SuSE 9.2 on an AMD 64 machine with CrossOver Windows emulator and Microsoft Office XP installed.
A general view of the KDE desktop with one of the standard backgrounds.
Here’s …
A few screenshots taken with Sun Java Desktop running under Solaris 10 on a SunBlade 2000 workstation, which also works great as a heated footstool when placed under your desk.
A general view of the desktop …
This article contains examples of using prstat to monitor CPU and memory utilization by individual processes and groups of processes.
Example 1: Show CPU and memory usage by all processes called “*ora_smon_imanax*”
The following prstat command will …
Pkg-get Installation Notes
Pkg-get is an open-source, Sun-approved software installation and management tool for Sun Solaris. You can use pkg-get to install a variety of pre-compiled software without having to worry about version compatibility, patch requirements, …
What’s the best Linux distro for desktop applications? My subjective opinion based on years of Linux experience is that SuSE 10 at the moment offers the best combination of features and user friendliness. The latter, …
The following is an overview of the GUI for Veritas Enterprise Administrator 3.2
The following is a process for migrating spreadsheet data to MySQL database using a Shell script in a Unix environment. To follow this tutorial you must already know how to create MySQL schemas and tables. …
The following interactive Korn shell script can be used to make common changes to the configuration of Veritas HA Cluster resources. The script enables you to view the listing of available resources; view resource configuration; …
The following is a Korn shell script that can be used from command line or cron to bounce a Veritas HA Cluster resource. This can be useful to resolve certain problems with Oracle databases running …
To connect with Cygwin to a Unix X-server in XDMCP-broadcast mode, create a shortcut as shown below. In the target field enter:
CrossOver is a commercial variation of Wine freeware – a Windows emulator for Linux. This program allows you to run popular Windows applications under x86-based Unixes, including Linux, FreeBSD, and Solaris. Wine and CrossOver can …
This article explains how to configure a network interface to support virtual IP addresses. This is useful in a cluster environment or in any high-availability service cnfiguration, when you need to ensure that at least …
In the course of writing a shell script it is important to consider possible error and unexpected interrupts. Let’s say you wrote an interactive script that allows users to archive old files to free up …
By default awk and sed do not expand shell or system variables and do not pass their own variables back to the shell. To use shell variables awk and sed statements must be included in …
The following is a brief overview of common performance monitoring tools for Solaris, including built-in tools, freeware add-ons, and commercial applications.
Souce: http://www.sunperf.com/perfmontools.html
Built-in Tools
vmstat
The vm in vmstat stands for Virtual Memory, of course. So let us …
Latest Comments