Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

conerrt sar data to graph

Posted on 2011-02-22
10
Medium Priority
?
2,344 Views
Last Modified: 2013-12-05
I am looking to convert sar data to graphcal representation for memory, cpu utilization. Is there any such utility or a way to do . I have op-manager but it doesn't give me really good graph or correct cpu and memory utlilization data and graph. I have all suse linux servers. I have heard cacti but it will be more work to setup such thing as I already have op-manager but it seems it is not useful, so looking somehow to use sar and convert to its data to graphs
0
Comment
Question by:solarmitra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 34958863
Hi,

how about kSar?
http://sourceforge.net/projects/ksar/

It needs Java 1.5 or higher and processes "sarxx" report files or "sar -A" output redirected to a text file.

wmp
0
 

Author Comment

by:solarmitra
ID: 35018587
ksar seems good but I am not sure how can I get the statistics for range of dates ( e.g. one week) or month. How can I concat range of days.
0
 

Author Comment

by:solarmitra
ID: 35018596
I also check sarcheck.com, but that seems expensive for me
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 35018718
Up to now I didn't find another solution as to just concatenate the needed sarxx files by means of "cat".

cat sar01 sar02 sar03 ... sarnn > sar.total

ksar will sort the data correctly, that's no problem.

You can give the cat command as an input option to kSar ("-input 'cmd://...' "), in this case without "> outputfile", of course.

It's not very elegant, but I don't see a better way.

wmp
0
 

Author Comment

by:solarmitra
ID: 35021359
# cat sa.2011_02_27 sa.2011_02_28  > sa_total

sar -f sa_total -A > /usr/local/src/sar_g/`hostname`.sar.tt.txt
End of system activity file unexpected

I get this error End of system activity file unexpected".
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 35021463
I've been talking about "sar" files (i.e. ASCII files as produced by "sar -A" or "sa2"), not the binary "sa" files, which you can't "cat" together!

wmp
0
 

Author Comment

by:solarmitra
ID: 35021921
Oh I see. That worked fine now.
0
 

Author Comment

by:solarmitra
ID: 35021972
ksar still a manual process. Is there way I can graph the trend from sar data. Which one you think better cacti or munin ? I have op-manager but I don't find it is useful in collecting stats and draw a trend graphs
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 35022856
Afaik neither cacti nor munin can handle sar data.

How about sar2rrd?
I never used it, but I think I'll give it a try one of these days.

wmp
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 35022880
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
Viewers will learn how to use the Hootsuite Dashboard.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question