select specific graph in command line.
Status: Beta
Brought to you by:
xcherif
Hi,
I'm trying to select graph using command line for example:
java -jar /opt/kSar/kSar.jar -input 'file://server.sar15' -graph CPU all Load -outputPDF server.pdf
but i don't get output file and no error is shown.
I've the same problem if I select only one graph:
java -jar /opt/kSar/kSar.jar -input 'file://server.sar15' -graph Load -outputPDF server.pdf
Do you have some example for use this option?
Thank You.
Andrea
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
For CPU-all the syntax is "-graph all-cpu"
Last edit: Anonymous 2014-02-07
$graph_list="LinuxprocSar LinuxcswchSar LinuxintrSar LinuxswapSar
LinuxioSar LinuxloadSar LinuxpageSar LinuxsockSar LinuxkbmemSar
LinuxkbswpSar Li
nuxkbmiscSar LinuxpgpSar LinuxnfsSar LinuxnfsdSar";
/usr/bin/java -jar /data/kSar/kSar-5.0.3.jar -input
/data/sar/autoyast/sar05.clean -cpuFixedAxis -showCPUstacked -graph
'LinuxprocSar LinuxcswchSar LinuxintrSar LinuxswapSar LinuxioSar
LinuxloadSar LinuxpageSar LinuxsockSar LinuxkbmemSar LinuxkbswpSar
LinuxkbmiscSar LinuxpgpSar LinuxnfsSar LinuxnfsdSar' -outputPNG
/data/apache2/htdocs/kSar_graphs/daily/autoyast/autoyast
How can I list all the possible graph?
For exemple, all-cpu or 1-cpu, .... is not in this list
It's possible to display the graph name for the command line in the graphs?
Thanks!
Last edit: Jose Legido 2013-10-10
I'm not sure it's possible to get a list of graphs from the cmdline. I've just generated all graphs from kSar GUI and used names of the generated files then ...