Memory usage statistic? (topas, nmon)


 
Thread Tools Search this Thread
Operating Systems AIX Memory usage statistic? (topas, nmon)
# 8  
Old 10-09-2003
weee i found it.

topas shows the process id/ application and the memory used.

topas:
app_bg (264688 8.2% PgSp:119.7m user_blah

One of our processes had ~119 used when the alloc error began.

the other processes only need 0 - 2 MB memory.

And with the process Id i found the leaking process of course, now we just need to find the leak Smilie

Lazzar
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Nmon max and avg for cpu and memory

Hi All, Anyone know how to capture the nmon avg and max cpu and memory for one of the AIX server for Monthly Utilization Report purposes ? Thanks. ---------- Post updated at 05:18 AM ---------- Previous update was at 05:07 AM ---------- if possible use shell script to count or sum... (6 Replies)
Discussion started by: ckwan
6 Replies

2. AIX

Problem with nmon, actual CPU usage per process

Hi all, I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process. According to the manual, something like # time nmon -t -C cron -s 5 -c 2 -F outfile real 0m0.98s user 0m0.03s sys 0m0.04s should print out at least the process... (15 Replies)
Discussion started by: zaxxon
15 Replies

3. AIX

How to use topas to display its Memory section alone

Hi, I'm planning to write a script to monitor the memory utilization and so decided to use topas. i'm not familiar with this command Could anyone help me with an idea on how to display the Memory section alone in the topas... :) It will be very helpful if you could specify the command... (2 Replies)
Discussion started by: kaushik_87
2 Replies

4. AIX

topas - computational memory 95% : Any Impact?

Hello Gurus, I am using AIX 5 and on running topas command. I can see the computational memory is 93.3% with Swap Paging memory at 2.2%. Could you please advise if there is any impact by the growth of computational memory? Below is the stat: MEMORY Real,MB 22528 % Comp 93.3 %... (12 Replies)
Discussion started by: panchpan
12 Replies

5. AIX

ORACLE Database running slow on AIX ( nmon / topas )

Hello, How can I know if ORACLE Database is running slow due to Memory or due to processing power ? I have only Oracle Database running on a P4 with 4GB RAM. Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Discussion started by: filosophizer
43 Replies

6. Red Hat

HELP: NMON unable to display all the statistic specified via putty

Hi guys, I got this problem with NMON unable to display all the statistics specified via putty. I believe this is due to libncurses rather than NMON and also the env variable $TERM. Currently, the $TERM is set to "xterm" which should be compatible with NMON display. Is there any ways that... (0 Replies)
Discussion started by: DrivesMeCrazy
0 Replies

7. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

8. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

9. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

10. AIX

nmon vs topas

good morning what is the better solution to examen a P570 ? because i use topas and nmon, and the results are totally different !!! with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!! i take a shot with an intervall of 10s during 10 mn. thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
Login or Register to Ask a Question
mapmalloc(3MALLOC)					Memory Allocation Library Functions					mapmalloc(3MALLOC)

NAME
mapmalloc - memory allocator SYNOPSIS
cc [ flag ... ] file ... -lmapmalloc [ library ... ] #include <stdlib.h> void *malloc(size_t size); void *calloc(size_t nelem, size_t elsize); void free(void * ptr); void *realloc(void *ptr, size_t size); DESCRIPTION
The collection of malloc functions in this library use mmap(2) instead of sbrk(2) for acquiring new heap space. The functions in this library are intended to be used only if necessary, when applications must call sbrk(), but need to call other library routines that might call malloc. The algorithms used by these functions are not sophisticated. There is no reclaiming of memory. The malloc() and free() functions provide a simple general-purpose memory allocation package. The malloc() function returns a pointer to a block of at least size bytes suitably aligned for any use. The argument to free() is a pointer to a block previously allocated by malloc(), calloc() or realloc(). If ptr is a NULL pointer, no action occurs. Undefined results will occur if the space assigned by malloc() is overrun or if some random number is handed to free(). The calloc() function allocates space for an array of nelem elements of size elsize. The space is initialized to zeros. The realloc() function changes the size of the block pointed to by ptr to size bytes and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes. If the new size of the block requires movement of the block, the space for the previous instantiation of the block is freed. If the new size is larger, the contents of the newly allocated portion of the block are unspecified. If ptr is NULL, realloc() behaves like malloc() for the specified size. If size is 0 and ptr is not a null pointer, the space pointed to is freed. Each of the allocation functions returns a pointer to space suitably aligned (after possible pointer coercion) for storage of any type of object. The malloc() and realloc() functions will fail if there is not enough available memory. Entry points for malloc_debug(), mallocmap(), mallopt(), mallinfo(), memalign(), and valloc() are empty routines, and are provided only to protect the user from mixing malloc() functions from different implementations. RETURN VALUES
If there is no available memory, malloc(), realloc(), and calloc() return a null pointer. When realloc() returns NULL, the block pointed to by ptr is left intact. If size, nelem, or elsize is 0, a unique pointer to the arena is returned. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
brk(2), getrlimit(2), mmap(2), realloc(3C), malloc(3MALLOC), attributes(5) SunOS 5.11 20 Feb 2004 mapmalloc(3MALLOC)