Ksar can run without the GUI, you will find below a list of the command line options:


-help : will show the command line option

-input <sar output file> : parse the file spectified after -input

-output <pdf file> : output the pdf report to the pdf file (backward compatibility)

-outputPDF <pdf file> : output the pdf report to the pdf file

-userPrefs : will use the userPrefs for outputing the pdf file

-graph <String> : space separated list of graph you want to be output

-showTrigger : will show trigger on graph (disable by default)

-outputPNG <base filename> : output the graphs to PNG file using argument as base filename

-outputJPG <base filename> : out the graphs to JPG file using argument as base filename

-width <size> : make JPG/PNG with specified width size (default: 800)

-height <size> : make JPG/PNG with specified height size (default: 600)

-addHTML : will create a html will all PNG/JPG


NB: all the output option will work only the the input options has been set. the input file must exist, but not the outpout file.


Here the -graph options available:

AIX
AixcpuSar  CPU
AixbufferSar Buffer
AixRqueueSar Run Queue
AixSqueueSar Swap Queue
AixkernelSar Kernel
AixttySar TTY
AixmsgSar Messages & semaphore
AixsyscalSar Syscalls
AixcswchSar Context switching
AixfileSar File
AixslotSar Slot
Diskname of sar + Aixxfer disk0Aixxfer for xfer graph of disk0
Diskname of sar + Aixwait disk5Aixwait for wait graph of disk5
MAC
MaccupSar CPU
MacpgoutSar Pageout
MacpginSar Pageint
Diskname of sar + -t1 disk0-t1 of xfer graph of disk0
Interfacename of sar + -if1 eth0-if1 for xfer graph of eth0
Interfacename of sar + -if2 stf0-if2 for error graph of sft0
SOLARIS
SolariscpuSar CPU
SolarisRqueueSar Run Queue
SolarisSqueueSar Swap Queue
SolarisbufferSar Buffer
SolarisswapingSar Swapping
SolarissyscalSar SysCall
SolarisfileSar File
SolaristtySar TTY
SolarismsgSar Message and semaphore
SolarispagingSar2 Page in
SolarispagingSar1 Page out
SolarismemSar Memory/swap
SolariskmasmlSar Kernel small page
SolariskmalgSar Kernel large page
SolariskmaovzSar Kernel oversize page
Diskname of sar + Solarisxfer eg.: fd0Solarisxfer for xfer graph of fd0
Diskname of sar + Solariswait eg.: ohci1,ctSolariswait for wait graph of ohci1,ct
LINUX
LinuxcpuSar CPU
LinuxprocSar Process
LinuxcswchSar Context switching
LinuxintrSar Interrupts
LinuxswapSar Swap
LinuxioSar IO
LinuxloadSar Load Average
LinuxpageSar Page
LinuxsockSar Socket
LinuxkbmemSar Kernel Memory
LinuxkbswpSar Kernel Swap
LinuxkbmiscSar Kernel Misc
LinuxpgpSar Paging
LinuxnfsSar NFS
LinuxnfsdSar NFSD
Diskname of sar + -t1 dev8-0-t1 for xfer graph of dev8-0
Diskname of sar + -t2 dev9-t2 for wait graph of dev9
Interfacename of sar + -if1 eth0-if1 for xfer graph of eth0
Interfacename of sar + -if2 tun1-if2 for error graph of tun1



Support This Project    SourceForge.net Logo