- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TOP command result analysis
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
тАО08-04-2010 11:27 PM
тАО08-04-2010 11:27 PM
I have 8 GB physical memory and 18 GB SWAP in my HPUX 11.23 Itanium box. But when I check in top command I didn't find 18 GB + 8 GB at all.
Can some genius help me to understand the top command result. I have attached the top command screen shot.
many thanks in advance for your valuable time and suggestion.
Thanks,
Vaibhav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2010 11:37 PM
тАО08-04-2010 11:37 PM
Re: TOP command result analysis
Otherwise top(1) says: Memory Data
Includes virtual and real memory in use (with the amount of memory considered "active" in parentheses) and the amount of free memory.
You can also look at "swapinfo -tam".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 01:49 AM
тАО08-05-2010 01:49 AM
Re: TOP command result analysis
However, one of the vendor's application will stuck at some point of time mentioning insufficient memory. When we contacted them, they are firm that your top command says that there is an issue with memory and system is unable to use full memory.
Any guesses. I have enclosed swapinfo -tam output for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 02:36 AM
тАО08-05-2010 02:36 AM
Re: TOP command result analysis
You don't see your 24Gb of virtual address space possible (not all the 8Gb of RAM is available as virtual address space) simply because the user space processes aren't using that much. There is no indication of a low memory condition here, nor is there any sign that the system isn't using the full memory. (Only that user processes aren't consuming it all at this time, which is very normal - especially since at the time of the screen shot, the load looks very light).
There _could_ be a low virtual address space condition if the swap was reserved via other paths (such as almost all swap being memory swap and almost all of that being kernel consumption, but that's more than a bit unlikely with 4Gb free). Still, the swapinfo output is also needed to establish that there is no virtual memory lack on the system (and your output shows 21.8Gb or so available for reservation, so there certainly is not at this time, anyway).
If/when the application issue happens again (is it reporting a clear error number that you know of? Is it ENOMEM? Is there any indication of what system call it may have been using [malloc? mmap?])? It is certainly possible (in fact likely) that what is really going on here is that they've hit maxdsiz and hence their application rlimit/ulimit on data or stack and there's no resource issue with the system as a whole at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 02:44 AM
тАО08-05-2010 02:44 AM
Re: TOP command result analysis
What is maxdsiz?
kctune | grep maxdsiz
>they are firm that your top command says that there is an issue with memory and system is unable to use full memory.
What were the particular fields in top they didn't like? How much memory does the application need?
>I have enclosed swapinfo -tam output
This says you have 21.8 Gb swap and 6 Gb memory free. If you need much more than 6 Gb, you will start to page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 09:02 PM
тАО08-05-2010 09:02 PM
Re: TOP command result analysis
Thanks for your detailed information. Which indeed is helpful to understand the "top".
I have also attached the error screen shot which has given vendor to create an issue mentioning top result. But now I will talk to them and make them understand as well.
Hello Dennis,
Thanks to you too for your inputs.
I have attached kctune result output for your reference.
Thanks,
Vaibhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 12:42 AM
тАО08-06-2010 12:42 AM
SolutionIt seems the vendor is correct. The error says it wants 7.19 Gb.
>I have attached kctune result output for your reference.
This says the current maxdsize_64bit is 4 Gb.
You need to increase it to 8 Gb:
kctune maxdsiz_64bit="8*0x40000000"
You may need more RAM if your performance is poor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 12:47 AM
тАО08-06-2010 12:47 AM
Re: TOP command result analysis
So as a conclusion first I will tune the kernal and check the performance.
By the way what is kctune will do in terms of system performance.
Regards,
Vaibhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 01:06 AM
тАО08-06-2010 01:06 AM
Re: TOP command result analysis
Nothing directly. It is basically a policeman that stops memory pigs or runaway programs.
By raising the limit, you run a risk of these bad programs bringing the system to its knees.
Of course if you only run this good app, then you don't have to worry, unless it wants lots more than the memory you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2010 11:38 PM
тАО09-15-2010 11:38 PM
Re: TOP command result analysis
I am closing this thread. All the best.
Vaibhav