- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitor 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
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
10-27-2003 02:09 AM
10-27-2003 02:09 AM
Monitor Memory Usage
This server is at the end of it's lifetime and will be upgraded soon, however I would like to know how I can use monitoring tools, (Glance) to tell me how much memory is being used by specific processes.
Thank you ! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 02:27 AM
10-27-2003 02:27 AM
Re: Monitor Memory Usage
Start glance and type "?" to see more help about the usage of the product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 02:46 AM
10-27-2003 02:46 AM
Re: Monitor Memory Usage
Hi
you can use the following tools .
top
glance -m
perfview
see memory management white paper from
http://docs/hp.com for details .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2003 06:12 PM
10-28-2003 06:12 PM
Re: Monitor Memory Usage
ps -lf -u
Total is in bytes.
If you have oracle processes running under user oracle, just fill in the user oracle in the above command line.
Also ipcs will give you an idea of the total amount of shared memory is used by u user id.
ipcs -am | grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2003 06:15 PM
10-28-2003 06:15 PM
Re: Monitor Memory Usage
echo "freemem/D" | adb -k /stand/vmunix
vmstat 5 5
(Look for free pages column)
glance -M
(Check process you want.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2003 06:26 PM
10-28-2003 06:26 PM
Re: Monitor Memory Usage
command:
getconf _SC_PAGE_SIZE
4096
Will return the value, default will be 4k so the the Total*4K will give the total in bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2003 01:35 AM
10-29-2003 01:35 AM
Re: Monitor Memory Usage
UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | head -20
HOWEVER, it very likely that the databases are NOT running out of local memory (because swapspace takes care of this - see the command swapinfo -tm), but are 32bit programs that are badly fragmenting the relatively small 32bit shared memory area. To see the g\fragmentation (and all the other stuff in shared memory, get a copy of shminfo from ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/
The solution is to use memory windows. Also look at the white papers on memory and process management found in /usr/share/doc.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2003 02:48 AM
10-29-2003 02:48 AM
Re: Monitor Memory Usage
If you ahve a C compiler you can run a small program which I have got from the firums itself , I ahve attached the same . The output would be as :
Memory Stat total used avail %used
physical 4096.0 3234.0 862.0 79%
active virtual 1128.8 876.9 251.9 78%
active real 1169.8 732.3 437.5 63%
memory swap 3141.0 1016.0 2125.0 32%
device swap 8048.0 2133.9 5914.1 27%
Please compile using cc file name and you are good to go , this will give the sanpshot at that moment.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2003 03:10 AM
10-29-2003 03:10 AM
Re: Monitor Memory Usage
CHeck the memory allocation ipcs -bm | grep oracle
Is this a test server ?
You could probably reduce bufferpool.
You can tune the sahred pool too.
cf attachment
Regards,
Jean-Luc