1834742 Members
2702 Online
110070 Solutions
New Discussion

Where is the memory?

 
Mike Boswell_1
Frequent Advisor

Where is the memory?

Given below where is the last the 328 Mb of memory used? Are my calculation correct? What command would you use to show the 328 Mb's whereabuouts? Thanks, Mike

Unaccounted for 1024 - 696 = 328 Mb

Total = 262144 * 4096 = 1073741824 ( 1 GB )
Avail = 5818 * 4096 = 23830528 ( - 22 Mb )
Oracle ( - 448 Mb )
Buffer Cache 57959 * 4096 = 237400064 ( - 226 Mb )

Used + avail = 674 + 22 = 696 Mb


# echo phys_mem_pages/D | adb64 /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 262144


#vmstat 1 2
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
3 0 0 109803 5868 19 3 1 0 0 0 7 666 58667 151 9 5 86
3 0 0 109803 5818 22 1 0 0 0 0 0 464 301400 325 82 18 0

# echo "bufpages/D" | /usr/bin/adb /stand/vmunix /dev/kmem
bufpages:
bufpages: 57959


# ipcs -bmop
IPC status from /dev/kmem as of Mon Feb 11 07:00:50 2008
T ID KEY MODE OWNER GROUP NATTCH SEGSZ CPID LPID
Shared Memory:
m 0 0x411c07a8 --rw-rw-rw- root root 0 348 527 527
m 1 0x4e0c0002 --rw-rw-rw- root root 2 61760 527 529
m 2 0x41200b6e --rw-rw-rw- root root 2 8192 527 529
m 3 0x301c3ebc --rw-rw-rw- root root 3 1048576 1054 1068
m 56324 0xd0a03108 --rw-r----- oracle oinstall 23 470781952 2882 10621
3 REPLIES 3
Hein van den Heuvel
Honored Contributor

Re: Where is the memory?

Wouldn't that simply be the 'process' memory that's missing?

Check with 'top'
or: $ UNIX95= ps -ef -o vsz,sz,comm

fwiw,
Hein.
likid0
Honored Contributor

Re: Where is the memory?

i would install kmeminfo, it's a really good program to get all the info your need about your memory

from here:

ftp://hprc.external.hp.com/memory.htm#kmeminfo
Windows?, no thanks
Mike Boswell_1
Frequent Advisor

Re: Where is the memory?

Thanks.
the command: UUNIX95= ps -ef -o vsz,sz,comm is just what I was looking for.