I am trying out run kSar from commandline in a Jenkins job. I wish to produce PDF graphs from sar reports without using GUI manually. I am running sar with the following command:
java -jar /opt/ksar/ksar-5.2.2-all.jar -input "${WORKSPACE}/report.txt" -outputPDF ${BUILD_NUMBER}-${ENVIRONMENT}/${ENVIRONMENT}${day}.${d}${formatstarttime}-${formatendtime}.pdf
Instead of generating a PDF, the process is running, but produces no output. I just cancel it manually without obtaining the PDF that I need. How to run ksar from commandline to generate PDF with graphs?