memory usage display
Posted in 2008
Hi, Folks,
Curious about the size info of memory usage reported by informix and OS.
(a) onstat diplay,
IBM Informix Dynamic Server Version 11.10.UC2 -- On-Line -- Up 05:27:22
-- 2022240 Kbytes
Segment Summary:
id key addr size ovhd class blkused blkfree
86 1382041603 30000000 1081344 7328 M 262 2
84 1382041601 40000000 1755119616 10508672 R* 428490 6
85 1382041602 b0000000 314572800 1844384 V 11490 65310
Total: - - 2070773760 - - 440242 65318
(b) ps -el display,
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME
CMD
40103 A 3000 110696 286848 0 60 -- 7048c400 14308 f10001100ff30220
- 0:00 oninit
40903 A 3000 139328 286848 0 60 -- 10460400 14528
f10001100ff300b8 - 6:24 oninit
40903 A 3000 249872 286848 0 60 -- e043e400 14516
f10001100ff30108 - 0:06 oninit
40103 A 3000 262210 286848 0 60 -- 7832d400 14276
f10001100ff30068 - 0:00 oninit
40103 A 3000 266328 278678 0 60 -- 885b3400 13888
f100011013048068 - 0:13 oninit
40903 A 3000 270388 286848 0 60 -- d02f8400 14416
f10001100ff30130 - 0:04 oninit
40103 A 3000 278678 290858 0 60 -- 85c3400 13900 - 1:11
oninit
40103 A 3000 286848 303176 0 60 -- e9d38400 14288 -
0:00 oninit
10040103 A 3000 290858 1 0 60 -- 305a4400 13976
f10001101105efa8 - 1:31 oninit
40903 A 3000 295114 286848 0 60 -- be694400 14516
f10001100ff300e0 - 0:17 oninit
40103 A 3000 299232 278678 0 60 -- 20586400 13952
f10001002ef9fa78 - 1:17 oninit
10040903 A 3000 303176 1 0 60 -- d0438400 14508
f10001002c68cd18 - 2:18 oninit
40103 A 3000 319510 286848 0 60 -- 90330400 14956
f10001100ff301f8 - 0:00 oninit
40103 A 3000 323616 286848 0 60 -- c847b400 14328
f10001100ff30298 - 0:00 oninit
40903 A 3000 331792 286848 0 60 -- 6844f400 14392
f10001100ff30158 - 0:03 oninit
40103 A 3000 335946 286848 0 60 -- 58489400 14288
f10001100ff30090 - 0:00 oninit
40103 A 3000 340182 286848 0 60 -- 20486400 14304
f10001100ff301a8 - 0:00 oninit
40103 A 3000 344280 286848 0 60 -- 40c6d400 14348
f10001002d2e2978 - 0:47 oninit
40103 A 3000 352444 286848 0 60 -- a0476400 14300
f10001100ff30180 - 0:00 oninit
40103 A 3000 356504 286848 0 60 -- d8479400 14332
f10001002d4e3558 - 0:00 oninit
40103 A 3000 360566 286848 0 60 -- 50468400 14324
f10001100ff301d0 - 0:00 oninit
40103 A 3000 151834 278678 0 60 -- c05da400 13904
f100011013048108 - 0:11 oninit
40103 A 3000 160072 278678 0 60 -- 605ce400 13904
f1000110130480b8 - 0:13 oninit
40103 A 3000 283126 286848 0 60 -- 7842d400 14352
f100011010f8eb78 - 0:45 oninit
40103 A 3000 340300 278678 0 60 -- b05d4400 14028
f1000110130480e0 - 1:46 oninit
40103 A 3000 373016 278678 0 60 -- 7056c400 13900
f100011013048090 - 0:14 oninit
40103 A 3000 377172 278678 0 60 -- 105e0400 13920
f100011013048130 - 0:12 oninit
40103 A 3000 381270 278678 0 60 -- 205e6400 13932
f100011013048158 - 0:12 oninit
40103 A 3000 385368 278678 0 60 -- 705ec400 14548
f100011013048180 - 0:00 oninit
40103 A 3000 389466 278678 0 60 -- 805f2400 13924
f1000110130481a8 - 0:12 oninit
40103 A 3000 393566 278678 0 60 -- f85bd400 13948
f100011010f8ee78 - 1:29 oninit
40103 A 3000 397714 278678 0 60 -- 58649400 13956
f100011012da7dd8 - 0:12 oninit
40103 A 3000 401762 278678 0 60 -- c061a400 13944
f100011012da7d18 - 0:11 oninit
40103 A 3000 410050 278678 0 60 -- e061e400 13948
f100011012da7d98 - 0:12 oninit
So, the total memory attached to all the oninit processes are roughly
around 480,000 KB.
Looks like the 1.7~ GB Resident Buffers are not showed attaching to any
oninit process, is that true?
Thanks,
Frank
SHMVIRTSIZE 307200 # initial virtual shared memory segment size
SHMADD 8192 # Size of new shared memory segments (Kbytes)
EXTSHMADD 8192 # Size of new extension shared memory
segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
BUFFERPOOL
default,buffers=400000,lrus=64,lru_min_dirty=40.000000,lru_max_dirty=60.000000
BUFFERPOOL
size=4K,buffers=400000,lrus=64,lru_min_dirty=40.000000,lru_max_dirty=60.000000
Program Name: onstat
Build Version: 11.10.UC2
Build Number: N158
Build Host: vach
Build OS: AIX 5.3
Build Date: Thu Oct 25 22:56:40 CDT 2007
GLS Version: glslib-4.50.UC2