- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to view the memory size (RAM size)
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
тАО04-06-2009 05:17 AM
тАО04-06-2009 05:17 AM
In HP-UX, how to view the memory size.
In linux i am using "# free -m". like this
what is the commnad used in HP-UX.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:20 AM
- Tags:
- swapinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:23 AM
тАО04-06-2009 05:23 AM
Re: How to view the memory size (RAM size)
check following commands...
# dmesg |grep -i Physical
#print_manifest |grep -i memory
Check with sam also as,
sam -> performance monitor -> system properties -> memory
- Tags:
- dmesg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:31 AM
тАО04-06-2009 05:31 AM
Re: How to view the memory size (RAM size)
this will give out the memory arrangment and slots in the board.
- Tags:
- CSTM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:36 AM
тАО04-06-2009 05:36 AM
Re: How to view the memory size (RAM size)
you can check using glance
#glance -m
Reagrds
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 06:06 AM - last edited on тАО01-05-2021 04:18 AM by Parvez_Admin
тАО04-06-2009 06:06 AM - last edited on тАО01-05-2021 04:18 AM by Parvez_Admin
Re: How to view the memory size (RAM size)
Senthil,
Use #print_manifest
(/opt/ignite/bin/print_manifest)
Check this link as well http://docs.hp.com/en/B2355-90772/ch05s06.html [Admin: This link is no longer valid]
Attached are some useful docs..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 06:08 AM
тАО04-06-2009 06:08 AM
Re: How to view the memory size (RAM size)
If you are running an Itanium server, use :
# machinfo
Regards!
...JRF...
- Tags:
- machinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 06:43 AM
тАО04-06-2009 06:43 AM
Re: How to view the memory size (RAM size)
dmesg | grep -E -i 'memory|physical'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 08:31 AM
тАО04-06-2009 08:31 AM
Re: How to view the memory size (RAM size)
Better way as suggest above is print_manifest or machinfo from the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 09:38 AM
тАО04-06-2009 09:38 AM
Re: How to view the memory size (RAM size)
Many ways you can find the physical memory details. Fews are,
# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | grep 'Total Configured'
# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | awk '/Total Configured/{print $5}'|head -1
# /opt/ignite/bin/print_manifest |grep i memory
# dmesg |grep -i physical
# grep Phys /var/adm/syslog/syslog.log
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 09:26 PM
тАО04-06-2009 09:26 PM
Re: How to view the memory size (RAM size)
1). Through SAM
#sam> Press "Return" to continue...> Performance Monitors> System Properties> Memory.
2). You can get it through kmeminfo (if kmeminfo is installed).
#cd /tmp
#./kmeminfo
Thnx...Farhan
- Tags:
- kmeminfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 09:33 PM
тАО04-06-2009 09:33 PM
Re: How to view the memory size (RAM size)
I always do this below command to check my physical memory.
# dmesg |grep -i physical
or
machinfo
or
nickel
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 11:25 PM
тАО04-06-2009 11:25 PM
Re: How to view the memory size (RAM size)
# 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2013 12:32 AM
тАО02-18-2013 12:32 AM
Re: How to view the memory size (RAM size)
Hi,
# glance -m
sh: glance: not found.
Not working.
Regards,
Lokman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2013 01:13 AM
тАО02-18-2013 01:13 AM
Re: How to view the memory size (RAM size)
>sh: glance: not found.
You purchase glance separately.
(Try another of the above suggestions, except for dmesg.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2013 02:07 AM
тАО05-29-2013 02:07 AM
Re: How to view the memory size (RAM size)
I manage a number of legacy HP-UX systems from HP-UX 9 to HP-UX 11 and not all have all toos/commands.
Thus I prefer something which works on all flavors.
dmesg does not give the answer if the system was up a long time and the buffer does not hold the boot information anymore. Kernel tools are different on different versions and support tools are often not installed.
Currently I use a combination of dmesg and syslog lookup and check for the Physical memory lines, which gives me a result in most cases.
[[ -d /usr/adm ]] && SYSLOGdir=/usr/adm
[[ -d /var/adm/syslog ]] && SYSLOGdir=/var/adm/syslog
dmesg | cat - $SYSLOGdir/*syslog* \
| grep Physical: \
| sed -e 's/.*ical: *//' -e 's/ .*//' \
| sort -u | awk '{printf( "%d MB\n", $0/1024 )}'