Archive | Solaris RSS feed for this section

Check Network Speed In Solaris 10

Here is a useful command to check the network speeds of NICs in Solaris 10. bash-3.00# dladm show-dev e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 link: unknown speed: 0 Mbps duplex: half e1000g2 link: unknown speed: 0 Mbps duplex: half e1000g3 link: unknown speed: 0 Mbps duplex: half e1000g4 link: up speed: 1000 [...]

Read full story · Comments { 0 }

Change Hostname In Solaris 10

To change the host name in Solaris 10 just change these files /etc/hosts /etc/nodename /etc/nostname.<interface> /etc/inet/ipnodes    (There is some debate about this file) Use dumpadm to update /etc/dumpadm.conf Reboot NOTE The following hosts files are no longer used in Solaris 10. /etc/net/ticlts/hosts /etc/net/ticots/hosts /etc/net/ticotsord/hosts Link to this post!

Read full story · Comments { 0 }

ODS UFS Disk Expansion and Resize

Current partition table (original): Total disk cylinders available: 11697 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 unassigned wm 1 – 337 500.23MB (337/0/0) 1024480 1 unassigned wu 338 – 674 500.23MB (337/0/0) 1024480 2 backup wu 0 – 11696 16.96GB (11697/0/0) 35558880 3 unassigned wm 675 – 1011 500.23MB (337/0/0) 1024480 [...]

Read full story · Comments { 0 }

Solaris 10 sd.conf dynamic re-read

On Solaris 10 it is possible to dynamically re-read the sd.conf configuration file via the use of the update_drv command. # update_drv -vf sd Cannot unload module: sd Will be unloaded upon reboot. Forcing update of sd.conf. sd.conf updated in the kernel. This prevents the need to reboot the server in order for changes to [...]

Read full story · Comments { 0 }

Useful trick when lsof is not present

ps -o pid,ppid,rss,args -p “$(fuser / 2>/dev/null)” processes with open files for root fs Link to this post!

Read full story · Comments { 0 }

Removing Drives with cfgadm

Newer Sun kit has a feature where when you un-configure an internal drive for removal a blue light comes on indicating the device is ready for removal. This is quite useful when you are performing break fix to a remote location, so that the engineers know which drive to pull. This works when removing tape [...]

Read full story · Comments { 0 }

Flexm License Managemet Tips

To display all installed licenses, become root and type: # lmstat -a -c /etc/opt/licenses/licenses_combined To get information about the licenses used by a compiler, use the -xlicinfo parameter. For example, for the C compiler type: % cc -xlicinfo bash-2.03# ./lmstat -a -c ./licenses_combined lmstat – Copyright (C) 1989-1999 Globetrotter Software, Inc. Flexible License Manager status [...]

Read full story · Comments { 0 }