- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux 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
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
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
тАО11-07-2010 01:07 AM
тАО11-07-2010 01:07 AM
is there a proper way how to calculate a process memory usage ?
thanks,
Reuven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2010 02:43 AM
тАО11-07-2010 02:43 AM
SolutionIf you have glance in your system , you can use it very good tool.
in case of you do not have check this good link:
http://www.met.ca/itrc/index2.php?option=com_content&do_pdf=1&id=38#memory_usage_from
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2010 07:38 AM
тАО11-07-2010 07:38 AM
Re: hpux memory usage
thanks for you reply.I would appriciate if you could attach the document, as I cant get to the page.
thanks,
Reuven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2010 08:24 AM
тАО11-07-2010 08:24 AM
Re: hpux memory usage
http://www.chapelhill.homeip.net/horton/copies/MemoryUsage-HPUX.htm
other link has must be connection problem..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 12:45 AM
тАО11-08-2010 12:45 AM
Re: hpux memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 11:14 PM
тАО11-08-2010 11:14 PM
Re: hpux memory usage
There is hp tool called kmeminfo with which you can view the split memory utilization of each process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 05:57 AM
тАО11-09-2010 05:57 AM
Re: hpux memory usage
syntax: mem.sh <# of processes>
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 10:18 AM
тАО11-09-2010 10:18 AM
Re: hpux memory usage
You can always use common unix tools like top,sar,iostat and vmstat. But if you want to use the HP proprietary tools, you can go ahead using glance or gpm. However, if you are using HPUX 11iv3 and the foundation operating environment, you might not be able to run glance. The best way to learn how to use the command glance is by using the man page and things that were done by sar are very readily done by glance as well.
Regards
Ismail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 11:02 AM
тАО11-09-2010 11:02 AM
Re: hpux memory usage
These unix tools: top,sar,iostat and vmstat, will perform differently depending upon the O/S. However, using the 'ps' command with the -o argument to monitor 'vsz' and 'rsz' seems to be very reliable on solaris, hp-ux, and linux. The only difference between the two is 'vsz' is in kb and 'rsz' is in blocks, so there may be so more accuracy with blocks. Just learn the conversion.
Here is the basic command:
ps -e -o vsz,pid,ppid,comm | sort -rn | more
For HP-UX its:
UNIX95=1 ps -ef -o vsz,pid,ppid,comm | sort -rn | more
Note that the 'UNIX95' temporarily references the X open or XPG4 ps command format which allows you to use the -o options from Berkely UNIX. (* HP-UX defaults to the System 5 / ATT format *)