:


SAR -    


        sar  [-ubdycwaqvmA] [-o ]  [_]

        sar  [-ubdycwaqvmA] [-o ] [-s ] [-e ]
             [-i ] [-f ]


      sar.   
sar        
    ,     
    .       1.
    ,     
/etc/cron ,   ,   
 /usr/spool/cron/crontabs/sys :
   #       @(#)sys 5.1
   0 * * * 0-6 /usr/lib/sa/sa1 &
   20,40 7-18 * * 0-6 /usr/lib/sa/sa1 &
   9 18 * * 0-6 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A
   (    ) sar -
   ,      -
.       -f, ,  -
,      /usr/adm/sa/
sa    .

        -s [:[:]].   
        -e [:[:]].    

        -A    .  -udqbwcayvm.

        -u       

%usr            ,
%sys       .
%wio      /   -  ,
%idle       .

        -b       :

bread/s, bwrit/s - -   . .  
lread/s, lwrit/s -      ;
%rcache, %wcache -    
%rcache        .  >=90
%wcache        . >=65
pread/s, pwrit/s -  () .

        -d          :

device          .
%busy          .
avque                ;
r+w/s,       -     ,
blks/s       - . 512 
avwait       .      .()
avserw       .    

        -c       

scall/s -      
sread/s, swrit/s, fork/s, exec/s -        
rchar/s, wchar/s -  ,   read  write  

        -v     ,   :

proc-sz, inod-sz, file-sz -  
proc-ov, inod-ov, file-ov -  


sar -a               .

iget/s     ,    ,  .
namei/s        ,  .
dirbk/s        .

,     .


sar -q          :

runk-sz         . >2 =>   
%runocc      % ,      
              .   ,  .
swpq-sz          .
%swpocc      % ,      .  .

 %runocc > 90,  runq-sz > 1,   ,   -
  .         ,
,    .

 %swpocc  20,      -
      -
  .

sar -w          .

swpin/s      -      
bswin/s         512  
swpot/s            
               .   > 1,    -
              ,    .
bswot/s       ,   
pswch/s             .
              4-6      30  50.

sar -p      #             .

vflt/s            ???   
             (???    ).
pflt/s          -   ( -
               )    "???".    pflt/s
                 "???".
pgfil/s        vflt/s,     
                 .  (  pgfil     
             lreads; . sar -b).
rclm/s        ??? ,  
             (    )  .

sar -r       #            .

freemem      .     2.
                  , (<40)   
             .
freeswap        512  .. 
                 ,   
             -   (15   35 ).

        -y               :

rawch/s,  canch/s,  outch/s -   , 
  ,       (
/);

rcvin/s,  xmtin/s, mdmin/s -  ,   -
  ( /).

      (mdmin/s)   
 0,     ???      
??? (rcvin/s  xmtin/s)      -
       , .  
 , ,    .


---------------------------------------------------------------
   10     ,  
   temp:

            sar -o temp 60 10   &

    temp.

            sar -A   -f temp    | pg
---------------------------------------------------------------

Last-modified: Tue, 25 Nov 1997 07:06:52 GMT
: