10 More Discussions You Might Find Interesting
1. AIX
I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical.
and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization.
wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
2. Red Hat
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am a newbie and would like help to determine the total memory usage by a user eg oracle in Solaris 10 machine.
The user has been assigned a total memory of 20gb .But there are a number of processes under that user.
I would like to know the total memory being utilized from all the... (8 Replies)
Discussion started by: Rossdba
8 Replies
4. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
5. Web Development
Hi,
I have been running into an issue wherein suddenly an apache process eats up lots of memory and system starts swapping. It causes the server to hang due to io-wait. I am able to trace the process/thread which is eating up memory, however, am unable to figure out which webpage is causing it.... (1 Reply)
Discussion started by: vish_indian
1 Replies
6. HP-UX
command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies
7. AIX
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies
8. Shell Programming and Scripting
Hi,
I am creating monitoring scripts in HP unix for that i need CPU utilization and memory utilization in HP unix.
for CPU utilization i am using TOP command
for Memory utilizaion i am not able to use glance command in scripts.
means i am not able to redirect and stop.
apart from... (1 Reply)
Discussion started by: rsivasan
1 Replies
9. Shell Programming and Scripting
Hi,
Is it possible to obtain physical memory and swap memory available in HP-UX server.
I tried using "top" command but i'm not able to grep the memory part exclusively...
Thanks.... (4 Replies)
Discussion started by: EmbedUX
4 Replies
10. AIX
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)
Discussion started by: Negm
1 Replies
MALLOC_TRIM(3) Linux Programmer's Manual MALLOC_TRIM(3)
NAME
malloc_trim - release free memory from the top of the heap
SYNOPSIS
#include <malloc.h>
void malloc_trim(size_t pad);
DESCRIPTION
The malloc_trim() function attempts to release free memory at the top of the heap (by calling sbrk(2) with a suitable argument).
The pad argument specifies the amount of free space to leave untrimmed at the top of the heap. If this argument is 0, only the minimum
amount of memory is maintained at the top of the heap (i.e., one page or less). A nonzero argument can be used to maintain some trailing
space at the top of the heap in order to allow future allocations to be made without having to extend the heap with sbrk(2).
RETURN VALUE
The malloc_trim() function returns 1 if memory was actually released back to the system, or 0 if it was not possible to release any memory.
ERRORS
No errors are defined.
CONFORMING TO
This function is a GNU extension.
NOTES
This function is automatically called by free(3) in certain circumstances; see the discussion of M_TOP_PAD and M_TRIM_THRESHOLD in mal-
lopt(3).
This function cannot release free memory located at places other than the top of the heap.
This function releases only memory in the main arena.
SEE ALSO
sbrk(2), malloc(3), mallopt(3)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2012-03-29 MALLOC_TRIM(3)