LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-29-2009, 11:07 AM   #1
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Rep: Reputation: 16
how to check memory


hi

how can i check which particular process consumes more memory.

thanks
 
Old 10-29-2009, 11:10 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
take a look at
top
 
Old 10-29-2009, 02:43 PM   #3
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Original Poster
Rep: Reputation: 16
ya i can do it from there but actually i want grep only that services whose utlisation is more...
 
Old 10-29-2009, 03:06 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by abhijeetdutta View Post
ya i can do it from there but actually i want grep only that services whose utlisation is more...
Is more than what???

Pipe top into awk, and print out whatever field you want. Do that in a script to tell you when it's higher than whatever you want.
 
Old 10-29-2009, 04:44 PM   #5
orion.echo
LQ Newbie
 
Registered: Jul 2007
Location: Omaha Nebraska
Distribution: Redhat (Fedora / CentOS) - Slackware - Ubuntu
Posts: 15

Rep: Reputation: 0
I would just execute top and do a shift m (will toggle memory utilization)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory check cccc Linux - Hardware 6 07-13-2009 04:01 PM
[SOLVED] Does ClamAV check memory? jsbjsb001 Linux - Security 1 03-20-2009 03:33 AM
How to check which speed your memory is? itz2000 Linux - Newbie 1 05-17-2008 03:02 AM
How to check Memory chnlinux Linux - Newbie 3 05-14-2008 01:00 AM
How to check virtual memory chnlinux Linux - Newbie 1 05-13-2008 12:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration