- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Used 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
09-28-2004 09:10 AM
09-28-2004 09:10 AM
How can i know the used memory using commands on HP-UX? i have Glance but i would like to use the command line.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 09:13 AM
09-28-2004 09:13 AM
SolutionThis will tell you the amount of free memory in pages (4 KB by default),
# echo "phys_mem_pages/D" | adb -k /stand/vmunix /dev/kmem
This will tell you the total physical memory installed in the system in pages (4KB by default).
Used Memory = Total - free memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 09:16 AM
09-28-2004 09:16 AM
Re: Used Memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 09:17 AM
09-28-2004 09:17 AM
Re: Used Memory
Get the total physical memory installed on the box. There are quite a few ways.. 'grep Physical /var/adm/syslog/syslog.log' 'echo "phys_mem_pages/D" |adb -k /stand/vmunix /dev/mem' etc.,
Run 'vmstat 5 2' and note the 'free' column and multiply with 4 and you will get free memory in KB.
'Total Memory - Free Memory' will give you used memory.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 09:19 AM
09-28-2004 09:19 AM
Re: Used Memory
Sorry about my post. I didn't really mean to answer an already answered question. My brower waited for quite sometime before it contacted itrc.
You can ignore the message.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 09:22 AM
09-28-2004 09:22 AM