Posts Tagged ‘ solaris ’

How to change a disk “type” in Solaris.

January 7, 2010
By gary

Sometimes you might want to change the “type” of a disk within Solaris. The “type” of the disk is stored on the disk itself, along with the partition table (presumably in the VTOC in the first part of the disk). For the purpose of this post, I use disk “name” and “type” interchangeably. In...
Read more »

Tags: , , ,
Posted in sysadmin | No Comments »

List binary objects by size.

September 2, 2009
By gary

Sometimes you will want to know what a binary file contains (functions, arrays, objects) etc. The ‘nm’ command will do that for you, and the following 1-liner will sort the output by size. I use this to determine why some source compiled on Solaris is larger than when compiled in linux. e.g. nm...
Read more »

Tags: , , , , ,
Posted in unix | No Comments »

Case of the failing executable: Killed at startup.

August 25, 2009
By gary

We had a very strange problem at work whereby we could execute 8 copies of our load generation tool, but not more. This is a tool we use all the time, and regularly run more than 20 copies per host. The box I was trying to run the tool (sio) was a...
Read more »

Tags: , , , , , , , , , ,
Posted in troubleshooting | No Comments »