- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find memory usage
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
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
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-24-2004 02:27 AM
тАО05-24-2004 02:27 AM
how to find memory usage
how to find out the memory usage in hp-ux, so that i can add more physical memory if the usage is high.
thanks & regards
vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:31 AM
тАО05-24-2004 02:31 AM
Re: how to find memory usage
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:31 AM
тАО05-24-2004 02:31 AM
Re: how to find memory usage
you can you the command top to see the usage of the memory .
also you can check online with glance to see what is the status in realtime , but the best way is to check for a piored of time the memory usage with MWA and perfview .
also i belive that there isnt too much memory , at my home i have 1 g.b and thinking again of buying again more .
also you can check some tip of imporving your memory usage like dbc_max_pct ( from 50 default to 15 )
eran maor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:43 AM
тАО05-24-2004 02:43 AM
Re: how to find memory usage
Check with glance -m. It will give detailed status on memory.
You can also check free mem available with vmstat also.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:52 AM
тАО05-24-2004 02:52 AM
Re: how to find memory usage
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:53 AM
тАО05-24-2004 02:53 AM
Re: how to find memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 02:58 AM
тАО05-24-2004 02:58 AM
Re: how to find memory usage
This will give detailed information.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 03:03 AM
тАО05-24-2004 03:03 AM
Re: how to find memory usage
But as almost everyone else before me has suggested, do not leave your dbc_max_pct and dbc_min_pct kernel parms as default as these will decive you into a false sense of high memory utilization.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 03:18 AM
тАО05-24-2004 03:18 AM
Re: how to find memory usage
regds
vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 03:26 AM
тАО05-24-2004 03:26 AM
Re: how to find memory usage
kmtune -lq dbc_max_pct -lq dbc_min_pct -- To get buffer cache set on your machine. The values are percentage of RAM on your machine.
vmstat 3 5--To get free mem available to suers. The values are in pages. (bufpage = 4096k)
echo free_mem/D|adb -k /stand/vmunix /dev/kmem -- Again to get free mem. (In pages)
You can also get tools like shminfo and kmeminfo to get details on getting memory details about shared mem and kernel memory.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 04:26 AM
тАО05-24-2004 04:26 AM
Re: how to find memory usage
the 'echo free_mem/D|adb -k /stand/vmunix /dev/kmem' command is not working,the output is given below
uboz096:/ > echo free_mem/D|adb -k /stand/vmunix /dev/kmem
symbol not found
uboz096:/ >
the 'vmstat 3 5 'shows virtual memory available to user,is there any way to find out the total usage of memory like how much memory is used by each applications and how much is free without utilities like glance or perfview.
thanks in advance
vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 04:27 PM
тАО07-15-2004 04:27 PM
Re: how to find memory usage
echo freemem/D|adb -k /stand/vmunix /dev/mem
and my output return as:
freemem:
freemem: 570764
This 570764 is the number of free pages; it's 4 pages to a MB. So what I use this calculation format: (570764/1024) * 4 and got 2229MB free.
Let me know whether this help?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 04:59 PM
тАО07-15-2004 04:59 PM
Re: how to find memory usage
We can find the filesystem's usage and free with bdf command. It will give the statistics of files. File and directory memory usage can be known with du command. It will give the amount of memory usage.
We can collect the process oriented memory usage with ps -aexl where SZ parameter will give memory usage details. You can further use top command (SIZE parameter) will give the memory details. process related memory usage can be get with pstat_* commands
IF you have vsar, then it will also used to get the memory details as free and usage in MBs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 05:54 PM
тАО07-15-2004 05:54 PM
Re: how to find memory usage
To find out how much memory you have.
For 11.00 & 11.11
echo 'phys_mem_pages/D'|adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'
For 10.20
echo 'physmem/D'|adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 09:24 PM
тАО07-15-2004 09:24 PM
Re: how to find memory usage
/usr/contrib/Q4/bin/kmeminfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2004 08:19 PM
тАО07-16-2004 08:19 PM
Re: how to find memory usage
I want to know how to interpret memory statistics from the outputs of vmstat,top commands.
Sample vmstat,top outputs are given below.
------------------------------
From the below vmstat output, I would like to know how the available memory can be calculated from it.
suboz030:/ > vmstat
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
0 1 0 9103 30214 60 25 0 0 54 0 0 147 742 40 4 4 92
suboz030:/ >
--------------------------
In the below 'top' output it has given some values for real,virtual,free memory.I would like to know how this is related to physical memory or how these values are varying.
System: suboz030 Sat Jul 17 10:14:15 2004
Load averages: 0.05, 0.15, 0.19
80 processes: 74 sleeping, 6 running
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0.05 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
Memory: 51844K (30424K) real, 57416K (37076K) virtual, 121996K free Page# 1/6
TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
rroot 28 root 152 20 0K 0K run 12:44 1.08 1.08 vxfsd
Regards
Vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2004 09:46 PM
тАО07-16-2004 09:46 PM
Re: how to find memory usage
man vmstat
man top
Should give you the answers
Regards
Steve