Memory used by a process


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Memory used by a process
# 1  
Old 08-18-2005
Memory used by a process

Hello all

'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a parameter ...

Thanks...
# 2  
Old 08-18-2005
top allows sorting my memory usage. hit 'h' when in top for more info. KDE has a nice GUI 'task manager' for such things, and I'm sure gnome and a few others do too; check your documentation.
# 3  
Old 08-18-2005
Memory used by a process

Thanks ...This is what I saw when I pressed help from top

^L - redraw screen
q - quit
h or ? - help; show this text
d - change number of displays to show
e - list errors generated by last "kill" or "renice" command
i - toggle the displaying of idle processes
I - same as 'i'
k - kill processes; send a signal to a list of processes
n or # - change number of processes to display
o - specify sort order (size, res, cpu, time)
r - renice a process
s - change number of seconds to delay between updates
u - display processes for only one user (+ selects all users)


so now I quit from top and entered the following command

top o size ...and this is what I got

load averages: 0.04, 0.07, 0.09 18:20:21
79 processes: 78 sleeping, 1 on cpu
CPU states: % idle, % user, % kernel, % iowait, % swap
Memory: 16G real, 9560M free, 5255M swap in use, 23G swap free

then I tried

top o res .. and I got

load averages: 0.03, 0.05, 0.08 18:21:59
79 processes: 78 sleeping, 1 on cpu
CPU states: % idle, % user, % kernel, % iowait, % swap
Memory: 16G real, 9560M free, 5255M swap in use, 23G swap free

This output does not help ...Am I missing anything here ..

I'm on SunOS5.9 ...Is there any third party tool , I can get ...

Thanks for your time ...
# 4  
Old 08-18-2005
Memory used by a process

Sorry ... I figured it out ...

top --> o--->res gives me what I was looking for ...

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

3. UNIX for Dummies Questions & Answers

see the entire memory of a process

How to see the entire memory of a process in hex? (1 Reply)
Discussion started by: vistastar
1 Replies

4. Filesystems, Disks and Memory

Memory types of process

Hi, I often hear about different types of memory statistics related to a process. e.g. resident memory, virtual memory and native memory. Can anybody please explain whats exact difference between each of them? Thanks, Pradip (0 Replies)
Discussion started by: Pradip
0 Replies

5. UNIX for Dummies Questions & Answers

Monitor Memory of a process

Hi, I need to monitor the memory usage of a particular process continuously. As of now I am using the following command: ps -fu <user name> -o pid,comm,vsz | grep <process_name> | grep -v grep The output of this command gives me what i need except i want the output to keep getting updated... (3 Replies)
Discussion started by: archana485
3 Replies

6. 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

7. Shell Programming and Scripting

Memory usage of a process

hi all, i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM. dose anybody have a sample script or an idea how i can make it ? PROCCESSES="snmpd sendmail" for myVar in $PROCCESSES do ... (7 Replies)
Discussion started by: tafil
7 Replies

8. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

9. Shell Programming and Scripting

Memory in Use by a process

How do I find the amount of memory being consumed by a particular process on AIX 5L.. Thank you (0 Replies)
Discussion started by: khopdi
0 Replies

10. UNIX for Dummies Questions & Answers

Memory used by a particular process

how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
Login or Register to Ask a Question