- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to see real memory
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
07-20-2001 12:13 AM
07-20-2001 12:13 AM
How to see real memory
but i want to know what command can see the same message as it in sam.
thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 12:40 AM
07-20-2001 12:40 AM
Re: How to see real memory
top might do the trick; gives real, virtual and free memory with "active" memory in paranteses ()
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 12:46 AM
07-20-2001 12:46 AM
Re: How to see real memory
It's also downloaded from the ITRC
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 12:56 AM
07-20-2001 12:56 AM
Re: How to see real memory
Use this command
#swapinfo -M
This will list the real memory.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 01:41 AM
07-20-2001 01:41 AM
Re: How to see real memory
I wouldn't use swapinfo -M because this gives info regarding paging. The best tool is the C program (which we use as well). Also you could use stm ot, on HPUX 11 the command crashconf gives the total amount of pages on the system, which are by default 4KB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 07:40 AM
07-20-2001 07:40 AM
Re: How to see real memory
In SAM, when you select "Performance Monitors" and then "System Properties", you will see different information about the system, including the amount of physical memory. I think SAM uses a C program internally to generate such information.
Besides using a C program, another way to obtain such information from the command line is Glance Adviser.
You can just run:
glance -adviser_only -syntax
where
Your adviser syntax file could have a single line, like:
PRINT gbl_mem_phys
or if you want to get just a bit more fancy, try this:
PRINT ""
PRINT gbl_statdate, " ", gbl_stattime
PRINT "-------------------------------"
PRINT "System Memory: ", gbl_mem_sys
PRINT "Buffer Cache: ", gbl_mem_cache
PRINT "User Memory: ", gbl_mem_user
PRINT "Free Memory: ", gbl_mem_free
PRINT "-------------------------------"
PRINT "Total Physical Memory: ", gbl_mem_phys
If you save this as "adviser.syntax" in your home directory, you can also run:
glance -adviser_only -iterations 1
There are hundreds of glance metrics that you can specify in your adviser syntax file. If you try it, you may like it (assuming, of course, that you have Glance :)
Regards ... Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 08:23 AM
07-20-2001 08:23 AM
Re: How to see real memory
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 08:27 AM
07-20-2001 08:27 AM
Re: How to see real memory
As "root", type:
echo vx_memsize/D | adb -k /stand/vmunix dev/kmem
This will give you the memory size in MB directly:
vx_memsize: 128
HP-UX 11.x:
As "root", type:
echo memory_installed_in_machine/D | adb -k /stand/vmunix /dev/kmem
memory_installed_in_machine: 32768
Divide the resulting number by 256 to get the result in MB,
e.g.: 32768/256=128
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 08:55 AM
07-20-2001 08:55 AM
Re: How to see real memory
/usr/sbin/dmesg | grep Physical
This extracts the memory as determined at boot time.