dladm – Display Link status,speed,duplex,statistics,MTU

June 19, 2009 · Filed Under Networking, Solaris 10 · Comment 

In the past we have to mess around with the NDD commands and stats tools like kstat to find the network link status, speed, duplex information in Sun Solaris. With Solaris 10, this has become much easier with the dladm utility.

dladm is the admin utility for Data-Link Interface which helps to display informarthe like Link Status (UP/DOWN), Speed, Duplex, MTU, VLAN Tagged and crucially statistics of network traffic on each of the interfaces historically as well as in real time. dladm can also configure and admin Link Aggregation on multiple NICs which we will not focus here.
Read more

Find Chasis Serial Number using sneep

June 19, 2009 · Filed Under hardware · Comment 

sneep (Serial Number in EEPROM) is a cool utility for Solaris that can retreive the Chasis Serial Number (CSN) or the Product Serial Number (PSN). This comes real handy when taking inventory or when having to work with Sun Support. sneep can also store useful information like system Assett Tag or Location into the EEPROM which can be retreived later on.
Read more

PCP script to find open TCP ports and PIDs related in Solaris

May 12, 2009 · Filed Under Networking, Solaris 10, Solaris 8, Solaris 9, security · 2 Comments 

PCP is a very useful security and adminitration script that can help you quickly find Processes (PIDs) having particular TCP Port(s) open, TCP ports open by specific PIDs or even list all the TCP Ports open by all PIDs running on your system.

Read more

How to find the WWN (World Wide Name) in Sun Solaris

February 10, 2009 · Filed Under hardware · Comment 

World Wide Name (WWN) are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC).

Talking about the WWN names, there are also

World Wide port Name (WWpN), a WWN assigned to a port on a Fabric which is what you would be looking for most of the time.

World Wide node Name (WWnN), a WWN assigned to a node/device on a Fibre Channel fabric.

Read more

psrinfo – Find number of Physical & Virtual Processors in Solaris 10

January 2, 2009 · Filed Under General · 6 Comments 

In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you.

Read more

Error: Your “crontab” on unexpected end of line. This entry has been ignored

September 10, 2008 · Filed Under General · Comment 

Everytime you edit your crontabe file, the error “Your “crontab” on <server> unexpected end of line. This entry has been ignored” is sent to the users email. This happens if there is a blank line in your crontab file.

Read more

How to mount an ISO image in SUN Solaris

July 13, 2008 · Filed Under General · Comment 


In Sun Solaris, we can use the Loopback File driver to mount an ISO image without having to write the ISO image onto a CD or DVD.

Following procedure should help you mount an ISO image in Sun Solaris

Read more

Howto Take Screenshots in Solaris 7/8/9/10 (CDE)

May 13, 2008 · Filed Under General · 1 Comment 


This is one of those not so technical tip but certainly the one we need when it comes to talk to Sun Support or creating a documentation. yes, its taking screenshots in Sun Solaris Operating Environment using CDE. Sun Solaris X utilities uses “xwd“, an application that is standard among the X utilities can be used to take screenshots. 

xwd dumps the output of a window into a file that can be viewed with xwud, or converted with convert (part of ImageMagick package), xv or another tool to a more usable image type, like png.

Read more

How to Enable or Disable a processor in Sun Solaris

May 9, 2008 · Filed Under hardware · Comment 


In multiprocessor environments, Sun Solaris can allow enabling or disabling Processors. This although is not something that we would do all the time but can come handy when troubleshooting hardware issues.

Sun Solaris has the psradm utility which allows enabling or disabling a Processor on the system. The psradm utility changes the operational status of processors. The legal states for the processor are on-line, offline, spare, Faulted, and no-intr. An online processor processes LWPs (lightweight  processes) and can be interrupted by I/O devices in the system.

Read more

How to display Processor information in Sun Solaris

May 9, 2008 · Filed Under hardware · Comment 


Sun solaris has various different utilities to find the processor information on your hardware. Let’s have a look at the different utilities that can display the processor informations and the way they display information.

Read more

Next Page »