Memory utilization issue

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Memory utilization issue
# 1  
Old 02-11-2013
You can use 'ps -le' and sort on the SZ column to see big VM procs. Sort is now built in. You may have to specify the columns (-o) to see rss which is ram used, and sort on that. Sorts are now built into newer ps versions.
Code:
$ ps -le|(line;sort -nr +9 -10)|head
  F S        UID   PID  PPID  C PRI NI             ADDR   SZ            WCHAN TTY       TIME COMD
  1 S      50453  6739     1  0 155 20         e7201400 241737           e843b4 ?        1336:16 TMUSREVT
  1 R          0  2940  2757  0 152 20         a4d0c800 144262                - ?        250150:38 mhragent
  1 S      22049  6852     1  0 168 20        160d80b00 43720        138032980 ?        259:21 dequeueClientX
  1 S      22049  6851     1  0 168 20        1558c1700 43720         e54ec200 ?        258:38 dequeueClientX
  1 S      22049  6860     1  1 168 20        14b001a00 43716        172cc3a80 ?        261:35 dequeueClientX
  1 S      22049  6859     1  0 168 20         dab08d00 43716        11b204a40 ?        259:56 dequeueClientX
  1 S      22049  6858     1  0 168 20         b5b47500 43716        14ba4f780 ?        262:21 dequeueClientX
  1 S      22049  6857     1  1 168 20         d9049c00 43716         ab7fd380 ?        261:19 dequeueClientX
  1 S      22049  6856     1  0 168 20         a46e6900 43716        12bbc3180 ?        259:59 dequeueClientX
$

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Need help on memory utilization.

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

CPU Utilization and Memory Utilization of Services and Applications

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

User memory utilization

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

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

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

Apache memory utilization issue

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

memory utilization

command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies

7. AIX

Memory Utilization

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

Memory utilization in HP unix

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

Memory Utilization

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

Memory Utilization

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
Login or Register to Ask a Question
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)