- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory allocation
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
05-05-2004 12:17 AM
05-05-2004 12:17 AM
Please help me to analyze how mach is system memory of the mashine and how it is distributed:
There are some outputs of the commands:
#top
.....
Memory: 2053468K (1739836K) real, 2558200K (2070888K) virtual, 3580748K free Pa
ge# 1/61
...........
#swapinfo -d
TYPE AVAIL USED FREE USED
dev 2097152 0 2097152 0%
#vmstat -n
VM
memory page
avm free re at pi po
512264 895550 16 4 0 0
thanks for help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:21 AM
05-05-2004 12:21 AM
Re: memory allocation
#swapinfo -t
Kb Kb Kb PCT
TYPE AVAIL USED FREE USED
dev 2097152 0 2097152 0% 0 - 1 /dev/vg00/lvol2
reserve - 2097152 -2097152
memory 6558268 2356364 4201904 36%
total 8655420 4453516 4201904 51%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:28 AM
05-05-2004 12:28 AM
Re: memory allocation
Also there are tools as kmeminfo and shminfo to report detailed memory usages for kernel memory and shrared memory.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:28 AM
05-05-2004 12:28 AM
Re: memory allocation
could you do this
# dmesg|grep Physical
where the first series of number after "Physical:" is your physical memory. if your DBA wants to set SGA to 1GB, try to set kernel parameter, shmmax to at least more than 1GB.
from the vmstat info, the free column which is in pages (1 page about 4kb) if converted to GB is the number of free memory in bytes.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:29 AM
05-05-2004 12:29 AM
SolutionTo see how much physical RAM you have, run this little script:
HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi
MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:54 AM
05-05-2004 12:54 AM
Re: memory allocation
Real Memory:
Active: 1862097.9 KB
Total: 2063139.9 KB
Virtual Memory:
Active: 2267487.3 KB
Total: 2553303.3 KB
Free Memory Pages: 893382 at 4 KB/page
Swap Space:
Avail: 2048 MB
Used: 2048 MB
Why I have so big difference between Phisical memory and Real memory?
Does it mean that I cannot addressing
the rest Phisical memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 12:56 AM
05-05-2004 12:56 AM
Re: memory allocation
And the last message is my final question :))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:42 AM
05-05-2004 01:42 AM
Re: memory allocation
vmstat -P
don't care other outputs (PS. where did you get the 'REAL memory'?)
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:46 AM
05-05-2004 01:46 AM
Re: memory allocation
Try this link for explanations,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068500228
The itrc doc id is A3940339.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:59 AM
05-05-2004 01:59 AM
Re: memory allocation
1. You have 6 GB RAM (Physical Memory)
2. 2 GB device swap configured on lvol2
8 GB is addition of this two.
And in top what you see in Memory Data is:
Includes virtual and real memory in use (with the amount of
memory considered "active" in parentheses) and the amount of
free memory.
See man top for more info.