- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory check
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
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-30-2003 06:28 PM
07-30-2003 06:28 PM
How can i check what is the physical memory of my HP9000 system. OS is 11i
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:32 PM
07-30-2003 06:32 PM
Re: Memory check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:34 PM
07-30-2003 06:34 PM
Re: Memory check
echo "selclass qualifier memory;info;wait;infolog" | cstm
or
echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem
Multiply the output by 4 to get the number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:38 PM
07-30-2003 06:38 PM
Re: Memory check
I have 6 server. In 4 of them i can see the memory using dmesg |grep -i physical but with two rp8400 it shows nothing. There are a lot of other message there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:39 PM
07-30-2003 06:39 PM
Re: Memory check
You can only get it from 'dmesg' if it is still in the message buffer. You can of course flush the dmesg buffer and place it in the /var/adm/syslog/syslog.log anyway.
The amount of memory can be found in the syslog.log from the system boot if it (syslog.log) hasn't been flattened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:45 PM
07-30-2003 06:45 PM
Re: Memory check
#include
#include
main()
{
struct pst_static pst1;
struct pst_dynamic pst2;
if (pstat_getstatic(&pst1, sizeof(pst1), (size_t)1, 0) != -1)
printf( "Physical Memory is %ld MB\n", pst1.physical_memory * 4 / 1024 );
else
perror("pstat_getstatic");
}
Above C code can get your physical mem, you may take a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:54 PM
07-30-2003 06:54 PM
Re: Memory check
One more way
run
/usr/sam/lbin/getmem
That will tell you memory in MB
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:57 PM
07-30-2003 06:57 PM
Re: Memory check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 07:01 PM
07-30-2003 07:01 PM
Re: Memory check
# grep -i "physical page size" /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 12:04 AM
08-01-2003 12:04 AM
Re: Memory check
Try swapinfo -m
Then you see both physical and swap.
regards
Anders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 12:48 AM
08-01-2003 12:48 AM
Re: Memory check
I think "swapinfo -m" show not exactly the physical memory!
The Ignite-UX tool "print_manifest" work fine!
#/opt/ignite/bin/print_manifest
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 01:09 AM
08-01-2003 01:09 AM
Re: Memory check
Run this:
echo "phys_mem_pages/D" | adb64 /stand/vmunix /dev/kmem | grep "phys_mem_pages: *." | awk '{printf "%.0f MB\n",$2/256}'
Caesar