- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do I check memory available on the system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 10:48 PM
тАО10-13-2008 10:48 PM
how do I check memory available on the system
how do I check the
memory available on the system, I use this command
db1:/# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol9
reserve - 2855 -2855
memory 3827 1559 2268 41%
total 12019 4414 7605 37% - 0
db1:/#
from the result, can I say my memory available is 2.26GB ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 10:57 PM
тАО10-13-2008 10:57 PM
Re: how do I check memory available on the system
You can used top and glance also to see the memory used.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 10:59 PM
тАО10-13-2008 10:59 PM
Re: how do I check memory available on the system
2. print_manifest
3. SAM
4. glance ( press m )
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 11:17 PM
тАО10-13-2008 11:17 PM
Re: how do I check memory available on the system
my result
db1:/# dmesg | grep -i physical
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 5242880 Kbytes, lockable: 4656104 Kbytes, available: 4501384 Kbytes
does it mean I have 4.5 Gb of memory only
what is lockable memory ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 11:31 PM
тАО10-13-2008 11:31 PM
Re: how do I check memory available on the system
>>db1:/# dmesg | grep -i physical
physical page size = 4096 bytes, logical page size = 4096 bytes
It means, you have 4GB of physical Memory.
>>what is lockable memory ?
When you boot your system some amount of memory is used by the kernal code and data structure. It is called lockable memory.
The remaining memory is available memory.
Regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 11:32 PM
тАО10-13-2008 11:32 PM
Re: how do I check memory available on the system
you can go through below link for understanding all terms related to memory.
http://docs.hp.com/en/5965-4641/ch01s03.html
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 11:50 PM
тАО10-13-2008 11:50 PM
Re: how do I check memory available on the system
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 11:55 PM
тАО10-13-2008 11:55 PM
Re: how do I check memory available on the system
also have a look at the following thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1179723
the memdetail program can be used to display more details on the system memory.
e.g.
# memdetail
Memory Stat total used avail %used
physical 40958.0 28445.2 12512.8 69%
active virtual 30213.0 8304.0 21909.1 27%
active real 19827.2 6694.1 13133.0 34%
memory swap 40958.0 15385.0 25573.0 38%
device swap 83964.0 31218.8 52745.2 37%
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 01:26 AM
тАО10-14-2008 01:26 AM
Re: how do I check memory available on the system
I have a solution to solve my currenct MRP problem
"set maxdsiz_64bit to at
least close to the memory available on the system."
can I set maxdsiz_64bit to close to 4GB ?
thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 01:33 AM
тАО10-14-2008 01:33 AM
Re: how do I check memory available on the system
You are correct. You have 5GB of memory.
look at your dmesg output.
db1:/# dmesg | grep -i physical
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 5242880 Kbytes, lockable: 4656104 Kbytes, available: 4501384 Kbytes
Physical: 5242880 Kbytes --> This is the physical memory you have on your system. It is 5242MB. Kernel will be loaded at the initial pages of the memory. Remaining amount only will be available to the system. That is 4656104 Kbytes.
You can also check the physical by using this command.
#echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | grep 'Total Configured'
#echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem --> it will give it in pages. you need to multiply with 4 if physical page size is 4096 bytes.
Hope you will be clear now.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 01:42 AM
тАО10-14-2008 01:42 AM
Re: how do I check memory available on the system
Regarding the kernel parameter maxsiz_64bit
refer the below link.
http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 01:20 PM
тАО10-14-2008 01:20 PM
Re: how do I check memory available on the system
Or you have 7.6 Gb of swap available.
>can I set maxdsiz_64bit to close to 4GB?
You can set it to any value you want, even above 12 Gb. But you won't be able to use that much. The default for maxdsiz_64bit is 4 Gb, so you shouldn't set it smaller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 11:33 PM
тАО10-14-2008 11:33 PM
Re: how do I check memory available on the system
# To get RAM size in KB
perl -e 'local($PSTAT,$PSTAT_STATIC,$mem_info,$PSTAT_STRUCT)=(239,2,"\0"x120,"LI4L");
syscall($PSTAT,$PSTAT_STATIC,$mem_info,length($mem_info),1,0);
print "RAM=".int((unpack($PSTAT_STRUCT,$mem_info))[4]*((unpack($PSTAT_STRUCT,$mem_info))[5])/(1024*1024))."\n";'
HTH,
Art