oracle and unix system monitor

all in solaris 8
overload unix tools :
vmstat
top
sar
iostat

[cpu]
-------------
vmstat 2 5
the values of 'r' column must be small than the number of cpu
top
sar -u 2 5

[i/o]
-------------
sar -b 2 5
19:21:48 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s
pwrit/s
19:21:50       0      94     100      25      56      55       0
0
19:21:52       0      34     100       3       3       0       0
0

br[w]ead/s  data between  "block" disk to buffer
lr[w]ead/s    accesses of system buffer
pr[w]ead/s  data between  "raw" disk to buffer

iostat -xnp 2 5

[memory]
-------------
vmstat
top

[pagein and page out]
-------------
sar -w 2 5
19:27:44 swpin/s bswin/s swpot/s bswot/s pswch/s
19:27:46    0.00     0.0    0.00     0.0     911
s for number of transfers and b for 512b units sawps in or out

sar -p 2 5 and sar -g 2 5
p for pi and g for po

vmstat 2 5
 procs     memory            page            disk          faults
cpu
 r b w   swap  free  re  mf pi po fr de sr m0 m1 m2 m3   in   sy   cs
us sy id
 0 0 0 12416600 5177504 272 79 1755 1 1 0 0 0  0  0  6  492 2752 1729
12  2 86
 0 0 0 11814600 4639792 2 6 12  0  0  0  0  0  0  0  0  371  656  624
70  0 30

specially pay attention to see column pi , po ,sr

oracleHu 2005-10-18






阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页