- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory management
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
05-03-2001 07:51 AM
05-03-2001 07:51 AM
Memory management
Thanks!
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:56 AM
05-03-2001 07:56 AM
Re: Memory management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:58 AM
05-03-2001 07:58 AM
Re: Memory management
top
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 08:02 AM
05-03-2001 08:02 AM
Re: Memory management
is:
ps -el | grep -v "PID" | sort -r -k10,10
This will sort the process list in reverse order of SZ.
You probably also should look at shared memory via ipcs -ma.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 08:06 AM
05-03-2001 08:06 AM
Re: Memory management
Several things come to mind:
Probably the easiest is this script from Bill Hassell:
# UNIX95= ps -e -o "user,vsz,pid,ppid,arg" | sort -rnk2 | more
'glance' and 'top' are very useful tools, too.
'ipcs' displays information in short format for the message queues, shared memory segments, and semaphores that are currently active in the system.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 08:10 AM
05-03-2001 08:10 AM
Re: Memory management
with glance you can select a individual process and obtain a detailed report of the diferents kinds of memory it uses (text, data, stack, shmem).
Other tool that report individual use of memory is top and "ps -l"(in physical pages) but are less detailed and even can give a wrong measure.
Best regards
Juan Gonzalez
Best regard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 11:30 AM
05-03-2001 11:30 AM
Re: Memory management
If you have a recent version of Glance, try this:
glance -adviser_only -syntax /opt/perf/examples/adviser/proc_mem_leak
Mladen