Sponsored Content
Operating Systems AIX Question on r-queue from vmstat out Post 302944778 by aixusrsys on Thursday 21st of May 2015 07:15:38 PM
Old 05-21-2015
Question on r-queue from vmstat out

On our prod system we found sometime runqueue goes back to 0 as below.
Whereas on test server even with very very less work the r-queue never dropped to 0. Under what conditions r-queue drops to 0? Does it mean something unusual?

EG:
Code:
kthr    memory              page              faults        cpu       time  
----- ----------- ------------------------ ------------ ----------- --------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa hr mi se
34  1 13835500 10722093   0   0   0   0    0   0 28363 2161527 1238371 32 13 54  1 14:32:32
 0  0 13835499 10724861   0   0   0   0    0   0 29293 2193173 1270468 32 13 54  1 14:32:33
46  1 13835579 10722439   0   0   0   0    0   0 35177 2227830 1281512 32 14 52  1 14:32:34
51  1 13839891 10715264   0   0   0   0    0   0 36033 2197365 1260147 32 14 53  1 14:32:35
39  0 13836019 10704067   0   0   0   0    0   0 26299 2099856 1193925 33 12 53  1 14:32:44
52  0 13837041 10701105   0   0   0   0    0   0 27404 2111910 1214185 33 13 53  1 14:32:45
52  0 13835500 10700436   0   0   0   0    0   0 28626 2115914 1201534 33 13 53  1 14:32:46
 0  0 13835500 10698285   0   0   0   0    0   0 33106 2004892 1146048 33 13 53  1 14:32:47
38  0 13835500 10696398   0   0   0   0    0   0 32200 2061235 1191873 32 13 53  1 14:32:48
68  0 13840540 10689303   0   0   0   0    0   0 35244 2049575 1180571 31 13 54  2 14:32:49


Last edited by Don Cragun; 05-21-2015 at 08:38 PM.. Reason: Add CODE tags.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vmstat question

Hello all, I have the folowing question: I have an E450 with Solaris 2.6 running in a cluster environment. The primary node runs Oracle 8.1.5. My problem is: every time the Oracle Database is shutdown, the "w"colum in vmstat command jumps to "30". In man page for vmstat command, the "w" colum... (1 Reply)
Discussion started by: htsubamoto
1 Replies

2. Programming

a message queue question..

Hi there: Thanks first. When I use a message queue amony severl processes, will I have to synchronize the queue? I don't think I would have to because a message queue is implemented in a link listed. Correct me If I am wrong... (0 Replies)
Discussion started by: yanhu
0 Replies

3. UNIX for Dummies Questions & Answers

vmstat

When I exeute vmstat (e.g. vmstat 30 2), in some machines I get some wierd result as the first line. like: -117% or 208% for CPU idle percentage. But the second line is alright. Could someone explain this please. Thanks ! Chaadana (4 Replies)
Discussion started by: chaandana
4 Replies

4. UNIX for Dummies Questions & Answers

vmstat

Hi I wanted to collect data by using vmstat -I 60 >xxxx.txt & using my own account It was stopped by it self after 2 hours try again same result We want to collect day date by succession how to collect data using vmstat for day Thank you (2 Replies)
Discussion started by: Syed_45
2 Replies

5. HP-UX

vmstat question

if I have a two CPU when I run vmstat command to check cpu usage it only one row procs memory page faults cpu r b w avm free re at pi po fr de sr in sy cs us sy id 1 ... (1 Reply)
Discussion started by: alert0919
1 Replies

6. Shell Programming and Scripting

vmstat

Hi I need to write a script to display VMSTAT every 5 seconds and I just need the memory columns - swap free re and just the numbers and the headers arent required. For example bash-3.00$ vmstat 5| awk '{print $4" "$5" "$6}' disk faults cpu ------ This header isnt required swap... (3 Replies)
Discussion started by: kapilk
3 Replies

7. Solaris

Simple question about vmstat

Hi friends, I have confusion about VMSTAT command. 1. When I execute "vmstat" command without any interval then I got something like following output. vmstat procs memory page disk faults cpu r b w swap free re mf pi po fr de sr m1 m1 m1... (13 Replies)
Discussion started by: rahul_switch
13 Replies

8. HP-UX

glance global priority queue question

Hello; I am collecting global priority queue data from the following script: /opt/perf/bin/glance -j2 -iterations 10 -adviser_only -syntax /home/dsljseo/glance.syntax cat glance.syntax print "global priority queue", gbl_pri_queue The typical output: global priority... (1 Reply)
Discussion started by: delphys
1 Replies

9. UNIX for Dummies Questions & Answers

Red Hat Linux question on top and vmstat outputs

RHEL 5.4 Our Linux machine seemed to be running slow. So, I ran the top and vmstat commands. Question1. I can see the process 11517 consuming 100% CPU . But that just means that this process totally utilizes one of the cores in a mult-core CPU. Right ? This machine apparently has two... (2 Replies)
Discussion started by: kraljic
2 Replies

10. Linux

Vmstat

I m checking idle time using vmstat, below are the results var=$(ssh wmtmgr@$hostname vmstat | tail -1 | awk '{print $15}') 89 and now im subtracting 89 with 100 & im getting expected results expr 100 - $var 11 Now How can I get the result 11 in one line code? (4 Replies)
Discussion started by: sam@sam
4 Replies
canput(9r)																canput(9r)

NAME
canput - STREAMS: Tests for room in a message queue SYNOPSIS
#include <sys/stream.h> int canput( queue_t *message_queue ); ARGUMENTS
Specifies a pointer to the message queue. The typedef queue_t is an alternate name for struct queue_entry *. DESCRIPTION
The canput interface searches through the stream (starting at the message queue identified by the message_queue argument) until it finds a queue that contains a service interface where the message can be enqueued or until it reaches the end of the stream. If canput finds a service interface in a queue, it tests the queue to determine if there is space in the queue to accommodate a message. If the queue is full, canput sets the q_flag member of the queue_entry structure pointer (the message queue) to the constant QWANTW to back-enable the caller's service interface. NOTES
You are responsible for both testing a queue with canput and not placing a message on the queue if canput fails. RETURN VALUES
The canput interface returns a value of 1 if the message queue is not full. It returns the value zero(0) if the message queue is full. SEE ALSO
Kernel Interfaces: bcanput(9r), putbq(9r), putnext(9r) Programmer's Guide: STREAMS canput(9r)
All times are GMT -4. The time now is 10:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy