Solaris has number of tools to examine process details and those just reading the /proc directory. These tools are very useful in application troubleshooting and analyzing the system performance. This article is based on “Solaris™ Internals: Solaris 10 and OpenSolaris Kernel Architecture” book. I would strongly recommend this for all the Solaris administrators. Here we […]
Oracle Solaris
Solaris 10 – Local zone wise utilization Report using zonestat
I am sure many of the Solaris administrators will break their head in an order to find Solaris local zones wise resource utilization details on oracle Solaris 10. Because there is no simple inbuilt tool to find these details in Solaris 10 (Apart from prstat -Z). I just come across Jeff Victor’s Blog and found this […]
Solaris – Memory & Swap Usage Script
How to find the exact memory and swap usage of Solaris server? Solaris uses the memory as /tmp and swap will be calculated along with physical memory. We need to use the right commands to figure out the utilization of both. “top” is one if the best monitoring tool but it’s not inbuilt in Solaris 10. I have created […]
KSAR – Graphical SAR analysis tool (Identify Solaris Bottlenecks )
The SAR is very useful tool to monitor CPU,memory,disk I/O,network resources all the time on Solaris server.But how do you analysis sar output ? Off-course you can use sar commands to see various system resource usage using sar output files.(Ex:Like sar -f file_name to see CPU usage,sar -r to see memory usage).But we are expecting more than this.In Solaris we do […]
How to Generate Crash Dump When the Solaris OS is Hung
This post explains about forcing a system crash dump when the system is in a hang condition and crashdump files are required for Oracle root cause analysis.In most cases, a system crash dump of a hung system can be forced. But this won;t work in all type of system hang conditions. In order to force crash dump,you need to […]
How to calculate SAR and VMSTAT memory values
Most of the UNIX beginners are very confused with sar and vmstat outputs.In most of the occasion they are not able to determine the free memory and free swap in order to find the memory bottleneck.Not all the time “top” command will give right values. Ksar graphical tool also very useful to analysis bottleneck.SAR:Now we will see how to calculate free memory and swapFormula: Free memory […]
How to generate crash-dump in Solaris ?
Crashdump is memory dump of the system during the crash/panic. This dump file will provide you the exact status of system when the system panic or crashed. So we can determine root cause for crash by analyzing this file.If you are not expert to analyze this ,you can raise the support case with oracle for analyzing it. Dumpadm manages the following: […]
Solaris memory management – Performance issue
Memory bottlenecks are evidenced by two different things happening on the system — paging and swapping. Paging refers to pages of memory being reclaimed by the page daemon when the system starts to get low on free memory. Swapping is more extreme, and refers to entire processes being swapped out. To determine if you are […]
How to patch the Solaris global zone with vxfs root local zones
In UNIX system administration, we may need to perform OS patching often.But we can;t give any Guarantee that the server will come-up after the reboot.So prior to OS patching we need to make sure ,you have the valid back-out plan.If your global zone’s root filesystem is ZFS,then you have to choose live upgrade in order to perform OS patching. This post will help you […]
Solaris memory leaks due shared memory segments
Recently we had an issue with one of the Solaris global zone which is running with Oracle/SAP .Normally system use to run with 40GB~ to 50GB~ of free physical memory.But when we had a soft hang , we found that system is doing more paging to disk and free physical memory went down to 6 to 8GB.We ran almost all […]

