()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-11-02 11:28
sar
 ۾ :
ȸ : 9,202  
sar ɾ Ʒ ΰ · ֽϴ.

 

sar [ -abcdgkmpqruvwxyADSC] [-o file] t [n]

 

ó´ ü ȰȲ tʸ n Ͽ ϴ ̰

⼭ t ݵ ־ ϴ μ ׷ ι°

νϿ մϴ.
 
sar [ -abcdgkmpqruvwxyADSC] [ -s time] [-e time] [ -i sec] [-f file]

 

ι° ɾ ø ϴ ֱ Ƚ , -f ־ ȭ̳

 

/var/adm/sa/saDDȭϿ մϴ. -s -e ۽ð ð

 

Ÿ hh[:mm[:ss]] · մϴ.

 

sar ϴ μ ϴ.

 

-a : file access operations
-c : check system calls
-d : check disk activity
-g : check page-out and memory freeing
-p : check page-in and fault activity
-u : check cpu utilization
-w : check swapping and switching volume
-y : check terminal activity
-A : Report overall system performance
-Du: Report CPU utilization by RFS and local activity( same -D )

 

ݺ ϳϳ ϰڽϴ.


[solaris:/home]sar 3 5

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

13:43:27    %usr    %sys    %wio   %idle
13:43:30       4       1       2      92
13:43:33       3       2       2      93
13:43:36       4       2       2      92
13:43:39       4       3      12      81
13:43:42       3       1       0      95

Average        4       2       3      91

 

3ʰ 5ȸ ݺ ؼ CPU ϴ Դϴ.

 

(ɼ -u ɼ ˴ϴ.)

 

[solaris:/home]sar -o /home/sar_sample.file 3 5

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:16:46    %usr    %sys    %wio   %idle
14:16:49       3       4      13      79
14:16:52       4       1       2      94
14:16:55       4       2       1      93
14:16:58       4       2       2      93
14:17:01       4       2       1      93

Average        4       2       4      91

 

[solaris:/home]pwd
/home

 

[solaris:/home]ls -l
-rw-r--r--   1 root     other      57984  5 17  14:17 sar_sample.file

 

[solaris:/home]sar -f /home/sar_sample.file

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:16:46    %usr    %sys    %wio   %idle
14:16:49       3       4      13      79
14:16:52       4       1       2      94
14:16:55       4       2       1      93
14:16:58       4       2       2      93
14:17:01       4       2       1      93

Average        4       2       4      91

 

CPU Utilization -oɼ ־ /home丮


sar_sample.file ְ ɼ -f ־ ϴ

 

Ȯ ֽϴ.

 

[solaris:/home]sar -b 3 5

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:28:56 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
14:28:59       0    1383     100       1      61      98       0       0
14:29:02       0    1642     100      56     276      80       0       0
14:29:05       0    1583     100       2     107      98       0       0
14:29:08       0    1504     100       0      72     100       0       0
14:29:11       0    1713     100       0      69     100       0       0

Average        0    1565     100      12     117      90       0       0

 

-bɼ ־ ƼƼ ϴ Դϴ. ⼭


߿ %rcache %wcache %rcache


90 Ϸ ų, %wcache 65 Ϸ Ǿ 쿡


ų ֽϴ.

 

[solaris:/home]sar -g 10 3

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:34:19  pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf
14:34:29     7.89    11.69     8.19     0.00     0.00
14:34:39     7.60    14.60    12.00     0.00     0.00
14:34:49     8.70    14.10    10.70     0.00     0.00

Average      8.06    13.46    10.30     0.00     0.00

 

-gɼ ־ Memory page-out ϴ Դϴ. ⼭

 

߿ pgscan/s ޸𸮰 ϴٴ Դϴ.

 

[solaris:/home]sar -q 10 3

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:40:27 runq-sz %runocc swpq-sz %swpocc
14:40:37     1.2     100
14:40:47     1.3     100
14:40:57     0.8     100

Average

 

-qɼ ־ ť ִ μ ϴ Դϴ.


⼭ runq-sz ؼ 2 ̻ Ÿ CPU Ѱġ ٴٸ

 

Ǵ ֽϴ.

 

[solaris:/home]sar -r 10 3

 

SunOS armyesm 5.8 Generic_117350-26 sun4us    05/17/06

14:38:49 freemem freeswap
14:38:59   48570 24583912
14:39:09   48542 24559272
14:39:19   48597 24608388

Average    48570 24583841

 

-rɼ ־ ޸𸮸 ϴ Դϴ. ⼭ ؾ

 

޸𸮰 ν ޸ 6% ؼ ޸𸮰

ϴٴ Դϴ.

 

̻ sar ؼ ˾ ҽϴ.  

 


 
 

Total 185
ȣ     ۾ ¥ ȸ
125 Sun system DAT ׽Ʈ
2007/01/22 12923
124 nic (lan card) ߰
2007/01/05 8716
123 core dump м.
2006/11/27 13859
122 truss
2006/11/21 6835
121 ý м.
2006/11/21 5378
120 vmstat
2006/11/21 10893
119 disk suite raid5 ( A5200 )
2006/11/15 8075
118 440, 450 Mhz CPUs ýۿ Solaris 2.5.1 2.6 ġϱ
2006/11/03 3912
117 sar
2006/11/02 9203
116 prstat
2006/11/02 10572
115 vmstat --- ý .
2006/11/01 7430
114 SPARC ---- BOOT PROM
2006/10/31 13294
113 dmesg error messageԴϴ.
2006/10/31 9648
112 crash dump core dump
2006/10/31 10359
111 GBIC (Gigabit Interface Converter) ; ⰡƮ ȯ
2006/10/21 5560
 1  2  3  4  5  6  7  8  9  10    
 
 
 
Administrator Login