Solaris Performance Monitoring – Finding CPU / IO / Memory Bottlenecks – Demo Video

 

 

This Video presents you the procedure to investigate various  performance bottlenecks related to Memory, CPU and IO  using the commands iostat, vmstat and prstat.

 

 

 


 

 

 

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

37 Responses

  1. Sudarshan Balakrishna says:

    Amazing video…very innovative way of explaining system admin stuffs which you won’t find any where…..good work guys.

    Looking forward for more such videos!!!!!!!!!

  2. durai says:

    its good artical 

    I want to know how to configure KVM by using Bridging over IP bonding on the physical host.

    please send an email to me  duraitulasi@gmail.com

  3. Ramdev says:

    I have noticed that these videos having issues to play in firefox, please watch them in IE or chrome. Sorry for the inconvenience .

  4. Ramdev Ramdev says:

    @sudarshan – thanks for your encouragement to gurkulindia.com

    @durai – unfortunately we have no answer readiley avaialable for your requirement. we will post for sure, once we found it. Thanks for comment.

  5. seema says:

    Hello ramdev do we still have chat access … because when i connect to website i do not see chat bar on my right side of the page or let me know what time you or yogesh are available…please and thanks …

  6. Yogesh Raheja says:

    @Seema, we have disabled chat last week just to isolate some of the security issues encountered in the site on last Saturday. We will enable it back in one or two days.

  7. Venkat says:

    Hello Guys,

    I could not find the video here. I’ve checked the link in both IE and google chrome. Kindly check and fix the issue. One of my frnd told this video is very good about server performance.

  8. Ramdev says:

    @venkat , it was moved to elearning page , please click on the elearning link mentioned in the page

  9. Venkat says:

    @Ramdev,

    Thank you very much. I’ve watched the full video. It is amazing. It is very use full video. one of the big deal with customer when we face issue with performance(CPU, Memory and IO). Pls post the MEMORY and CPU bottleneck videos ASAP.

    MILLION Thanks for your good explanation & have a good day ..:)

  10. Muneer says:

    hi,

    i visited the e-learning site but i did not found the video for
    http://gurkulindia.com/main/e-learning-2/solaris/solaris-performance-monitoring-identifying-memory-cpu-io-bottlenecks-video/
    Let me know were can i get Muneer Sun Support Engineer

    • Ramdev Ramdev says:

      @Muneer .. you can see the video and presentation in the same link. Please note that Video has trouble to load in firefox. I just checked that many of our folks still watching it in the same link. And make sure you are not behind your company firewall.

  11. srikanth.s says:

    Its a good learning source to learn and understand how things go in solaris o/s. Please post the memory and cpu issues also. I appreciate this people hard work to help all the sys admin guys. Kindly do post stuff releated to console of the sun boxes also.

  12. santhosh says:

    awesome video,it will add to my career build.will await for more such stuff
    thank u very much ramdev

    • Ramdev Ramdev says:

      @santhosh – We are happy to know that you liked the video. We will continue our effort to bring good stuff to gurkulindia. Keep reading other learning posts.

  13. santhosh says:

    this is an amazing video and i want to know if it is memory or cpu bottleneck how to sort it out.plz help me out

  14. Srinivasu Gadiparthy says:

    This is very nice and i want to known what is main use of sar and prstat commands.plz help me……..

    • Ramdev Ramdev says:

      @Srinivas – In simple words: when you see a building caught in fire, SAR will help you to monitor the building conitinuously to know whether the building is still under fire or not. Where as PRSTAT will help you to know which floor causing the fire.

      SAR ( System Activity Report ) basically talks about the overall System Resource ( e.g. CPU , IO ..) utilisation reports, where as PRSTAT ( PRocess STATastics) talks about the system resouce utilization by each process.

  15. Santhu says:

    Hi Ramdev,
    can you provide one solution for the below question?
    “Application is running slow, how you will find the cause and how you will resolve it”, what you will do as a Solaris Admin?
    Please let me know what is the solution for this question..
    Help needed…
    thankyou…

    • Ramdev Ramdev says:

      @santhosh – degraded application performance can be caused either by OS related issues ( like mem/CPU/disk io etc) or application design issues ( like memory configuration/ no .of simultaneous operations that app is running … Etc)

      Yogesh comment more in OS related tuning , and Madhu’s comment is from application point of you.

      My comment: if I am a SA to resolve such issue,first I will try to isolate whether it is a solaris issue or an application issue. To know that part, I will interpret prstat, vmstat, iostat ( and Dtrace) outputs and see if there is any real issue in terms of CPU/ mem/ disk io . If no issues from these 3 resources , I will ask application team to check the application side. Before I ask app team to find the cause I will give them some inputs like which application process consuming more resources.

      Most of the times we can easily identify the process which is using more system resources, from prstat . If we see this process owned by any application user, then we can inform application team about the process details. At that level the suggestions given by Madhu helps us to diagnosis the problem.

  16. Yogesh Raheja says:

    @Santhu, try to find out the Memory consumption by the applications if the app. is eating up more memory then proceed with the mem. upgrade. In real time applications we found in the peak usage of appls. the server usually behave slow and we use to do tunning accordingly and sometimes memory needs to be upgraded. Secondly try to check the hardware condition is there any h/w fault in the server, bzu faulty h/w such as memory/cpu/PSU etc etc..will also cause system to behave slow.

  17. @Santhu,There may be few areas where Unix SA can help to troubleshoot application performance & slowness issues.

    Personally,I would go with the below approach.

    1) If this is a web app and has an application URL,check the application is accessible and traverse through various links on the URL.

    2) check the application logs to identify if there were any exceptions,errors,hung threads or threads awaiting completion.

    3) Run commands like vmstat,top,lsof to find out cpu,memory usage,process which is taking more cpu and the usage of file descriptors.

    4) check the swap usage and Filesystem space availability (ensure that /tmp ,/var/tmp has enough space).

    5) find out the pid of the process associated with the application and take a few thread dumps. An application administrator or the development team can help to analyze the thread dumps and identify potentional issues (may be code related or server related). There are also tools which can be used to analyze the thread dumps which can give provide additional information and offer suggestions on the application level like tuning the memory allocated to the application instance,identifying the memory leaks. Sometimes, you need to work with the vendor depending on what type of information you see in the logs.

    6) Involve DBA to check any DB related issues,if the application talks to a Database.

    7) Larger organizations use monitoring services on server and application level also. This tools come in handy when there are performance issues.

    8) Unix SA might help to identify & kill any rogue process which is using up
    CPU,memory resources,reboot the physical node to fix the issue temporarily.

    9) Sometimes, slowness is a temporary issue due to additonal load / transactions on the application which can be a one time issue and no action is required in such cases.

  18. Dinesh says:

    Great effort and Thank you for posting such demos, for it will help for the SA to work on different things. Appreciate.

  19. Ram says:

    FYI… You can install free tool ksar (Gui tool) which gives graphical information from sar output and also you can make pdf’s also.

  20. Madhavi says:

    Thanks a lot Mr.Ram for your great work.

  21. ramdev says:

    @madhavi .. welcome to gurkulindia.com, have wonderful journey here.

  22. Ramesh says:

    Great work Ram .. Possible can you upload upload some more videos wrt VXVM / VCS

  23. Manisha says:

    Hi Ramdev,

    I have frequently started reading most of the topics covered by you .Very well explained !! I rely on each and every information posted here . This truly is a gurukool for Unix admins .
    Somehow I am not able to understand the video you have posted for this page .

    Thank You
    Manisha

  24. Manisha says:

    Sorry I meant I don’t see the video for this topic!! 

  25. Ramdev says:

    @manisha – thanks for your comment on our posts. I see the link was broken , I will fix it

  26. Ashish says:

    HI Ramdev, I see your posts recently and found them very useful/knowledgeable for our daily work. Thank you so much !!! Anyhow I could not able to find the video for “Solaris Performance Monitoring – Finding CPU / IO / Memory Bottlenecks – Demo Video”. Could u plz share the link again.

  27. Prajwala says:

    Hi Ram,

    can you explain what exactly prstat -t commmand displays.

    one of column ‘SWAP ‘ confuses me. It shows more swap than I configured.

    Prajwala

  1. December 9, 2011

    performance tuning…

    […]gurkulindia.com » Solaris Performance Monitoring – Finding CPU / IO / Memory Bottlenecks – Demo Video[…]…

  2. September 16, 2015

    […] Read – [Video] Finding CPU / IO / Memory Bottlenecks […]

  3. September 17, 2015

    […] Read – [Video] Finding CPU / IO / Memory Bottlenecks […]

Leave a Reply to Sudarshan Balakrishna Cancel reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us