Below is a tutorial on how to monitor unix server using SAR/KSAR
Collecting SAR data
Monitoring for time period …It will generate “sardata.sar” file
sar -o sardata.sar -A 1 20 > /dev/null 2>&1
For Generating graph.
Execute below command on Linux system and generate .txt file
LC_ALL=C sar -A -f sardata.sar > sardata.txt
First of all install KSar on your system.
java -jar kSar.jar -input sard.txt -outputPDF sarcycle.pdf
java -jar kSar.jar -input sard.txt -outputPNG folder location where we want to save
Collecting SAR data
Monitoring for time period …It will generate “sardata.sar” file
sar -o sardata.sar -A 1 20 > /dev/null 2>&1
For Generating graph.
Execute below command on Linux system and generate .txt file
LC_ALL=C sar -A -f sardata.sar > sardata.txt
First of all install KSar on your system.
java -jar kSar.jar -input sard.txt -outputPDF sarcycle.pdf
java -jar kSar.jar -input sard.txt -outputPNG folder location where we want to save
Last edited: