sargraph.com

  • Increase font size
  • Default font size
  • Decrease font size
Home About SAR

About SAR - System Acitvity Reports

E-mail Print PDF

SAR is tool to collect system performance metrix like CPU, memory, disk IO, run queue etc. Its available for major unix distributions like Solaris, HPUX, AIX and Linux flavors. Its originally developed by SUN engineers. Sar generating reports using the metrics collected from tools like iostat,vmstat etc.

SAR can collect half dozen of performance statistics like

1. CPU utilization

2. Disk IO

3. Memory utilization

4. Run queue

5. Number of open files

6. Number of running processes

7. Swap utilization


The package consists of two programs sarc and sar:

* The sadc command is a data collecting part of the package. It writes in binary format to the specified output file. To run sar in real time type:

sar -u 1 100

In this case the sar command calls sadc to access system data.

* To report on previously captured data – type
sar -u -f filename > file
* Two shell scripts /usr/lib/sa/sa1 and usr/ib/sa/sa2 are also provided. They can be run by the cron daemon and provide daily statistics and reports.

Sar is not enabled by default.  To enable sar, you must include invocation of two of its components (sadc and sar) at selected intervals  in cron. Usually sadc is evoked via sa1 script and sar via sa2 script).

On Solaris 9 and 10 it is preinstalled, but you need un-comment lines in the start script (/etc/rc2.d/S21perf) and crontab file (/var/spool/cron/crontabs/sys) associated with the tool. If sar is activated the crontab for root should contain something like this:

# Collect measurements at 10-minute intervals
0,10,20,30,40,50   * * * *   /usr/lib/sa/sa1
# Create daily reports and purge old files
0 * * *   /usr/lib/sa/sa2 -A

For linux you need to download, install and activate sysstat package.

For rhel users...

#rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm

or by yum

#yum install sysstat

#service sysstat start

For ubuntu and linux users...

#apt-get install sysstat

#service sysstat start

 

Last Updated on Sunday, 04 September 2011 15:54  

Comments   

 
0 #346 918kiss 2019-01-17 19:29
Simply want to say your article is as surprising.

The clearness in your publish is simply nice and
that i could think you are an expert in this subject.
Fine together with your permission let me to take hold of your RSS feed to keep updated with imminent post.
Thanks 1,000,000 and please carry on the gratifying work.
Quote
 
 
0 #345 scr 888 2019-01-17 00:47
Hello there! This article could not be written much better!

Reading through this post reminds me of my previous roommate!
He always kept talking about this. I will send this post to him.
Pretty sure he's going to have a good read. Thank you for sharing!
Quote
 
 
0 #344 rollex11 login 2019-01-16 23:20
Thanks for sharing your thoughts. I truly appreciate your efforts and I
will be waiting for your next post thanks once again.
Quote
 
 
0 #343 scr888 2019-01-16 19:05
What a person do by using a newspaper once you read of which?

If you're able to produce something controversial, planning start arguments.
The body can through two paragraphs to a webpage in length.
Quote
 
 
0 #342 918kiss slot game 2019-01-16 07:22
Hi there, the whole thing is going perfectly here and ofcourse every
one is sharing information, that's really good, keep up writing.
Quote
 
 
0 #341 scr888 trusted 2019-01-15 14:21
Blog Marketing Tip #2: Keep the Blogger's Audience in Attention. Rrt'll assume might
not exactly as imperative. Their firm is designing web stores.
Submitting articles to article databases with strong ranking.
Quote
 
 
0 #340 ntc33 live game 2019-01-14 23:04
I simply couldn't leave your web site prior to suggesting
that I extremely enjoyed the standard information a person supply for
your guests? Is gonna be back ceaselessly to check out
new posts
Quote
 
 
0 #339 Dwight 2019-01-11 22:56
Marvelous, what a website it is! This webpage presents helpful facts to us, keep it up.
Quote
 
 
0 #338 918 Kiss 2019-01-11 04:38
Hey There. I found your blog using msn. This is an extremely well written article.
I will make sure to bookmark it and come back to read more
of your useful information. Thanks for the post. I will definitely return.
Quote
 
 
0 #337 sky777 download 2019-01-09 04:00
Your style is so unique compared to other people I've read stuff from.
Thanks for posting when you've got the opportunity, Guess I'll just bookmark this site.
Quote
 
 
0 #336 rollex 11 2019-01-04 14:14
With the right keywords, you could get high rankings in the search
engine results. Viral marketing spreads statement about you,
your company and product without any costs or low costs only.
Quote
 
 
0 #335 rollex11 download 2019-01-03 00:30
God hears your prayers therefore they do create a difference.

