01-24-2013
Thanks for your answer but I was looking at the amount of memory taken by a process and not the % of CPU used by a process.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running.
Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies
2. UNIX for Advanced & Expert Users
in unix when i use top
i get an output like this:
load averages: 0.64, 0.57, 0.53 14:04:42
347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped
CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
3. Shell Programming and Scripting
Hello all
i need in csh to extract only the Memory line from the out put of the top command how can it easily done (1 Reply)
Discussion started by: umen
1 Replies
4. AIX
HI All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies
5. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
6. Shell Programming and Scripting
Hi all,
I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command.
Thanks in advance.
Thanks,
Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies
7. Solaris
Hi Export,
i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS?
Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies
8. Shell Programming and Scripting
in our Oracle DB server, the free RAM is very low. we would like to know which process consumes more RAM
what is the comand I can use ? (1 Reply)
Discussion started by: johnveslin
1 Replies
9. HP-UX
Dear All,
I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it?
Kauser (2 Replies)
Discussion started by: makauser
2 Replies
10. Shell Programming and Scripting
Hi All,
how to kill 5 top memory used process in my hp-ux.
Thanks,
Kki (9 Replies)
Discussion started by: kki
9 Replies
LEARN ABOUT DEBIAN
tau_track_memory_headroom
TAU_TRACK_MEMORY_HEA(3) TAU Instrumentation API TAU_TRACK_MEMORY_HEA(3)
NAME
TAU_TRACK_MEMORY_HEADROOM - Track the headroom (amount of memory for a process to grow) by periodically interrupting the program
SYNOPSIS
C/C++:
TAU_TRACK_MEMORY_HEADROOM(void);
Fortran:
TAU_TRACK_MEMORY_HEADROOM(void);
DESCRIPTION
Tracks the amount of memory available for the process before it runs out of free memory on the heap. This call sets up a signal handler
that is invoked every 10 seconds by an interrupt (this interval may be altered by using the TAU_SET_INTERRUPT_INTERVAL call). Inside the
interrupt handler, TAU evaluates how much memory it can allocate and associates it with the callstack using the TAU context events (See
TAU_REGISTER_CONTEXT_EVENT(3)). The user can vary the size of the callstack by setting the environment variable TAU_CALLPATH_DEPTH (default
is 2). This call is useful on machines like IBM BG/L where no virtual memory (or paging using the swap space) is present. The amount of
heap memory available to the program is limited by the amount of available physical memory. TAU executes a series of malloc calls with a
granularity of 1MB and determines the amount of memory available for the program to grow.
EXAMPLE
C/C++ :
TAU_TRACK_MEMORY_HEADROOM();
Fortran :
call TAU_TRACK_MEMORY_HEADROOM()
SEE ALSO
TAU_TRACK_MEMORY(3), TAU_SET_INTERRUPT_INTERVAL(3), TAU_ENABLE_TRACKING_MEMORY_HEADROOM(3), TAU_DISABLE_TRACKING_MEMORY_HEADROOM(3),
TAU_TRACK_MEMORY_HEADROOM_HERE(3)
08/31/2005 TAU_TRACK_MEMORY_HEA(3)