July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Solaris Tips and Tricks

Solaris Tips and Tricks PS Long Listing You want to see the whole command, but – how annoying – ps truncates to 80 characters.

/usr/ucb/ps augxww gives full command listings.

If you’re only interested in one process, an excellent alternative is pargs which lists the command line arguments for a given command.

For example: pargs […]

solaris 10 reference

solaris Release

Get the release of your OS by cat /etc/release: OpenSolaris 2009.06 Example: OpenSolaris 2009.06 snv_111b X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 May 2009 Solaris 10 Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled […]

Enabling Remote root login Solaris 10.

Enabling Remote root login Solaris 10.

It is neither recommended nor suggested to allow remote root logins for security reasons. For Test servers, Non-production servers or other servers, you may want to allow remote root login via SSH.

Usually you get “Access denied” errors when accessing a Solaris server as root when logging on remotely.

[…]

Find pid in Solaris 10

Find pid in Solaris 10

If you do not know the pid of a process, you can use “pidof” command in Linux. In case of Solaris, its not available.

Here’s how you can find it:

#ps -ef | grep nscd | grep -v grep | cut -c12-19 123

Here, it will find the pid of […]

after Solaris 10 installation

after Solaris 10 installation

1. Set BASH as default shell for root: This is first thing I really do! Because bash has multiple advantages for day to day use and scripting too, over other shells. For this you can simply edit /etc/passwd file and change the shell from very first line. By default it […]

Counting number of users in a group – Linux

Counting number of users in a group – Linux

Here is a small command to find number of users in particular group on a *nix system. An example for wheel group:

grep wheel /etc/group | fgrep -o , | wc -m

Now here’s a catch, this command actually counts the commas in the line from […]

Disabling default GUI Startup Solaris 10

Disabling default GUI Startup Solaris 10

Many of us may not want to use the Solaris 10 Default JAVA or KDE default GUI. To startup Solaris 10 default in command Line mode you can make use of one of following:

1. You can use dtconfig command: To disable GUI: #/usr/dt/bin/dtconfig -d To enable GUI: #/usr/dt/bin/dtconfig […]

Solaris 10 Live Upgrade HowTo

Prepare the disk slice and partition for live upgrade: disk 1 Partition: c0d0s0 / c0d0s1 swap c0d0s2 backup

disk 2 partition:

c0d1s0 /copyroot

the partition on second disk (/copyroot) is same size as the root (/) partition and it must not appear in use in “/etc/vfstab”.

This example explains how to upgrade a Solaris 10 […]

Creating a Jumpstart Server from ISO images

Creating a Jumpstart Server from ISO images

What is Jumpstart ? Jumpstart is a computer network installation tool set used by the Solaris OS. On this post, you will find easy step to perform Jumpstart installation from ISO Solaris OS images.

here are the step-by-step:

first of all, you need to upload Solaris ISO image […]

How to reset the ILOM root password back to the default ‘changeme’ using ipmitool

How to reset the ILOM root password back to the default ‘changeme’ using ipmitool

If the root password on the ILOM is currently unknown, but you have root access to the O/S installed, you can change the ILOM password back to the default “changeme”.

Follow below steps: # which ipmitool /usr/sbin/ipmitool

# /usr/sbin/ipmitool -V ipmitool […]