This eventually leads you drop your self worth and self motivation. Hospital based nurses seem
become especially prone to this connected with thought.
Quote
 
 
0 #334 918kiss 2019-01-01 08:07
To obtain the fun of the game, personal computer is
an original new site. Concentrate on starting hands that have higher value
and know when to bow playing. Land-based casinos don't
have this regarding privilege.
Quote
 
 
0 #333 Anne 2018-12-30 21:50
Excellent website. Plenty of useful information here. I'm sending it to several pals ans also sharing in delicious.
And obviously, thank you to your sweat!
Quote
 
 
0 #332 918kiss singapore 2018-12-29 23:48
I enjoy reading through a post that will make men and women think.
Also, many thanks for permitting me to comment!
Quote
 
 
0 #331 m rollex11 2018-12-28 13:49
It's a pity you don't have a donate button! I'd certainly donate to this outstanding blog!
I suppose for now i'll settle for bookmarking and adding your RSS feed
to my Google account. I look forward to brand new updates and will share this blog
with my Facebook group. Chat soon!
Quote
 
 
0 #330 Santiago 2018-12-26 07:53
Hello, just wanted to mention, I loved this blog post.
It was practical. Keep on posting!
Quote
 
 
0 #329 scr 888 2018-12-18 23:04
All the players want to start sport with minimum amount of bet.
IT experts have found the solution for that: mobile casino systems.
You're able play them without any botheration.
Quote
 
 
0 #328 Aurelia 2018-12-06 14:06
Tremendous things here. I am very satisfied to see your
post. Thank you so much and I'm taking a look ahead
to touch you. Will you please drop me a e-mail?
Quote
 
 
0 #327 AntjeJuicy 2018-11-30 12:23
Hello. I see that you don't update your blog too often. I
know that writing content is time consuming and boring.
But did you know that there is a tool that allows you to create
new articles using existing content (from article directories or other
blogs from your niche)? And it does it very well.
The new posts are high quality and pass the copyscape test.
Search in google and try: miftolo's tools
Quote
 
 
0 #326 DouglasDiete 2018-11-28 14:34
online canadian pharmacy trust pharmacy of canada canadianpharmac ytousa.com
Canadian Pharmacy USA http://canadianpharmac ytousa.com/
most reliable canadian online pharmacies http://canadianpharmac ytousa.com/
canadian pharmaceuticals online
http://touriosity.com/__media__/js/netsoltrademark.php?d=canadianpharmac ytousa.com
discount canadian pharmacies
http://xn--80abdmabqowhebypchjbhdd.xn--p1ai/bitrix/rk.php?goto=http://canadianpharmac ytousa.com/
northwest pharmacy canada
Quote
 
 
0 #325 BestDulcie 2018-11-11 00:18
I see you don't monetize your blog, don't waste your traffic, you can earn extra bucks
every month. You can use the best adsense alternative for any type of website (they
approve all websites), for more details simply search in gooogle:
boorfe's tips monetize your website
Quote
 
 
0 #324 BestFran 2018-11-03 00:36
I see you don't monetize your website, don't waste your traffic, you can earn additional bucks
every month. You can use the best adsense alternative for any
type of website (they approve all websites), for more info simply
search in gooogle: boorfe's tips monetize your website
Quote
 
 
0 #323 profile3119 2018-11-02 13:41
Need cheap hosting? Try webhosting1st, just $10 for an year.

http://www.muslimpopulation.com/guestbook/public/img-1539196404.jpg
Quote
 

Add comment


Security code
Refresh

More info