• 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  


0 #115 CoreyGaW 2018-06-14 21:44
buy [censored]a safely [censored]a prices
online [censored]a order [censored]a online
pharmacy online http://[censore d][cen sored]a-levitra
0 #114 CoreyGaW 2018-06-12 22:42
es seguro el [censored]a genericorecipe natural [censored]agene ric [censored]a truth[censored] a no perscription usa customscanada drug pharmacy [censored]aprij s [censored]a bij de apotheekoutros nomes do [censored]a[cen sored]a thailand 2011[censored]a bebeknatural [censored]a ayurvedic[censo red]a picture of pillchinese movie mr. [censored]aforu m fur [censored]ahead aches from [censored]a[cen sored]a trial
get a prescription for [censored]a online [censored]a generic
get prescription for [censored]a cheap [censored]a
cheapest place to buy [censored]a online[censored]a-tablets-australia
[censored]a y el dolor de cabezaonline shop for [censored]ahow to increase effectiveness of [censored]acan i eat after taking [censored]a[cen sored]a 1800 numberside effects of taking too much [censored]aacha t [censored]a en ligne avisis [censored]a covered by insurance companies[censo red]a kac mg kullan?l?rcompr ar [censored]a en espa??a por telefonois [censored]a legal in the uk
0 #113 CoreyGaW 2018-06-08 11:02
generic [censored]a sold in canadaque beneficios tiene tomar [censored]a[cen sored]a plus fort que cialistata cara minum [censored]a[cen sored]a pode causar arritmiawhy do men want [censored]acost of [censored]a onlinebest way use [censored]acomp rar [censored]a generico no brasilonline non prescription [censored]a
buy generic [censored]a pills generic [censored]a online
cheap [censored]a [censored]a uk
buy [censored]a low cost http://[censore d][cen sored]a-from-ca nada
[censored]a and online pharmacyaion ed [censored]a cialismail order [censored]a ukname of [censored]a pillswhat is the difference in [censored]a levitra and cialis[censored ]a sin receta en barcelona[censo red]a prejudica os rinsgeneric [censored]a costswet women [censored]acost to make [censored]a[cen sored]a generika gunstig online kaufenmodafinil o [censored]a[cen sored]a agonists[censor ed]a pharmacy [censored]a buy [censored]a[cen sored]a india onlinecombinar [censored]a y red bullhow did [censored]a patent get extendedwelche frau hat schon mal [censored]a genommen
0 #112 tadalafil generic 2018-06-08 07:16
can i take cialis and ecstasy cialis lowest price
tadalafil generic tadalafil 10 mg
buy cheap [censored]a online usa [censored]a 20 mg
[censored]a at pharmacy Buy [censored]a online
generico cialis mexico
[censored]a generic[censored]a-from-canada
0 #111 cialis 5mg prix 2018-06-07 23:35
tadalafil 5mg generic for cialis
tadalafil tadalafil 5mg
how to safely buy [censored]a online [censored]a sans ordonnance
order [censored]a [censored]a from canada
cialis 5 mg
[censored]a buy [censored]a pharmacy [censored]a http://[censore d] generic-[censor ed]a
0 #110 tadalafil 20 mg 2018-06-07 22:25
cialis for sale south africa cialis pills
cialis 05 cialis 20mg
buying [censored]a in china [censored]a from canada
safest place to buy [censored]a Generic [censored]a
buy online cialis 5mg
[censored]a uk price[censored]a-uk
0 #109 Cialis canada 2018-06-03 20:50
cialis lilly tadalafi Cialis online
venta cialis en espaa Cialis tablets
click now buy cialis brand
0 #108 Tadalafil 2018-06-02 20:44
price cialis best Cialis from canada
cialis cuantos mg hay Cialis prices
cialis e hiv
0 #107 Tadalafil tablets 2018-06-02 17:53
cialis for sale in europa Generic cialis
we choice cialis pfizer india Cialis online
cialis online napol
0 #106 Tadalafil tablets 2018-06-01 17:33
cialis para que sirve Cialis generic
we choice cialis uk Cialis tablets
discount cialis

Add comment

Security code

More info