1753290 Members
5253 Online
108792 Solutions
New Discussion юеВ

Re: memory info

 
SOLVED
Go to solution
Vishu
Trusted Contributor

memory info

Hi guys,

when i do the following to find the memory installed in my server, i got the output..

# dmesg | grep -i phy
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 8251256 Kbytes, lockable: 5940420 Kbytes, available: 6921028 Kbytes

Please tell me, what is lockable and available memory in it. and what they are pointing to like, is the total memory is the sum of lockable and available memory.

thanks
4 REPLIES 4
Don Morris_1
Honored Contributor
Solution

Re: memory info

Lockable is memory which can be mlock/plock'ed. (Which just means it gets marked such that it will not be paged out). The kernel dynamic memory is also implicitly locked since HP-UX doesn't support paging kernel memory.

Part or all of lockable is in available. There's no direct correlation (usually available will be greater than lockable since you should start out with more free memory than the system can pin down).
Venkatesh BL
Honored Contributor

Re: memory info

> Physical: 8251256 Kbytes, lockable: 5940420 Kbytes, available: 6921028

It means you have 6921028 worth of RAM free now. Of which, 5940420 could be locked by user if their process wants to.
Suraj K Sankari
Honored Contributor

Re: memory info

R.K. #
Honored Contributor

Re: memory info

Hi Vishnu,

Size of your physical memory is "8251256 Kbytes".

Regds,
R.K.
Don't fix what ain't broke