Hello,
If you are Linux Administrator you
must know what SAR is, sar is a very useful utility for Linux Administrators to
get the report of CPU Usage and You can monitor I/O, CPU Usage, Idle system
state using sar utility. This article will help you to read / export sar
reports in Graphical mode.
In this HowTo, I will show you how
you can export sar reports as PDF / JPG / PNG using kSar tool.
ksar – PDF
In RHEL / CentOS you will find sar
reports under /var/log/sa
In Ubuntu / Debian based Linux you
will find sar reports under /var/log/sysstat
Perform following steps to export
sar report:
1. Make Sure Java is installed on
your system to open kSar Utility.
2. Download kSar Utility from below
URL
3. Extract / Unzip Downloaded ksar-x-x-x.zip
file
root@vikram-linux-ahmedabad:~/Downloads#
unzip kSar-5.0.6.zip
4. Give Executable permission to
kSar.jar
root@vikram-linux-ahmedabad:~/Downloads/kSar-5.0.6#
chmod +x kSar.jar
5. Execute below command to open
java file (kSar.jar):
root@vikram-linux-ahmedabad:~/Downloads/kSar-5.0.6#
java -jar kSar.jar
6. Now Click on Data -> Load
from Text file…
7. Provide Path of sar reports path:
For
RHEL: /var/log/sa/sarXX
For
Debian/Ubuntu: /var/log/sysstat/sarXX
8. Select “Export to PDF / JPG /
PNG” from Data To Export sar report as PDF / JPG / PNG
No comments:
Post a Comment