Jun 192009
 

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.
Continue reading »

May 122009
 

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.

Continue reading »

Feb 102009
 

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.

Continue reading »

Jan 022009
 

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.

Continue reading »

May 132008
 


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.

Continue reading »

May 092008
 


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.

Continue reading »

May 062008
 


A quick reference guide for “at” utility in Sun Solaris. “at” utility in unix is similar to the “cron” daemon except for that “at” jobs are run only once while cron jobs are recurring. “at” is primarily used to schedule a job which can be command or a script to run once at a particular time although it can be made to reschedule the job. This could be immediatly or at a later time.

The at utility reads commands from standard input and groups them together as an at job, to be executed at a later time.

Continue reading »