Finding process taking up resources


 
Thread Tools Search this Thread
Operating Systems AIX Finding process taking up resources
# 1  
Old 07-24-2008
Finding process taking up resources

I'm assuming that using the PS command would tell me about processes running. But how can I target a process that is taking up too many resources, and slowing down the system. Even an orphan process.
# 2  
Old 07-24-2008
Not sure what you mean by "target a process that is taking up too many resources".

To see processes and the resources they are using try nmon or top. Nmon is an add-on package, if you don't have it google it and you should be able to find a download for it.

If you find a process that you want to get rid of use the kill command to kill one process or pkill to kill a group of similar processes (i.e. all your ftp processes - pkill ftp).

Of course, this is just pointing you in the right direction. I'll leave it up to you to research the details and ask any specific questions you run into.
# 3  
Old 07-24-2008
There is something I found out today call topas. Main thing I noticed is that it tells you what user/process is taking up most CPU% as it seems to be sorting in descending CPU% order. I'm going to assume this is what you meant by top. Seems pretty useful. Any good tutorials on topas. Is this a good admin tool to use?
# 4  
Old 07-25-2008
Topas is very good, yes, and since AIX 5.x it is automatically installed iirc.
Also a simple vmstat can show a lot of stuff at 1st glance.
As rhfrommn said, nmon is very good too and has tools to make Excel-Sheets or graph charts etc.

To interpret such data you have to read about performance tuning as in several tuning guides on the web or the IBM Red Books.
I also like the publications of Jaqui Lynch you can find easily on the web, as this here on her webpage: http://www.circle4.com/papers/pseries-a26-aug06.pdf
Also her initial tuning recommendation is good too.

But don't look at tuning like you have some set levers that you pull and buttons you push and all get's better. There are sometimes big differences in how machines are getting used and often AIX can be tuned as well as possible and the application(s) still "spits in the soup", because it needs tuning accordingly.

Overall, experience is of course very important too, but there is a point where you have to start Smilie And where people work, problems can occure, that's natural and so absolut normal... Oh, I got philiosphic lol Smilie
# 5  
Old 07-25-2008
Call me old-fashioned, but there is no need of an external tool. The OS already provides all the necessary information. Use "ps -Alo vsz" to get a list of the memory segments used by the processes. Add more options to the "-o" switch to get more information about the processes, see the man page of "ps" for details. A simple "sort -rn" will sort this list on memory usage in descending order.

I hope this helps.

bakunin
# 6  
Old 07-27-2008
Quote:
Originally Posted by NycUnxer
There is something I found out today call topas. Main thing I noticed is that it tells you what user/process is taking up most CPU% as it seems to be sorting in descending CPU% order. I'm going to assume this is what you meant by top. Seems pretty useful. Any good tutorials on topas. Is this a good admin tool to use?
Oops, sorry. That's the Solaris guy in me leaking through. Top is the similar command on Solaris, but you're right, on AIX it is topas.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Process running time by taking user input

Need help in scripting . Below is the situation and need your inputs Checking all the processes, scripts running time based on user input time . Below Example ps -aef -o user,pid,etime,stime,args| grep sleep <user> 28995 01:24 14:14:39 sleep 120 <user> 29385 00:52 14:15:10... (8 Replies)
Discussion started by: ajayram_arya
8 Replies

2. HP-UX

PID Process Resources

Hi all. I need to get detailed information about a PID. I have an app called Reflection X and it shows many things like Total CPU percent, User CPU (Nice) percent, FS Reads, etc. My question is how can I get all that information on console? Is there an archive with the detailed... (9 Replies)
Discussion started by: the0m3n
9 Replies

3. AIX

AIX resources consumption group by process pattern

Hi, I have AIX processes something as below, how to know the resources consumption group by process pattern "price" and "devdb"? eg: CPU RAM WIO price 20% 250M 5% devdb 30% 1000M 8% oracle 2990122 1 0 10:33:39 - 0:00... (1 Reply)
Discussion started by: victorcheung
1 Replies

4. Shell Programming and Scripting

Finding process which ended another process

Hello, The scenario is as follows, I have a background process running initially for which i know the PID on machine1. I use ssh from machine 2 to execute a script in machine 1. For some reason the back ground process is terminated. I would like to know which process caused the... (6 Replies)
Discussion started by: prasbala
6 Replies

5. Ubuntu

Xorg is taking System Resources.

Hi All, I am facing System Speed problem.i saw in top command Xorg process was taking most of the time 20% of CPU and Memory.How to make it normal. Currently i am using AMD Athlon 64 HT technology processor(Socket 939) 512 DDR1 RAM Nvidia 5200 GeForce 128 MB Graphic card. i need help in... (2 Replies)
Discussion started by: arvindk.monu
2 Replies

6. AIX

Process ids consuming huge resources ?

Hi All what is the command to check process ids , which are running from long time and which are consuming more cpu? Also how to check, what a particular PID is running what For Ex: i have a pid :3223722 which is running since from long time, if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies

7. Shell Programming and Scripting

Finding the process id of the process using the ports

Hi Any idea how to get the process id of the process using the ports lsof -i :portnumber does not work in my machine. I am on sun Solaris SPARC. Any suggestion is highly appreciated (1 Reply)
Discussion started by: kinny
1 Replies

8. Red Hat

login process taking a long time

I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look. Here's the scenario... Linux Red Hat ES 4 update 5 regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies

9. AIX

How to list the resources used for each process

Hi Expert, Can anyone tell what command can list the resources used for each process in AIX, including the following columns: Process ID, Program Name, Resources used(CPU,RAM,SWAP),Start Time Thanks!! Victor Cheung (3 Replies)
Discussion started by: victorcheung
3 Replies
Login or Register to Ask a Question