Solved

Process monitoring

Posted on 2002-07-15
12
184 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
  • 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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

706 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now