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
本文围绕Solaris 8系统展开,介绍了在该系统下使用Unix工具进行性能监控的方法。涉及CPU、I/O、内存、页面交换等方面,如使用vmstat、top、sar、iostat等工具获取相关数据,并对部分数据含义进行说明,还提醒关注特定列数据。
3295

被折叠的 条评论
为什么被折叠?



