- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to view size of Ram by command line???
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
Forums
Discussions
Discussions
Discussions
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
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
06-24-2007 09:14 PM
06-24-2007 09:14 PM
Now, I have a rp3440, running HP-UX 11i. I want to check size of Ram (physical size of RAM)on it (I try it witch vmstat command but result is not physical size of RAM).
plz help me!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:17 PM
06-24-2007 09:17 PM
Re: how to view size of Ram by command line???
If you have ignite check for print_manifest.
/opt/ignite/bin/print_manifest
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:21 PM
06-24-2007 09:21 PM
Re: how to view size of Ram by command line???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:25 PM
06-24-2007 09:25 PM
SolutionSay thanks with hp points ;)
http://forums.itrc.hp.com/service/forums/bizsupport/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:54 PM
06-24-2007 09:54 PM
Re: how to view size of Ram by command line???
Say thanks with points
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 10:02 PM
06-24-2007 10:02 PM
Re: how to view size of Ram by command line???
echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
will help you.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2007 07:57 PM
06-25-2007 07:57 PM
Re: how to view size of Ram by command line???
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
06-25-2007 08:59 PM
06-25-2007 08:59 PM
Re: how to view size of Ram by command line???
dmesg |grep -i physical
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2007 10:21 PM
06-25-2007 10:21 PM
Re: how to view size of Ram by command line???
dmesg |grep -i physical
by kk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 06:11 PM
06-26-2007 06:11 PM
Re: how to view size of Ram by command line???
Try
echo off
to yourself - repeating other posts is not helpful at all :-(
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 10:05 PM
06-26-2007 10:05 PM
Re: how to view size of Ram by command line???
dmesg | grep -i phy
or just go to this location only:
cat /var/opt/ignite/local/manifest/manifest.info | more
on this location you'll find the size of RAM.
Lokesh Nagpal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 10:50 PM
06-26-2007 10:50 PM
Re: how to view size of Ram by command line???
The problem with dmesg(1m) is that the buffer may have been overwritten. (And you have to be root.)
>cat .../manifest/manifest.info | more
There is no real reason to use both cat(1) and more(1) in the same pipeline. more(1) will work perfectly well on a file. Unless you enjoy making more(1) sweat because it is working on a pipe? ;-)