nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Linux see ram usage for each process

This is a discussion on Linux see ram usage for each process within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, I want to see detailed usage of RAM in Linux i tried free top vmstat lsof ps pstree ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-09-2009, 09:39 PM
kumarat9pm's Avatar
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 335
Thanks: 12
Thanked 13 Times in 11 Posts
Rep Power: 4
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default Linux see ram usage for each process

Hi all,

I want to see detailed usage of RAM in Linux

i tried
free
top
vmstat
lsof
ps
pstree

but unable to get full/useful details
my requirement is, i want a command when executed it should give detail explanation of a process
this process is using this much ram etc..
I am having some doubt that through top command we can achieve this.. please share your exp. how to get rid of memory hogging process..
please share your usage of other command how to get out of this type of problems..
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote
  #2 (permalink)  
Old 11-10-2009, 09:05 AM
kumarat9pm's Avatar
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 335
Thanks: 12
Thanked 13 Times in 11 Posts
Rep Power: 4
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default any inputs on this?

atleast some script kind of thing to give the details what process is using more ram?
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote
  #3 (permalink)  
Old 11-10-2009, 05:29 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,452
Thanks: 11
Thanked 189 Times in 139 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Use pmap command:
Linux find the memory used by a program / process using pmap command
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
The Following User Says Thank You to nixcraft For This Useful Post:
kumarat9pm (11-10-2009)
  #4 (permalink)  
Old 11-10-2009, 09:28 PM
kumarat9pm's Avatar
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 335
Thanks: 12
Thanked 13 Times in 11 Posts
Rep Power: 4
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default

Thanks for the info Vivek. It solves my problem up to most extent.
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote
  #5 (permalink)  
Old 11-19-2009, 02:15 AM
vamsi's Avatar
Member
User
 
Join Date: Nov 2009
Location: Bengaluru / India
OS: Ubuntu, Debian, CentOS
Posts: 63
Thanks: 58
Thanked 5 Times in 3 Posts
Rep Power: 1
vamsi will become famous soon enough
Default

I am more than happy with top
Reply With Quote
Reply

Tags
free , lsof , memory , pmap , ps command , pstree , redhat ram usage , rhel ram usage , rhel5 ram usage , top


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Limit CPU usage for process Red Hat jaysunn CentOS / RHEL / Fedora 2 10-28-2009 08:26 PM
list path for apache process with great cpu usage cosminnci Shell scripting 4 08-19-2008 03:21 AM
CPU usage Shell script (Monitoring CPU Usage) atulmatkar Shell scripting 2 05-10-2008 11:24 PM
Killing of a process and send a mail if the process doesnot come up within 2 minutes Prince89 Shell scripting 1 02-11-2008 01:39 PM
Interacting with a Linux Process through Scripts manikandakumar Shell scripting 1 08-17-2007 07:49 PM


All times are GMT +5.5. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38