问题总结第四张专辑[5]

[入库:2005年9月19日] [更新:2007年3月24日]

本文简介:

       align_errors                    0 
... 

内存分配情况: 
# sar -k 1 

SunOS yanxihu 5.9 Generic_112233-05 sun4u    09/18/2003 

16:30:49 sml_mem   alloc  fail   lg_mem    alloc  fail  ovsz_alloc  fail 
16:30:50 6201600 5306868     0 70565888 65089424     0    15441920     0 

各进程占内存情况: 
% prstat 
  PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 1898 zw125158  340M  219M sleep   50    0   0:27:30  21% soffice.bin/4 
 2569 zw125158  234M  123M sleep   49    0   0:38:09 8.1% firefox-bin/4 
  536 zw125158  131M  110M sleep   59    0   0:44:53 4.2% Xsun/1 
... 

每进程占内存,如代码,数据,堆栈等: 
# pmap 814 
814:    netscape 
00010000     16K read/exec         /usr/dt/appconfig/netscape/netscape 
00022000     16K read/write/exec   /usr/dt/appconfig/netscape/netscape 
00026000    168K read/write/exec     [ heap ] 
FEE30000     16K read/exec         /usr/lib/libmp.so.2 
... 
FF3E2000      8K read/write/exec   /usr/lib/ld.so.1 
FFBE8000     32K read/write/exec     [ stack ] 
total     4624K 

系统取数据时读写cache的命中率等: 
# sar -b 3 100 
SunOS s17a 5.8 Generic_108528-09 sun4u    04/03/02 

14:46:58 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s 
14:47:01       0       0     100       0       0     100       0       0 
14:47:04       0       0     100       0       0     100       0       0 
14:47:07       0       0     100       1       1       0       0       0 

系统内存的读入读出扫描速度等: 
% vmstat 2 
kthr      memory            page            disk          faults      cpu 
r b w   swap  free  re  mf pi po fr de sr s0 s3 s8 s1   in   sy   cs us sy id 
0 0 0 3134976 1100640 4 27  4  1  0  0  0  0  0  0  0  321 1251  535  1  1 98 
0 0 0 3059392 876224 3  13 58  0  0  0  0  0  0  0  0  396 2313  832  9  1 89

本文关键:问题总结第四张专辑
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top