tcpdrop is a free utility to drop an established TCP connection in Sun solaris. It is a port of the tcpdrop utility from FreeBSD and openBSD. tcpdrop doesn’t do what it says on the tin and nothing more but does it very well. tcpdrop works in Solaris 10,9,8
The following error on the Sybase ASE intalled on Sun Solaris can occur if the Maximum shared memory allocated is max’d out or if none is allocated, it takes the default value which is “Total Physical Memory /4”.
Backup Server: 126.96.36.199:  The ‘shmget’ call failed with error number 22 (Invalid argument). Refer to your operating system documentation for further details.
There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM
-> reset /SP
Are you sure you want to reset /SP (y/n)? y
Performing hard reset on /SP failed
reset: No such inventory
or when you try to reset the ILOM password, you may get the error “Set: No such object value”
As we discussed earlier here, you can find the serial number of a Sun Hardware using the utility “sneep”. However, in Sun X86 systems, you can use the pre-installed tool “ipmitool” to find the system serial number. It is not as straight forward as sneep but still is simpl procedure.
Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well. Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.
When you run any boot command like “boot net” or “boot -s” from the OK prompt (OBP), you may end up with the error
FATAL: system is not bootable, boot command is disabled
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.
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.
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.