Sponsored Content
Operating Systems AIX Which process was consuming most memory in the Past? Post 302828899 by rbatte1 on Wednesday 3rd of July 2013 12:40:41 PM
Old 07-03-2013
Output from ps is normally good. Try :-
Code:
ps -el|sort -n +9
ps -el|sort -n -k10

Depending on your operating system and version, the sort will probably fail on one of these two. Process id is usually in column 3. If this looks totally useless, try getting the column headers and adjusting the column sorted on:-
Code:
ps -el|head -5


I hope that this helps.

Robin
Liverpool/Blackburn
UK
 

10 More Discussions You Might Find Interesting

1. Programming

Help -fwrite consuming lot of memory !!!

Hi , I am running a C/C++ program on a solaris 5.8 machine. This parituclar application has a module which saves data to a file. The module uses fwrite() function to save data. The fwrite function write about 500 MB of data to a file. The problem which I am facing is, the memory consumtion... (2 Replies)
Discussion started by: ajphaj
2 Replies

2. UNIX for Dummies Questions & Answers

How ti kill a process which is consuming so much time

There is a process which is consuming too much time.. how to find that process and kill it. (3 Replies)
Discussion started by: shreenivas
3 Replies

3. Programming

How system deamons consuming less memory

Dear all, When I write the daemon programs it is consuming high memory and processor time. How can I avoid this? But, the system daemons are not consuming more. How? Can any one explain how the system daemons are handling the memory consumption and processor time. Thanks,... (1 Reply)
Discussion started by: nagalenoj
1 Replies

4. AIX

Process consuming most memory

How can i find the processes that is consuming most memory? I tried TOPAS and SVMON and this didn't gave me the desired result. (1 Reply)
Discussion started by: shabu
1 Replies

5. AIX

Command to find TOP 5 Memory consuming process

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

6. Solaris

Help to trace process consuming more space

Hi all, We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory? Tried working with TOP command. Please let me know if something not clear. Thanks, Deepak (5 Replies)
Discussion started by: naw_deepak
5 Replies

7. UNIX for Advanced & Expert Users

Memory and CPU utilization for past period

Hi All, We have a Linux (RHEL5) server hosting Oracle database. Usually, Memory utilization will by 50 % and CPU utilization will be 20%. In the last three days, volume of load was high and now back to normal. Is it possible to check the Memory (RAM) utilization and CPU utilization in %... (1 Reply)
Discussion started by: user7509
1 Replies

8. AIX

Process ids consuming huge resources ?

Hi All what is the command to check process ids , which are running from long time and which are consuming more cpu? Also how to check, what a particular PID is running what For Ex: i have a pid :3223722 which is running since from long time, if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies

9. Shell Programming and Scripting

Discrepancy in finding the top memory consuming processes

When I run 'top' command,I see the following Memory: 32G real, 12G free, 96G swap free Though it shows as 12G free,I am not able to account for processes that consume the rest 20G. In my understanding some process should be consuming atleast 15-16 G but I am not able to find them. Is... (1 Reply)
Discussion started by: prasperl
1 Replies

10. UNIX for Dummies Questions & Answers

Finding the most memory consuming processes in Linux

Platform: Oracle Linux 6.4 To find the most memory consuming processes, I tried the following 2 methods 1. Method1 # ps aux | head -1 ; ps aux | sort -nk +4 | tail -7 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 95 0.0 0.0 0 0 ? ... (2 Replies)
Discussion started by: kraljic
2 Replies
shmmax(5)							File Formats Manual							 shmmax(5)

NAME
shmmax - maximum size (in bytes) for a System V shared memory segment VALUES
Default Allowed values DESCRIPTION
Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to its address space. Any processes looking to communicate with this process through the shared memory segment, then attach the shared memory segment to their corresponding address spaces as well. Once attached, a process can read from or write to the segment depending on the permissions specified while attaching it. This tunable sets the maximum size for such a segment within the system, and is dynamic as of HP-UX 11i. Who is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect immediately. When Should the Value of This Tunable Be Raised? should be raised if it is below the maximum and user programs are attempting to segments larger than the current value, and receiving an error message. What Are the Side Effects of Raising the Value? The only effect is that user programs can use to get larger segments. When Should the Value of This Tunable Be Lowered? If you wish to enforce behavior on the user's code, limiting the maximum size of System V segments. What Are the Side Effects of Lowering the Value? None. What Other Tunable Values Should Be Changed at the Same Time? and should be considered because enforcing smaller segments may cause the user's code to try to create more segments to accomplish the task. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
shmem(5), shmmni(5), shmseg(5). Tunable Kernel Parameters shmmax(5)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy