- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is there a command to get various type of memo...
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
07-04-2009 06:07 PM
07-04-2009 06:07 PM
Is there a command to get various type of memory utilization
In another thread "running 32 bit java on 64 bit HP UNIX", I have pointed out I keep getting memory errors even when my server has 10GB+ free memory as shown using gpm, glance. My maxdsiz is set to 4GB, maxssiz 124M and maxtsiz 100M. Looking at ulimit -a everything else is unlimited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2009 07:28 PM
07-04-2009 07:28 PM
Re: Is there a command to get various type of memory utilization
That would be glance.
Typically you don't care about text and stack. Unless you have thread stack overflows.
>I keep getting memory errors even when my server has 10GB+ free memory
You need to measure this when you have the error, not when the system is quiet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2009 10:46 PM
07-04-2009 10:46 PM
Re: Is there a command to get various type of memory utilization
vmstat 1 5
you can get the Text, Data, Stack, utili
using
glance
or
gpm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2009 11:03 PM
07-04-2009 11:03 PM
Re: Is there a command to get various type of memory utilization
glance or gpm ( gui )
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2009 11:52 PM
07-04-2009 11:52 PM
Re: Is there a command to get various type of memory utilization
Glance
or
You can download procsize utility to get the memory usage of each process based on TEXT,DATA,STACK,SHARED MEMORY & MEMORY MAPPED FILES.
Example
----------
# ./procsize -fnc | more
pid Comm UAREA TEXT DATA STACK SHMEM IO MMAP Total
2916 getty v 4 5 6 4 0 0 349 369
2287 prm3d v 68 6 671 513 0 0 37212 38471
Download Information:-
--------------------
procsize is available for download here:
System: hprc.external.hp.com (192.170.19.51)
Login: eh
Password: spear9
ftp://eh:spear9@hprc.external.hp.com/procsize.README.txt
ftp://eh:spear9@hprc.external.hp.com/procsize.sh
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 12:01 AM
07-05-2009 12:01 AM
Re: Is there a command to get various type of memory utilization
NOTE: numbers in the output of procsize are the number of 4K pages. So, mulitply by 4096 to get a byte count.
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 06:13 AM
07-05-2009 06:13 AM
Re: Is there a command to get various type of memory utilization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 06:23 AM
07-05-2009 06:23 AM
Re: Is there a command to get various type of memory utilization
For some reaosn ftp fails,, i.e., when I entre login and password, I get a message login incorrect,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 07:37 PM
07-05-2009 07:37 PM
Re: Is there a command to get various type of memory utilization
you can use vmstat command or there is tool kmeminfo through which you can capture the mem usage.
thanks
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 09:13 PM
07-05-2009 09:13 PM
Re: Is there a command to get various type of memory utilization
You need to look at the memory region details for a specific process. You will have to add up a bunch of numbers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 10:26 PM
07-05-2009 10:26 PM
Re: Is there a command to get various type of memory utilization
You can use HP tool kmeminfo, The latest version is available
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1246861470446+28353475&threadId=1048211
But before you run this make sure this is compatible with your OS version, what is your OS version
Thanks
Jitesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2009 10:56 PM
07-05-2009 10:56 PM
Re: Is there a command to get various type of memory utilization
I have uploaded procsize gzipped image .
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2009 02:36 AM
07-06-2009 02:36 AM
Re: Is there a command to get various type of memory utilization
There are many, many sources of memory information.
Here is one based on the process table.
http://www.hpux.ws/?p=8
The memory leak detector.
Version two is under construction this week.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com