We have seen how to calculate the vxprint and vxdisk values manually in the last post.But in very busy work schedule, its very difficult to spend time for calculating those values.I have developed the bash shell script(works for solaris) which will give you the volume size ,plex size,Disk size and sub-disk size (GB’s) of specific diskgroup in seconds.Adding to that this script […]
How to calculate vxvm volume size and objects size
I am very sure that many of the Unix beginners(i e. veritas volume manager) will be struggling to calculate the values from “vxprint” output and “vxdisk” output to determine the size of the objects like volume,plex,subdisks and disk. Off course there is no easy way to get the values in MB or GB using veritas command. You need […]
How to copy the files from Unix to windows ? winscp
This is a command question among the Unix beginners and windows administrator that how to copy the files from windows to Unix operating system and vise-verse.In all the Unix/Linux operating system supports secure shell which is widely used.Its very secured compared to telnet and ftp. By default ssh uses the port 22. SFTP (secure file transfer protocol & SCP (secure copy) also uses the same […]
rcapadm – Solaris Online Resource Capping
As you know, system resources like CPU,MEMORY,SWAP can be limited to Solaris local zones using capping.We do the resource capping by just using “zonecfg” command. But the changes are instantaneous ? No. You need to reboot the local zone in a order to take the settings effect.Here we will see how to make the changes instantaneous. But instantaneous […]
Solaris Zone’s Resource capping – MEMORY-CPU
Solaris Zone’s Resource capping: Resource capping is nothing but Limiting the system resources like CPU,Memory,SWAP to local zone.For an example, if you are running local zones without a resource capping,there may be high possibility that one zone will consume all the global zone resources and it will effect other local zones which are running the same global zone.We […]
How to use snoop in Solaris ?
Snoop is a inbuilt packet analyzer tool in oracle Solaris operating system.It is used for network troubleshooting and analysis.But normal user do not have permission to run snoop command.Only root user can run it.Snoop command having option to redirect the output to file.This file can be analysed later using snoop command itself or you can use wireshark tool for that.If […]
Solaris Process Inspection Commands
Oracle Solaris provides many utilities for inspecting the state of process which are running on the system.Using the process inspection commands ,we can dig in to the process in detail manner for in depth troubleshooting.Here we are going to see many process introspection command which will very handy on application trouble shooting.This article is based on Solaris internals book. Please see […]
How to find the Solaris global zone from local zone using script
Many of the Solaris administrators will break their head to find Solaris global zone name from localzone. These kind of questions may asked in interviews too.How do you find it ? The answer is No.There is no simple command to find it.Because Oracle (Sun microsystems ) designed the Solaris zones in such a way for that, you can’t find the global zone from local […]
ZFS – How to increase rpool in Solaris
We have an issue in ZFS “the next generation filesystem” as well.In ZFS, you can not extend the root pool by adding new disks.But it has some logic too. For an example,if you are having more than one harddisk in root zpool, loss of one disk result be un-bootable system.To eliminate these kind of situations ,its better to keep […]
Solaris Process controlling – proc tools
In the last post, we have seen about process status using prstat.But here we are going to see how to control the process using pid in Solaris Many of the Solaris administrator may thinking how to freeze the process ? Some beginners may still have doubt that how to kill the process? Some of them may still wondering how start […]


