Sponsored Content
Operating Systems AIX Vmstat fault section all values are 0 Post 302770771 by MichaelFelt on Monday 18th of February 2013 09:48:03 AM
Old 02-18-2013
Quote:
the paging-related columns (re, pi, po, fr, sr, cy, in, sy)
Actually, vmstat data is in 5 sections:
kthr - threads
  • r - running
  • b - blocked (by something).
memory
  • avm - addressable virtual memory
  • free - free frames in system memory
page
  • fi/fo (pages in/out of file system space - to/from file memory)
  • pi/po (pages in/out of paging space - to/from working memory)
  • fr/sr: frames freed/scanned (searched)
  • cy (not in -w output) clock cycles used by page strealer
faults
  • in - hardware interuptts
  • sy - system calls
  • cs - context switches
cpu
  • us/sy - user/system time BUSY
  • id/wa - IDLE nothing to do/waiting for io to finish before switch to busy


Code:
   kthr            memory                         page                       faults           cpu    
----------- --------------------- ------------------------------------ ------------------ -----------
  r   b   p        avm        fre    fi    fo    pi    po    fr     sr    in     sy    cs us sy id wa
  1   0   0     728783    1538788     0     0     0     0     0      0    15    202   163  0  0 99  0

What I suggest you use is one of the two following commands - perhaps 5 second intervals as a start, and move up as you get more insight.
Code:
# vmstat -I -w -P ALL 5 2

System configuration: mem=672MB

pgsz            memory                           page                 
----- -------------------------- ------------------------------------ 
           siz      avm      fre    fi    fo    pi    po    fr     sr 
   4K   109408   146232     2199     0     0     0     0     0      0 
  64K     3914     3855      100     0     0     0     0     0      0 

   4K   109408   146232     2199     0     0     0     0     0      0 
  64K     3914     3855      100     0     0     0     0     0      0

Code:
# vmstat -I -w -p ALL 5 2

System configuration: lcpu=4 mem=672MB ent=0.20

   kthr            memory                         page                       faults                 cpu          
----------- --------------------- ------------------------------------ ------------------ -----------------------
  r   b   p        avm        fre    fi    fo    pi    po    fr     sr    in     sy    cs us sy id wa    pc    ec
  0   0   0     207914       3782 22832  3704  3189 15404 31644 119281     2     84   188  1  1 98  0  0.01   2.5

        psz        avm        fre    fi    fo    pi    po    fr     sr     siz
         4K     146234       2182     0     0     0     0     0      0  109408 
        64K       3855        100     0     0     0     0     0      0    3914 

   kthr            memory                         page                       faults                 cpu          
----------- --------------------- ------------------------------------ ------------------ -----------------------
  r   b   p        avm        fre    fi    fo    pi    po    fr     sr    in     sy    cs us sy id wa    pc    ec
  0   0   0     207914       3782 22742  3690  3176 15343 31518 118806     3     43   193  0  1 99  0  0.00   1.7

        psz        avm        fre    fi    fo    pi    po    fr     sr     siz
         4K     146234       2182     0     0     0     0     0      0  109408 
        64K       3855        100     0     0     0     0     0      0    3914

Note the argument -w for wide, and -I for file activity

Last edited by MichaelFelt; 02-18-2013 at 11:29 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

reset values for vmstat

How do you reset the values that vmstat displays? Vmstat displays a running average from the last the system was restarted on the first line, how do you reset these values without restarting the system? (Solaris 8) (3 Replies)
Discussion started by: kuczerp
3 Replies

2. 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

3. 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

4. Linux

vmstat help

Hi everyone, I need to see some VM manager performance/behavior information on some Linux boxes regarding pages scanned/activation of the paging algorithm in order to get an idea if a given server needs more memory and is actually paging. In Aix servers, by using the vmstat cmd you... (1 Reply)
Discussion started by: jcpetela
1 Replies

5. Shell Programming and Scripting

Extract section of file based on word in section

I have a list of Servers in no particular order as follows: virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection). 9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies

6. AIX

fr and sr (from vmstat output) values are very high

Hi AIX Expert, the fr (page freed/page replacement) and sr (pages scanned by page-replacement algorithm) values from the vmstat output (see below please) are very high. I usually see this high value during the oracle database backup. In addition, the page scan/page steal/ page faults values... (7 Replies)
Discussion started by: Beginer0705
7 Replies

7. Shell Programming and Scripting

Prepend first line of section to each line until the next section header

I have searched in a variety of ways in a variety of places but have come up empty. I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies

8. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

9. 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

10. Programming

C. To segmentation fault or not to segmentation fault, that is the question.

Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1... I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one. Below are two very condensed snippets of which I have added the results inside the each code section. IMPORTANT!... (11 Replies)
Discussion started by: wisecracker
11 Replies
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy