An Online/Offline Tool to view the SAR output in graphical charts.
SAR Graph is an online tool to view the performance of a Linux server using the SAR (System Activity Report) output in an impressive graphical chart layout. The tool helps you view the output of CPU, Memory, Load, Run Queue, Swap usage, Processes, Contexts, Interrupts, Paging, NFS, Sockets etc. of a server in graphical layout.
The steps involved in generating the SAR Graph are as follows:
- Create a SAR output as a text file from the Unix server.
- Login as root or with sudo access run the following commands to fetch the sar output for a specific date. Example:
sar -A -f /var/log/sa/sa19 > /tmp/sa19_$(hostname).txt
chmod 755 /tmp/sa19_$(hostname).txt- Download the SAR text file to the desktop
- Use any SCP software like Winscp or pscp to download the file from the server. I prefer pscp command to download the files from Unix server to the desktop. Example:
pscp suresh@hostname143:/tmp/sa19_hostname143.txt .- Upload the SAR text file to this site.
- Navigate on to the SAR Graph. Just click on Upload button to upload the file to the site.
- The site will create all the charts.
- That's all folks! the charts are ready for viewing.
- Kindly star this repository if you found this interesting.
Currently the report includes the following
- CPU - CPU0,CPU1, CPU2, CPU3, CPU All
- Processes, Contexts, Interrupts
- Swapping
- Paging Activity
- IO
- Page
- Memory Usage
- Memory Misc
- Swap Usage
- Load (runq)
- NFS Client
- NFS Server
- Sockets
- Uses only Javascript to plot the charts/graphs.
- Client side interface. So does not save any information.
- SAR chart currently will plot the values for a given single server.
- No additional packages required to be installed in the server
- Currently the output is tested in the following OS: Linux
- Planning to include other OS in future
Suresh Raju
copyright 2016
