Solved

Process monitoring

Posted on 2002-07-15
12
190 Views
Last Modified: 2013-12-27
How to find out what process is eating the most memory in Command line. Any good resources(Web link)available for system resource monitroing.

thnx in advance
0
Comment
Question by:arvind
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +3
12 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 7156460
Use the following command:
   /usr/ucb/ps -uax | head -10

   this will gave you the top 10 process which eating your
CPU and memory.

  or you can download "top" (top-3.5beta12) from:
http://sunfreeware.com/

  it is free ! after install it, do a "man top" to find out the details about it.
0
 
LVL 5

Expert Comment

by:paulqna
ID: 7166613
Or you can use the (always default installed) prstat (Solaris 8) Almost the same as the legendary "top"...
0
 
LVL 15

Expert Comment

by:samri
ID: 7168928
arvind,

or you could grab yourself a copy of Webmin from http://www.webmin.com/webmin/

It has a module to view running process on the machine.  You would need to have perl installed on the machine though.

cheers.
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 1

Expert Comment

by:bushmannt
ID: 7180621
i like atop, it gives you a lot more info, i'm not sure if it's solaris friendly though.  

ftp://ftp.atcomputing.nl/pub/tools/linux
0
 

Expert Comment

by:Jgould
ID: 7194442
Hi Arvind,

Could you please post a comment on why you graded the comment a B?

i guess you read this one also
http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp

Since you're an active expert on EE yourself, so you probably  want to know why users grade you a B or C when they do

Thanks

**JGould-EE Moderator**
0
 
LVL 15

Expert Comment

by:samri
ID: 7195758
Jgould,

I thought only C or less would required an explanation!

Anyhow, the solution presented by yuzh is excellent; unless Arvind has special requirement that TOP does not provide -- yes explanation would be great.

cheers.
0
 
LVL 5

Author Comment

by:arvind
ID: 7199274
Hi Jgould, As your wish.

In linux world top is the best and I'd working on last 4 years. I don't know much(so called sysadmin) about solaris(Doing good on solaris becoz of I' know linux.)yuzh given same match with top. If somebody gave me perfect couting like how much ram(1.23MB)and CPU(2.3 %) I'll give u grade A or the grate shell script which will mail me on the right time when apps eating up memory....

If you want any clarification ask I'll feel glad -- As in EE have the real grate Gurus..
0
 

Expert Comment

by:Jgould
ID: 7200923
thanks for clarifying, still have the feeling that the answer matched the question

you asked for the process that ate up most memory, or any links/websites for tools to monitor this

that is what yuzh gave you in his comment so i change the grade to A

**JGould-EE Moderator**
0
 
LVL 5

Author Comment

by:arvind
ID: 7227929
This is not good work. that means EE Moderator can change the points and grade. I think I need to inform all the experts regardin this.....
0
 
LVL 5

Author Comment

by:arvind
ID: 7227932
JGould-EE Moderator do u belong to windows world???????
0
 
LVL 15

Expert Comment

by:samri
ID: 7228105
arvind,
Yes the mods can change grade and pts (well to my knowledge)  In most cases, it does help in a situation where the asker totally abandon the question.

I used to dispute grades before, and sometimes get dragged over a few weeks and involved a few people.  Grades does not affect the question pts distributions, however, it does affect members reputation.  And the most - it's a token of appreciation.

I would believe that the solution should be an A grade (worst is B++).  Well, there's nothing wrong with B, except that it's best to give feedback so that the experts could offer additional explanation.

cheers.

/give Jgould a break will ya :)
0
 

Expert Comment

by:Jgould
ID: 7230223
arvind, i don't walk away from this discussion as you got a valid point and you fairly enough explain the why of the grade

but if you want more info to give an A ask before accepting the answer, then the user who provided the comment that you accepted can decide if (s)he is up to the task of coming up with more info

a discussion on grades is going on here
http://www.experts-exchange.com/Community_Support/CleanUp/Q_20331382.html

thanks
JGould-EE Moderator

0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question