148584
pgpgin/s: 换入页的KB数
pgpgout/s: 换出页的KB数
activepg: 内存中活动的页数
inadtypg: Number of inactive dirty (modified or potentially modified) pages in memory.
inaclnpg: Number of inactive clean (not modified) pages in memory.
inatarpg: "Inactive target" number of pages.This field is a 1-minute floating average of the number of
pages the system needs to "steal" every second in order to satisfy memory demand.
如果系统总是存在大量的换出页的KB数,说明系统需要内存.当然,inatarpg参数也能说明问题。
IXDBA.NET技术社区
3)磁盘I/O
我们可以用iostat来获得系统磁盘的数据.
[stone@localhost stone]$ iostat
Linux 2.4.20-19.7 (localhost.localdomain) 01/06/2005
avg-cpu: %user %nice %sys %idle
0.09 0.00 0.21 99.70
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev3-1 0.77 4.65 17.03 11788068 43140248
tps:Indicate the number of transfers per second that were issued to the device
Blk_read/s:Indicate the amount of data read from the drive expressed in a number of blocks per second
Blk_wrtn/s:Indicate the amount of data written to the drive expressed in a number of blocks per second.
Blk_read:The total number of blocks read.
Blk_wrtn:The total number of blocks written.
[stone@localhost stone]$ iostat -x
Linux 2.4.20-19.7 (localhost.localdomain) 01/06/2005
avg-cpu: %user %nice %sys %idle
0.09 0.00 0.21 99.70
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
hdb 0.46 1.48 0.12 0.65 4.65 17.04 28.13 0.10 118.90 207.70 1.60
hdb1 0.00 0.00 0.00 0.00 0.00 0.00 9.52 0.00 128.76 88.84 0.00
hdb2 0.46 1.48 0.12 0.65 4.65 17.01 28.17 0.09 117.58 13.39