Licence
Creative Commons License

This work by Stephane KATTOOR is licensed under a Creative Commons Attribution 3.0 Unported License.
Feeling like tipping ?
If you find this blog useful, you might consider sending a few bitcoins to support it : 1BTtsC3beGJ6ysd8DhrXjdo6jVw5WD9mvY
RSS
 
RSS Feed
Follow me !
Tech@Sakana on Facebook
Search this site

Newsletter

Get latest posts by email (No spam, only posts):

Enter your email address:

Delivered by FeedBurner

Categories
Monthly archives
July 2006
M T W T F S S
« Jun   Aug »
 12
3456789
10111213141516
17181920212223
24252627282930
31  
Month: July 2006
Solaris 10: “logical-units” for network cards (NIC) - July 17, 2006 by Stephane Kattoor

The “interface name” part of an ifconfig command can be a simple interface name, such as eri0, bge0 and such, or a logical unit such as eri0:1, eri0:2 and so on.

This makes it easy to setup more than 1 ip address on a network card, and hence to make virtual servers.

Solaris 10: managing services with SMF - July 11, 2006 by Stephane Kattoor

In Solaris 10, services are managed by SMF. The scripts in /etc/rcX.d are only there for legacy (and so is inetd).
To manage the services, you mainly use 2 commands : svcadm and svcs. Below are the most useful commands.

disable services :
# svcadm disable network/finger

enable services :
# svcadm enable network/finger

list all enabled services :
# svcs

list all services:
#svcs -a

list error conditions for services:
#svcs -x

These are the only options I’ve use so far … for the other ones, check the manual !

Solaris : Shared libraries search path - July 11, 2006 by Stephane Kattoor

crle is the tool which lets you manage the way Solaris searches the shares libraries.

crle -l path1:path2:path3 will make Solaris lookup for shared libraries in path1, 2 and 3.

Beware that this replaces the previous settings !!! Easy to mess with your system…

Unix : transfering a filesystem or directory - July 8, 2006 by Stephane Kattoor

to transfer a filesystem or directory while preserving permissions, special files and such, you can use the following :

# cd sourceDirectory
# tar cpf – . | (cd destinationDirectory && tar xpf – )

The first tar will archive the source directory and pipe it out to the second one which operates the extraction in the destination directory.

Who am I ?
Ads