sar report to xml converter


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting sar report to xml converter
# 1  
Old 07-24-2007
sar report to xml converter

I use sar reports for getting the statistic. It is better for me to get these reports converted to xml. I use some scripts to convert them but it takes a long time. Do you know any public scripts to convert sar report to xml in 1 -2 kicks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Getting sar report for past one month

Please help with the command to generate SAR report (CPU and memory) for the past 30 days (in one command). Is it possible? Instead of using one line by one line like this : sar -r -f /var/adm/sa/sa14 (1 Reply)
Discussion started by: anaigini45
1 Replies

2. HP-UX

Best text to pdf converter for Hp/UX 11.31

Hi, Can anyone tell me the best converter I can use to convert text to pdf for HP/UX 11.31? Thanks, Linda (0 Replies)
Discussion started by: lnemitz
0 Replies

3. Solaris

SAR Report on Cores/ Threads Per Zone

I am trying to understand the CPU utilization on my server. its running Solaris 10 in an container (zone) the physical server has 1 cpu, 4 cores and 2 threads per core. the zone has been configured to use only 6 threads (3 cores) So when i run sar -u reports against the zone, i am seeing... (1 Reply)
Discussion started by: dshakey
1 Replies

4. Programming

How to write a java program that will parse through an XML file and generate a report?

I'm pretty new to Java and I am trying to write a program that will pick up a file from a windows directory adn parse through the XML file to produce a report that will show a total item count and a total paid amount. Any one have any suggestions? Trying to figure out where to start... (4 Replies)
Discussion started by: risarose87
4 Replies

5. Linux

How to calculate total CPU usage from SAR report?

Hi, I want to calculate the total cpu usage from the sar report. Say for example, Linux 2.6.24-21-generic (blade10) 09/10/2012 04:54:36 PM CPU %user %nice %system %iowait %steal %idle 04:54:37 PM all 0.00 0.00 0.00 0.00 ... (1 Reply)
Discussion started by: rohitmd
1 Replies

6. UNIX for Dummies Questions & Answers

Parse XML e report con AWK

Thanks in advance who can answer. I have to make a small shell that after reading an XML file and extract the fields I create a text file with the same fields taken previously in tabular form. I did this parse.awk ---------------------- BEGIN { FS="" } { for(i=2; i<=NF; i+=2) { ... (1 Reply)
Discussion started by: mcarlo65
1 Replies

7. Solaris

PCL To PDF Converter

Looking for a Unix command / tool that would convert PCL files into PDF files. I've searched the forum and the web and can't find any. Is it even possible? Cheers. (1 Reply)
Discussion started by: KenLynch
1 Replies

8. Shell Programming and Scripting

Converter XML to PDF in Unix

Does anyone know of a lightweight freeware utility that will do the following?: 1) Input an XML file and XLS file 2) Do a transform 3) Then output a pdf file for Unix Platform. Thanks Andrea (3 Replies)
Discussion started by: andrea.giovanno
3 Replies

9. Programming

need java to c converter

Hello, does anyone know a program able to convert Java sourcecode to C or C++ sourcecode ? Thanks. Regards... JAGDISH (5 Replies)
Discussion started by: jagdish.machhi@
5 Replies
Login or Register to Ask a Question
sa2(8)							    BSD System Manager's Manual 						    sa2(8)

NAME
sa2 -- Generate a system activity daily report file. SYNOPSIS
/usr/lib/sa/sa2 [-dgpu] [-n mode] [-e time] [-f filename] [-i seconds] [-s time] DESCRIPTION
The sa2 command is a shell script used to invoke the system activity reporter sar for purposes of generating the standard default daily report file. The report file generated is, /var/log/sa/sardd where the dd represents the current day of the month. The sa2 options are the same as those documented in sar(1). When sa2 runs, it will also remove data and report files, found in /var/log/sa, that are more than one week old. The sa2 command is intended to be started by cron. EXAMPLE CRON ENTRY
# Starting at 8am collect system activity records # every 20 minutes for 12 hours # 20 minutes = 1200 seconds # 12 hours with 3 samples each hour = 36 loops 0 8 * * 1-5 /usr/lib/sa/sa1 1200 36 # After the 12 hour period, # collect a system activity report 30 20 * * 1-5 /usr/lib/sa/sa2 -A FILES
/var/log/sa/sardd Default daily report file. /var/log/sa/sadd Default daily data file. dd are digits that represent the day of the month. SEE ALSO
crontab(1), fs_usage(1), netstat(1), sar(1), sc_usage(1), top(1), vm_stat(1), crontab(5), iostat(8), sa1(8), sadc(8) Mac OS X Jul 25 2003 Mac OS X