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.

Home » Archive by Tags

Articles tagged with: solaris

Contacting the sysadmin from command line

September 28, 2006 – 11:10 pm
colorful shells

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 …

Changing time

May 11, 2006 – 12:12 am
time clock watch

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 …

Mountpoint permission problem in Solaris

May 4, 2006 – 6:45 pm
sun_solaris_0002

The following condition was originally discovered in OpenSolaris 11 (Bug ID: 4697677). This problem occurs when you do mkdir -m 700 on a mountpoint before mounting it. This superceeds whatever permissions you might give to …

Monitoring Veritas VM problems on Solaris

April 20, 2006 – 4:41 pm
solaris-logo

Several Veritas VM and system logs can be used to monitor and diagnose problems with the Volume Manager. An automated script can be used to grab the last few lines from these logs whenever a …

Solaris One-Liners

March 21, 2006 – 12:41 pm
sun_solaris_0001

Useful Solaris commands for system administrators

Sun Java Desktop

December 21, 2005 – 8:07 pm
solaris-logo

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 …

Using pkg-get on Solaris

December 13, 2005 – 12:27 pm
sun_solaris_0002

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, …

Script to modify Veritas HA Cluster Resource Configuration

December 7, 2005 – 11:10 am
shell

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; …

Running Windows Apps on Linux

December 5, 2005 – 11:43 pm
windows-logo-readerszone

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 …

Solaris performance monitoring

November 28, 2005 – 4:47 pm
sun_solaris_0002

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 …

Basic Network Configuration Under Solaris

November 26, 2005 – 1:27 pm
HP-Greets-IBM-2

The following document provides a general overview of the network configuration process for Solaris. For a detailed review of Solaris network configuration please see Chapter 4 of the O’Reilly Solaris 8 Administration Guide by Paul …

Create boot block on Solaris disk

November 22, 2005 – 11:29 pm
HP-Greets-IBM-2

To make a Solaris disk bootable you need to install the boot block on the disk. This should be done, for example, after copying the primary boot disk to the secondary disk.

Solaris boot disk copy using dd

November 22, 2005 – 6:40 pm
di-logo-solaris-orange

The following Korn shell script will make a bootable copy of the boot disk on a Solaris system. The script uses dd and requires that the source disk and destination disk have the same geometry.

Command-line backup methods

November 22, 2005 – 6:01 pm
968780_94091618

The following is a brief overview of standard Unix comman-line utilities used for data backup on Solaris systems. Most of the information below is also applicable to other unixoid systems.

Working with ISO images on Solaris

November 22, 2005 – 4:57 pm
HP-Greets-IBM-2

The following two commands will take all data in /home/neal, copy it to the ISO file, and burn the ISO file to a recordable CD.

Executing commands with ‘find’

November 21, 2005 – 11:47 pm
shell_0004

To executes commands with ‘find’ use the ‘-exec’ option. Example:

Install PHP, Mysql, Apache2 on Solaris 9

November 21, 2005 – 11:05 am
apache

A sample procedure for installing PHP, MySQL and Apache2 on Solaris 9.

Apache MySQL PHP Solaris 8 Installation

November 21, 2005 – 11:03 am
di-logo-solaris-orange

A sample procedure for installing PHP, MySQL and Apache2 on Solaris 8.

Solaris boot disk copy

November 20, 2005 – 2:24 am
di-logo-solaris-orange

A sample procedure for installing PHP, MySQL and Apache2 on Solaris 8.

Resetting Root Password under Solaris

November 20, 2005 – 2:02 am
HP-Greets-IBM-2

The following document explains how to change an unknown root password on a Solaris system. Use this only for disaster recovery purposes. Please be sure to read the Notes section below if you run into …

Find largest files

November 19, 2005 – 11:17 pm
shell

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

Increase swap space

November 19, 2005 – 11:15 pm
hard_disk_drive_hdd_0005

Instructions for adding swap space on the fly for a Solaris system. Adding swap space via a swap file degrades system perfomance. However, this is a useful method for quickly adding swap space without interrupting …