AIX runqueue- length and processes


 
Thread Tools Search this Thread
Operating Systems AIX AIX runqueue- length and processes
# 1  
Old 04-28-2012
AIX runqueue- length and processes

AIX5.3:
Can you please let me know how to find out
  • What is the runqueue length
  • What are the processes in the runqueue
I would like to know the information on 5 min intervals. Please let me know if there is a command to do this.
# 2  
Old 04-29-2012
vmstat -I first column is your runqueue
What processes are in the runqueue - well actually all active processes on the system as the runqueue represents both processes waiting for cpu or running on cpu
# 3  
Old 04-29-2012
Quote:
Originally Posted by ucbus
please let me know if there is a command to do this.
Yes, there is. ;-))

Seriously, vmstat provides all the information about runqueues you ever wanted to know. There are several threads dealing with an explanation about this command here, search for "vmstat" and "performance tuning". For instance, this thread might interest you.

The first two columns of "vmstat", marked "r" and "b" are the "run queue" and "blocked queue". Typically the runqueue should be any number greater than zero and the blocked queue should be zero all the times. Rare occurrences of LOW(!) non-zero values (say a "1" every 5 pages of output) are tolerable, but should alert you already - the system is maybe at its max.

Regular non-zero values are a no-go and call for immediate (tuning-) action. Typically the system is memory-bound and therefore swapping. While the swapping takes place the process is blocked, hence the entry in the blocked-queue.

To find out about a running process use ps. Usually it is difficult to track and pin a certain process in the runqueue, though, because the ever-changing content of this queue. You might want to look at topas, this may give you the information you want.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

AIX memory usage by processes

Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance. The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space. The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies

2. AIX

Need to check long running processes on the database server and the os is AIX

Hello, Please help me with a script with which I can check long running processes on the database server and the os is AIX. Best regards, Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies

3. Shell Programming and Scripting

Flat file-make field length equal to header length

Hello Everyone, I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table. Input Data- ------ ------------------------ ---- ----------------- WFI001 Xxxxxx Control Work Item A Number of Records ------ ------------------------... (5 Replies)
Discussion started by: sonali.s.more
5 Replies

4. Windows & DOS: Issues & Discussions

Controlling AIX processes remotely using a NET app on a Windows server?

I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies

5. UNIX for Advanced & Expert Users

AIX: Finding processes attached to shared memory

Is there some way to tell what processes are attached to a shared memory segment? We have a system on which I perform "icps -ma" and there are several segments pending deletion having numerous processes attached to them and I can't tell what processes they are. Neither the creator's pid nor last... (7 Replies)
Discussion started by: DreamWarrior
7 Replies

6. Shell Programming and Scripting

fixed length text file padding issues in AIX

Hi, I have a fixed length text file that needs to be cut into individual files in aix and facing padding issues. If I have multiple blank spaces in the file it is just making it one while cutting the files.. Eg:- $ - blank space filename:file.txt ... (2 Replies)
Discussion started by: techmoris
2 Replies

7. AIX

AIX 5.3 userid password length to 6

Hi All, How can I make the password of only two userid with 6 length while others are using regular policy of 8 or more length. Please help. Thanks. (2 Replies)
Discussion started by: itik
2 Replies

8. UNIX for Advanced & Expert Users

removing hang processes (AIX)

Hi Guys, Just wondering if I have a child process which is basically hanging and I can see that is on sleep or wait mode if I want to remove/terminate this process , the signal has to come from its parent I assume. The reason I'm asking this is because I'm facing a db2 hang situation and we... (3 Replies)
Discussion started by: hariza
3 Replies

9. AIX

Is the Length of User ID for AIX Limit to 8 Characters?

Hi, I'm using AIX version 5.3 currently. I'm trying to create a user id, e.g. andyleong, which the system prompted the length is too long. 1. I would like to know is that the length of user id is limited to maximum 8 characters for AIX. 2. Is it apply to all versions of AIX? If no... (2 Replies)
Discussion started by: meihua_t
2 Replies
Login or Register to Ask a Question