svmon 筆記01
Esid - effective segment 只能在process view 中顯示, -S 中看不到
Type - segment type: work/persistent/client
Desc - 對段的描述
PSize - page size: s=4k m=64k L=16M S=16G
Inuse - actual number a memory frames in use 單位是page
Pin - pages that cannot be stolen by lrud 這個計量單位是page
Pgsp - paging space usage 這個計量單位是page
Virtual - total number of virtual pages created. 這個如何理解?[@more@]
Secure ShellDocumentationzl_ibmIBM資料Understanding AIX Memory Usage.pdf
用法一 svmon -S
[node1:root] svmon -S |more
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 - work m 3636 0 0 3636
a060 - work kernel heap m 3303 3294 45 3345
10415d3 - work m 2688 0 0 2688
e000 - work mbuf pool m 1688 1688 0 1688
1029ea9 - work sm 26887 0 0 26887
1074a7e - work m 1503 0 0 1503
106ff39 - clnt /dev/fslv00:335943 s 23496 0 - -
a080 - work kernel heap m 1384 1379 7 1389
1079b1d - work sm 21484 0 341 21812
1054015 - work m 1236 925 3 1236
1008ae2 - clnt /dev/fslv00:325317 s 18553 16428 - -
1000ae0 - clnt /dev/fslv00:325316 s 18542 16428 - -
Vsid - unique system segment ID.
Esid - effective segment 只能在process view 中顯示, -S 中看不到
Type - segment type: work/persistent/client
Desc - 對段的描述
PSize - page size: s=4k m=64k L=16M S=16G
Inuse - actual number a memory frames in use 單位是page
Pin - pages that cannot be stolen by lrud 這個計量單位是page
Pgsp - paging space usage 這個計量單位是page
Virtual - total number of virtual pages created. 這個如何理解?
重要的概念:
32 bit processes can have 16 segments: 0-F
ƒ64 bit processes can have up to 2^36 possible segments (note: this requires 64 bit hardware)
ƒAIX 5L supports multiple page sizes: 4k/64k/16M/16G
svmon用法二 按程式檢視 svmon -P
[node1:root] svmon -P |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
11534552 oracle 179870 22512 4122 159345 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 35150 0 3674 14385
m 64 KB 9045 1407 28 9060
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3636 0 0 3636
10415d3 70000001 work default shmat/mmap m 2688 0 0 2688
106ff39 10 clnt text data BSS heap, s 23496 0 - -
/dev/fslv00:335943
1054015 90000000 work shared library text m 1236 925 3 1236
.....
[node1:root] svmon -P 7143574
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7143574 oracle 172677 22512 4037 152100 Y N N 這一行的計量單位是頁個數(4k)
PageSize Inuse Pin Pgsp Virtual
s 4 KB 27957 0 3589 7140
m 64 KB 9045 1407 28 9060
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3636 0 0 3636 shmat/mmap此類的記憶體段
10415d3 70000001 work default shmat/mmap m 2688 0 0 2688 也將出現在其它程式中,
106ff39 10 clnt text data BSS heap, s 23496 0 - - 無此標記的也會共享
/dev/fslv00:335943 比如共享的可執行檔案
1054015 90000000 work shared library text m 1236 925 3 1236 共享的檔案系統等
10172e5 70000003 work default shmat/mmap m 808 0 0 808
......
Vsid - System wide segment number. 如果在兩個程式中出現相同的Vsid,這兩個程式共享此段記憶體.
Esid - Effective segment based on the address the process addresses the segment at.
Esid’s are different in 64 and 32 bit *processes*. 文件上看到的例子是32位aix
Esid’s of ‘-’ here indicate a file the is open by the process. 共享的檔案快取
The file is found with: ‘find /usr –inum 221186 –xdev’. 透過inode號 查詢檔案位置
This segment is shared by all processes accessing this file.
Note that Vsid 0 is mapped to all processes. 比如kernel sgement 也是work型別,Vsid = 0
表面上看,如果在Description 中,標記為private 為此程式的私有段,標記為shared 為共享段。
但比如shared library data 在兩個程式之間,Vsid不同(1049cf1 & 1035e0e),Esid卻相同,都是9001000a
1049cf1 9001000a work shared library data sm 119 0 0 119
1035e0e 9001000a work shared library data sm 119 0 0 119
[node1:root] svmon -P 7143574 [node1:root] svmon -P 17039518
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7143574 oracle 171966 22512 4037 151396 Y N N 17039518 oracle 171618 22512 4037 151048 Y N N
PageSize Inuse Pin Pgsp Virtual PageSize Inuse Pin Pgsp Virtual
s 4 KB 27950 0 3589 7140 s 4 KB 27602 0 3589 6792
m 64 KB 9001 1407 28 9016 m 64 KB 9001 1407 28 9016
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3591 0 0 3591 1068a99 70000002 work default shmat/mmap m 3591 0 0 3591
10415d3 70000001 work default shmat/mmap m 2688 0 0 2688 10415d3 70000001 work default shmat/mmap m 2688 0 0 2688
106ff39 10 clnt text data BSS heap, s 23489 0 - - 106ff39 10 clnt text data BSS heap, s 23489 0 - -
/dev/fslv00:335943 /dev/fslv00:335943
1054015 90000000 work shared library text m 1237 925 3 1237 1054015 90000000 work shared library text m 1237 925 3 1237
10172e5 70000003 work default shmat/mmap m 808 0 0 808 10172e5 70000003 work default shmat/mmap m 808 0 0 808
8002 0 work kernel segment m 508 479 25 523 8002 0 work kernel segment m 508 479 25 523
100d720 70000000 work default shmat/mmap m 161 0 0 161 100d720 70000000 work default shmat/mmap m 161 0 0 161
102dae8 80020014 work USLA heap sm 1805 0 0 1805 1035dee 80020014 work USLA heap sm 1805 0 0 1805
102dce8 11 work text data BSS heap sm 1494 0 0 1494 1045d92 11 work text data BSS heap sm 1174 0 0 1174
105c017 90020014 work shared library s 850 0 1500 1562 105c017 90020014 work shared library s 850 0 1500 1562
下面各行的Inuse 使用的計量單位也是頁的個數,sm 型別包括兩種頁大小的頁的個數。
因此在此處統計記憶體大小沒意義,但可以看到使用的記憶體頁的個數。
-S -P 兩個檢視有什麼區別?
-S
- 每個段只列一次
- 沒有程式關聯的段也列示
- 看不到一個段被多少程式關聯(使用/對映)
-P
- 列出每個程式使用的記憶體段
- 沒有程式關聯的段不再顯示
- 多數核心程式使用的kernel segments 不顯示
- 一些檔案雖然被快取了,但檔案沒有開啟(沒有程式使用),也不顯示
svmon 用法三 svmon -G
[node1:root] svmon -G
size inuse free pin virtual mmode
memory 1048576 1026641 21935 317596 918225 Ded
pg space 921600 81177
work pers clnt other
pin 251714 0 33168 32714
in use 848178 0 178463
PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 676289 65673 147212 559137
m 64 KB - 21897 969 10649 22443
[node1:root]
把記憶體段分類統計,計量單位仍是page. 上面1048576 是4GB 實體記憶體 921600是pagespace的頁數。
inuse 是使用中的記憶體頁,應該包含檔案快取;
free 是未分配的部分 --vmstat fre 對應
pin 是不能page out的部分
virtual 是已分配不包含檔案快取部分 --vmstat avm=Active virtual pages.
mmode 記憶體模式? 不知道什麼含義 man中也沒有描述
如何查詢使用記憶體較大的前幾個程式?
svmon usage:
svmon -G [-O Options] [-i Interval [NumIntervals] ]
svmon -S [SID1...SIDN] [-O Options] [-t Count] [-i Interval [NumIntervals] ]
svmon -P [PID1... PIDN] [-O Options] [ [-t Count] [-i Interval [NumIntervals] ]
svmon -C Command1...CommandN [-O Options] [-t Count] [-i Interval [NumIntervals] ]
svmon -U [LogName1...LogNameN] [-O Options] [-t Count] [-i Interval [NumIntervals] ]
svmon -D SID1..SIDN [-O Options] [-i Interval [NumIntervals] ]
svmon -W [ClassName1...ClassNameN] [-O Options] [-t Count ] [-i Interval [NumIntervals] ]
svmon -T [Tier1...TierN] [-O Options] [-a SupClassName] [-t Count ] [-i Interval [NumIntervals] ]
svmon -X [-o Filename] [-O Options] [-i Interval [NumIntervals] ] [-c
-a restricts the scope to the subclasses of the SupClassName parameter (in the Tier report)
-c used with the -X flag, allows to add a comment to the XML report
-i instructs svmon to display statistics repetitively
-o specifies the output file for the -X flag
-O -O option=value, ... ]
activeusers=[on | off]
affinity=[on | detail | off]
commandline=[on | off]
filename=[on | off]
filtercat=[off exclusive kernel shared unused unattached]
filterpgsz=[off s m L S]
filterprop=[off notempty data text]
filtertype=[off working persistent client]
format=[80 | 160 | nolimit]
frame=[on | off]
mapping=[on | off]
mpss=[on | off]
overwrite=[on | off]
pgsz=[on | off]
pidlist=[on | number | off]
process=[on | off]
range=[on | off]
segment=[on | category | off]
shmid=[on | off]
sortentity=[inuse | virtual | ....] (depending on the selected summary)
sortseg=[inuse | pin | pgsp | virtual]
subclass=[on | off]
summary=[basic | longreal | ame | longame]
svmonalloc=[on | off]
threadaffinity=[on | off]
timestamp=[on | off]
tmem=[on | off]
unit=[auto | page | KB | MB | GB]
-t displays memory usage statistics for the top count object to be printed
[node1:root]
AIX5.3 的結果:
[ora:root:/] svmon -P -O sortentity=pgsp -t 3
Unit: page
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
753788 oracle 139280 65584 10190 132503 Y N N
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
815302 oracle 138913 65584 10100 132089 Y N N
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
270390 oracle 139786 65584 10030 133175 Y N N
[ora:root:/]
AIX6 的結果:
[node1:root] svmon -P -O sortentity=pgsp -t 3
Unit: page
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual
6357200 gpnpd.bin 31758 22521 9716 39555
11599878 oracle 169923 22512 7658 153082
5636274 mdnsd.bin 29436 22516 7575 35750
[node1:root]
[node1:root] svmon -P -O sortseg=inuse -t 3
Unit: page
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual
11534552 oracle 179886 22512 4122 159361
13566074 oracle 179802 22512 4176 159363
10289304 oracle 179740 22512 4260 159345
[node1:root]
如何檢視一段記憶體都被哪些程式共享?
[node1:root] svmon -P 7143574 -l
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7143574 oracle 174102 22512 3871 153284 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 28198 0 3423 7140
m 64 KB 9119 1407 28 9134
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3636 0 0 3636
pid(s)=18153612, 17563810, 17039518, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12517536, 12451974, 12386322, 12255472, 12124214,
pid(s)=11993120, 11927568, 11862146, 11796484, 11731014,
pid(s)=11665616, 11599878, 11534552, 11272376, 11141156,
pid(s)=10879224, 10485960, 10420412, 10354872, 10289304,
pid(s)=10223746, 10092610, 9895958, 9830440, 9633994,
pid(s)=9568494, 9371662, 9240678, 8323182, 7143574, 5308552,
pid(s)=5046382
......
[node1:root]
如果按inum查詢檔案[node1:root] find /usr -inum 4318 -xdev
一定要透過-l 來檢視共享的記憶體,附word檔案《svmon-l.doc》
2013/1/7 14:07
[node1:root] svmon -P 7143574
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7143574 oracle 172918 22512 3871 152100 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 28198 0 3423 7140
m 64 KB 9045 1407 28 9060
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3636 0 0 3636
10415d3 70000001 work default shmat/mmap m 2688 0 0 2688
106ff39 10 clnt text data BSS heap, s 23496 0 - -
/dev/fslv00:335943
1054015 90000000 work shared library text m 1236 925 3 1236
10172e5 70000003 work default shmat/mmap m 808 0 0 808
8002 0 work kernel segment m 508 479 25 523
100d720 70000000 work default shmat/mmap m 161 0 0 161
102dae8 80020014 work USLA heap sm 1805 0 0 1805
102dce8 11 work text data BSS heap sm 1494 0 0 1494
105c017 90020014 work shared library s 1091 0 1334 1562
1049cf1 9001000a work shared library data sm 119 0 0 119
14005 9ffffffd work shared library sm 83 0 2072 2072
1011e27 f00000002 work process private m 5 3 0 5
1061b1b ffffffff work application stack sm 51 0 0 51
1027669 90000001 work shared library text m 3 0 0 3
3000c 9ffffffe work shared library sm 22 0 17 23
104c193 9fffffff clnt USLA text,/dev/hd2:4218 s 13 0 - -
103db6c 8fffffff work private load data s 11 0 0 11
1020bea - clnt /dev/fslv00:301607 s 10 0 - -
107dcfc 8001000a work private load data sm 3 0 0 3
[node1:root]
上面的彙總資料之間的關係:
172918 = 28198 + 9045*16 = 下面各行Inuse的總和(3636+2688+23496+...+11+10+3)
這個是和7143574程式相關的記憶體頁的總數,但其中大部分記憶體頁是與其它程式共享的。
這個程式獨佔部分可以透過-l 結果中的pid(s)=... 來確定。
如果只有一個程式號,則是獨佔(Private work) ,否則就是共享。
下面還是拿oracle LOCAL 的一個程式來計算:
[node1:root] svmon -P 7143574 -l
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7143574 oracle 172918 22512 3871 152100 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 28198 0 3423 7140
m 64 KB 9045 1407 28 9060
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
1068a99 70000002 work default shmat/mmap m 3636 0 0 3636 ( System shared )
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
10415d3 70000001 work default shmat/mmap m 2688 0 0 2688 ( System shared )
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
106ff39 10 clnt text data BSS heap, s 23496 0 - - ( Shared Text )
/dev/fslv00:335943
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
1054015 90000000 work shared library text m 1236 925 3 1236 ( System shared )
Shared library text segment
10172e5 70000003 work default shmat/mmap m 808 0 0 808 ( System shared )
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
8002 0 work kernel segment m 508 479 25 523 ( System shared )
System segment
100d720 70000000 work default shmat/mmap m 161 0 0 161 ( System shared )
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
102dae8 80020014 work USLA heap s 1805 0 0 1805 ( Private work )
m 0 0 0 0
pid(s)=7143574
102dce8 11 work text data BSS heap s 1494 0 0 1494 ( Private work )
m 0 0 0 0
pid(s)=7143574
105c017 90020014 work shared library s 1091 0 1334 1562 ( System shared )
pid(s)=18219106, 18153612, 17432656, 17236064, 17039518,
pid(s)=16974016, 16122096, 14417950, 14352410, 14024770,
pid(s)=13959296, 13697248, 13631698, 13566074, 13434998,
pid(s)=13238522, 13172766, 12910710, 12845068, 12779598,
pid(s)=12713984, 12582960, 12451974, 12386322, 12255472,
pid(s)=12124214, 11993120, 11927568, 11862146, 11796484,
pid(s)=11731014, 11665616, 11599878, 11534552, 11272376,
pid(s)=11141156, 10879224, 10682408, 10551410, 10485960,
pid(s)=10420412, 10354872, 10289304, 10223746, 10158294,
pid(s)=10092610, 9895958, 9830440, 9765080, 9633994, 9437232,
pid(s)=9371662, 9306152, 9240678, 9175196, 9044020, 8847398,
pid(s)=8781970, 8716326, 8650940, 8585290, 8519688, 8454204,
pid(s)=8388612, 8323182, 8257616, 8126718, 8061178, 7995640,
pid(s)=7930102, 7864570, 7733498, 7667952, 7602428, 7536882,
pid(s)=7471132, 7405800, 7340260, 7274724, 7209198, 7143574,
pid(s)=7078126, 7012572, 6947032, 6553846, 6357200, 6094930,
pid(s)=5898402, 5832806, 5767324, 5636274, 5570688, 5505052,
pid(s)=5308552, 5046382, 4653258, 4259934, 3997846, 3473518,
pid(s)=3407980, 3276904, 1638490
1049cf1 9001000a work shared library data s 119 0 0 119 ( Private work )
m 0 0 0 0
pid(s)=7143574
14005 9ffffffd work shared library s 83 0 2072 2072 ( System shared )
m 0 0 0 0
System segment
1011e27 f00000002 work process private m 5 3 0 5 ( Private work )
pid(s)=7143574
1061b1b ffffffff work application stack s 51 0 0 51 ( Private work )
m 0 0 0 0
pid(s)=7143574
1027669 90000001 work shared library text m 3 0 0 3 ( System shared )
Shared library text segment
3000c 9ffffffe work shared library s 22 0 17 23 ( System shared )
m 0 0 0 0
System segment
104c193 9fffffff clnt USLA text,/dev/hd2:4218 s 13 0 - - ( System shared )
pid(s)=18219106, 18153612, 17432656, 17236064, 17039518,
pid(s)=16974016, 16122096, 14417950, 14352410, 14024770,
pid(s)=13959296, 13697248, 13631698, 13566074, 13434998,
pid(s)=13238522, 13172766, 12910710, 12845068, 12779598,
pid(s)=12713984, 12582960, 12451974, 12386322, 12255472,
pid(s)=12124214, 11993120, 11927568, 11862146, 11796484,
pid(s)=11731014, 11665616, 11599878, 11534552, 11272376,
pid(s)=11141156, 10879224, 10682408, 10551410, 10485960,
pid(s)=10420412, 10354872, 10289304, 10223746, 10158294,
pid(s)=10092610, 9895958, 9830440, 9765080, 9633994, 9437232,
pid(s)=9371662, 9306152, 9240678, 9175196, 9044020, 8847398,
pid(s)=8781970, 8716326, 8650940, 8585290, 8519688, 8454204,
pid(s)=8388612, 8323182, 8257616, 8126718, 8061178, 7995640,
pid(s)=7930102, 7864570, 7733498, 7667952, 7602428, 7536882,
pid(s)=7471132, 7405800, 7340260, 7274724, 7209198, 7143574,
pid(s)=7078126, 7012572, 6947032, 6553846, 6357200, 6094930,
pid(s)=5898402, 5832806, 5767324, 5636274, 5570688, 5505052,
pid(s)=5308552, 5046382, 4653258, 4259934, 3997846, 3473518,
pid(s)=3407980, 3276904
103db6c 8fffffff work private load data s 11 0 0 11 ( System shared )
System segment
1020bea - clnt /dev/fslv00:301607 s 10 0 - - ( Shared Files )
pid(s)=18153612, 17039518, 16974016, 14352410, 14024770,
pid(s)=13959296, 13631698, 13566074, 13434998, 13238522,
pid(s)=13172766, 12910710, 12845068, 12713984, 12582960,
pid(s)=12451974, 12386322, 12255472, 12124214, 11993120,
pid(s)=11927568, 11862146, 11796484, 11731014, 11665616,
pid(s)=11599878, 11534552, 11272376, 11141156, 10879224,
pid(s)=10485960, 10420412, 10354872, 10289304, 10223746,
pid(s)=10158294, 10092610, 9895958, 9830440, 9633994,
pid(s)=9371662, 9240678, 8323182, 7143574, 5308552, 5046382
107dcfc 8001000a work private load data s 3 0 0 3 ( Private work )
m 0 0 0 0
pid(s)=7143574
[node1:root]
透過上面的分類,彙總如下結果:
System shared := 3636*64k + 2688*64k + 1236*64k + 808*64k + 508*64k + 161*64k + 1091*4k + 83*4k + 3*64k + 22*4k + 13*4k + 11*4k = 569M
Shared Text := 23496*4K = 92M
Private work := 1805*4k + 1494*4k + 119*4k + 5*64k + 51*64k + 3*4k = 17M
Shared Files := 10*4k = 40K
650M是共享記憶體,私有工作區只有17M。
小結:
透過svmon可以檢視系統中啟用的記憶體頁,以及每個程式所使用的記憶體頁大小和數量。
透過ipcs 可以檢視系統中共享記憶體及訊號量資訊。
透過vmstat 可以檢視avm fre 以及 fr sr
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271063/viewspace-1060047/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX記憶體效能調優(svmon sar vmo)AI記憶體
- ipcs 與 svmon 的對應
- aix svmon 命令用法詳解AI
- aix基本命令之svmonAI
- 《走入》 筆記01筆記
- MYSQL筆記01MySql筆記
- ps 與 svmon之間關係
- 學習筆記01筆記
- Task01 筆記筆記
- JVM學習筆記-01JVM筆記
- day01 js筆記JS筆記
- JavaScript學習筆記01JavaScript筆記
- javascript閱讀筆記01JavaScript筆記
- 筆記Linux_01筆記Linux
- 01《構建之法》閱讀筆記01筆記
- 2019.3.25筆記筆記
- 2016筆記——SDWebImage筆記Web
- 2017筆記——Spotlight筆記
- WebinLinux小筆記001WebLinux筆記
- Linux私房菜筆記01Linux筆記
- Nodejs學習筆記-01 eventsNodeJS筆記
- 2019ios筆記iOS筆記
- vue 基礎入門筆記 01Vue筆記
- Gin學習筆記01 框架使用筆記框架
- G01學習筆記-7筆記
- G01學習筆記-8筆記
- G01學習筆記-4筆記
- G01學習筆記-5筆記
- G01學習筆記-6筆記
- G01學習筆記-1筆記
- G01學習筆記-2筆記
- G01學習筆記-3筆記
- JavaWeb學習筆記~01.ServletJavaWeb筆記Servlet
- 學習筆記-DAY01-VUE筆記Vue
- RAC學習筆記-Day_01筆記
- CFA 2017 --- 筆記連結筆記
- 10g-exp筆記之01筆記
- C++學習筆記——001C++筆記