- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do find out about total RAM on the server
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
01-24-2000 02:58 AM
01-24-2000 02:58 AM
How do find out about total RAM on the server
I was wondering if anyone knows how to find out the total RAM on an HP-UX
machine? I am interested in finding out an output like the "bootinfo -r"
command generates in AIX. "dmesg" is not the output that I am looking for.
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2000 06:00 AM
01-24-2000 06:00 AM
Re: How do find out about total RAM on the server
is not always available, due to the dmesg buffer being a FIFO, so it rolls
around when there are lots of messages being logged.
The one way to obtain this, is to do :
grep Physical /var/adm/syslog/syslog.log
as when the system is booted, this is logged in the syslog.log.
Another way is to run the diagnostics manager, mstm, to go look for this.
Other than that, you may need to run adb on the running kernel, which I do not
generally advise, or write some C code to obtain this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2000 04:53 PM
01-24-2000 04:53 PM
Re: How do find out about total RAM on the server
We use a C program.
See man pstat(2) for description and examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2000 07:52 PM
01-25-2000 07:52 PM
Re: How do find out about total RAM on the server
SAM->Performance Monitors->System Properties,
then tab to Memory.
If there isn't much memory (>512MB), you can use /usr/sam/lbin/getmem .
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2000 05:41 AM
01-26-2000 05:41 AM
Re: How do find out about total RAM on the server
What does getmem do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2000 11:18 PM
01-26-2000 11:18 PM
Re: How do find out about total RAM on the server
Subject: 7.74 How can I determine how much memory there is in my HP-UX system?
Here are three methods to determine the amount of physical memory on your
system (while logged on as superuser):
1. If the diagnostic messages are still in the system buffer since
the last reboot, the following will give the total kbytes:
dmesg | awk '/Physical:/ && /Kbytes/ {print $2}'
2. As of 10.X, the following SAM command will show memory in Mb:
/usr/sam/lbin/getmem
3. It's slow, but the following method will give the total bytes:
wc -c /dev/mem
#EO-FAQ quote
I personally do not know what getmem does exactly, it appears to display in MB
the amount of memory installed. However, I have not seen it work correctly on
systems with memory greater than 512MB. My guess is that SAM uses this command
to find the correct amount of memory like I showed in my earlier post, but with
options that are not documented.
Good Luck!