• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • Discover DevOps Tools
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • DevOps Instructor-led Training
  • Contact

KSAR – Graphical SAR analysis tool (Identify Solaris Bottlenecks )

April 30, 2013 By Cloud_Devops 3 Comments

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 not have tool like NMON (AIX-Tools) to generate beautiful graphs.
But using KSAR you can achieve the same for Solaris SAR as well. 

1.You can download  KSAR and extract it in windows Box. 

2.You need to convert the existing sar data file as text file using sar -A command.
# cd /var/adm/sa
# ls -lrt
total 392292
-rw-r--r--   1 sys      sys      11463168 Apr 21 23:00 sa21
-rw-r--r--   1 sys      sys      21015808 Apr 22 23:00 sa22
-rw-r--r--   1 sys      sys      21015808 Apr 23 23:00 sa23
-rw-r--r--   1 sys      sys      22166848 Apr 29 23:00 sa29
-rw-r--r--   1 sys      sys      8564464  Apr 30 10:40 sa30
# sar -A -f sa29 > sa29.txt
# ls -lrt |grep sa29.txt
-rw-r--r--   1 sys      sys      8564464  Apr 30 10:40 sa29.txt

3.Copy the sa29.txt to your windows laptop and execute the kSar.jar.

4.After executing the kSar.jar you will be getting the below screens.

5.To load the sa29.txt,
 
6.After loading the Sa29.txt file,you will get below screen.
 
7.Now you can see some awesome graphs of sar file.
 
Thank you for reading this post.Please leave a comment if you have any doubt.I will get back to you.

Filed Under: Solaris 10, Unix Monitoring tools

Reader Interactions

Comments

  1. James says

    August 9, 2016 at 2:45 pm

    how do you refresh the report every 5mins and keep running it always

    Reply
  2. Lingeswaran R says

    April 29, 2014 at 2:00 am

    Thanks Rino…

    Reply
  3. Lingeswaran R says

    April 28, 2014 at 11:34 pm

    you’re just missing the -f to specify the specific saXX file

    so

    sar -A -f sa30 > sa30.txt

    Thanks to Rino

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version