Sponsored Content
Operating Systems Solaris Different VMSTAT output on Linux and Solaris machines Post 302832155 by jlliagre on Saturday 13th of July 2013 03:18:50 AM
Old 07-13-2013
The paging information is there, under the "si" and "so" columns (swapped-in/swapped-out, should better be labelled "pi" and "po" for paged-in/paged-out).
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

output of vmstat

i have 2 question about vmstat 1) pin (pagein) output of vmstat is always zero for our system what is the meaning of this? (pout significantly changes depending on the running processes) 2) sometimes react output of vmstat is given in K like 44K sometimes it is given without any unit... (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

2. UNIX for Dummies Questions & Answers

vmstat output with date & timestamp

Hello all This is a sample vmstat output ... $ vmstat 2 2 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr hx hx hx hx in sy cs us sy id 1 0 0 23105784 7810488 323 767 1742 5 5 0 0 0 0 0 0 683 780 457 43 ... (9 Replies)
Discussion started by: luft
9 Replies

3. Shell Programming and Scripting

Capturing and sending of vmstat output everyday

I need to capture the vmstat output of a server every 5 minutes, in a text filename with the name in the format vmoutput. yesterday's date.txt. I need to get the vmstat o/p for the whole day with 5 minutes interval and send it (preferably ftp) to my local desktop folder. eg: vmstat 300... (1 Reply)
Discussion started by: yuvanash
1 Replies

4. UNIX for Advanced & Expert Users

vmstat's cpu stats on first line of output are always the same

Hello, I'm seeing this problem with vmstat, where the first line of output always has the same CPU statistics. For example: neked@nekedmachine:~$ date && vmstat Fri Jul 24 06:57:08 EDT 2009 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd ... (0 Replies)
Discussion started by: neked
0 Replies

5. AIX

vmstat incomprehensible output

Hello everybody, When i run Nmon the output is really incomprehensible vmstat 5 System configuration: lcpu=16 mem=24576MB ent=4.00 kthr memory page faults cpu ----- ----------- ------------------------ ------------ -----------------------... (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies

6. Solaris

help with vmstat output

Hi all. I need some assistance with my vmstat output. We have several oracle db's running on our solaris machine: SunOS rcworaprd 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-480R Recently I bumped up our main Oracle database to use 6 GB instead of 4 GB as vmstat output was showing... (1 Reply)
Discussion started by: jamie_collins
1 Replies

7. UNIX for Advanced & Expert Users

check external hardware connected to linux/solaris machines

hello, I'm planning to do inventory of all our servers but this time it's more on physical. Meaning I would like to check all hardware connected to it (external only like storage, power support) including the count Would like to get perhaps its serial nr..(linux and solaris different servers... (2 Replies)
Discussion started by: lhareigh890
2 Replies

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

9. UNIX for Dummies Questions & Answers

Pls. help with vmstat output...

Hi, Users are reporting performance issue on my Sun Solaris 10 server. I am on the server. I don't see a issue or I might be looking at the wrong thing. Please help. I don't see anything on sar. it's all zero on that. Not sure why users are reporting high CPU and unresponsive at times. ... (1 Reply)
Discussion started by: samnyc
1 Replies

10. Solaris

Reason for abnormal value in vmstat output

Hi, Recently from the vmstat output in the image attached, the first line of the cpu idle column shows a value of 15. Although the subsequent values show higher than 90, is there a reason why the first value is so low? Is this a problem? Thanks. (4 Replies)
Discussion started by: anaigini45
4 Replies
vmstat(1)						      General Commands Manual							 vmstat(1)

Name
       vmstat - report virtual memory statistics

Syntax
       vmstat [ interval [ count ] ]
       vmstat -v [ interval [ count ] ]
       vmstat -fKSsz
       vmstat -Kks namelist [ corefile ]

Description
       The command reports statistics on processes, virtual memory, disk, trap, and cpu activity.

       If  is  specified without arguments, this command summarizes the virtual memory activity since the system was last booted.  If the interval
       argument is specified, then successive lines are summaries of activity over the last interval seconds.  Because many statistics are sampled
       in  the system every five seconds, five is a good specification for interval; other statistics vary every second.  If the count argument is
       provided, the statistics are repeated count times.

       When you run the format fields are as follows:

       Procs: information about numbers of processes in various states.

	    r	 in run queue

	    b	 blocked for resources (i/o, paging, and so on.)

	    w	 runnable or short sleeper (< 20 seconds) but swapped

       faults:	trap/interrupt rate averages per second over the last 5 seconds.

	    in	 (non clock) device interrupts per second

	    sy	 system calls per second

	    cs	 cpu context switch rate (switches/second)

       cpu:  breakdown of percentage usage of cpu time

	    us	 user time for normal and low priority processes

	    sy	 system time

	    id	 cpu idle time

       Memory:	information about the use of virtual and real memory.  Virtual pages are considered active if they belong to processes	which  are
       running or have run in the last 20 seconds.

	    avm  active virtual pages

	    fre  size of the free list

       Pages are reported in units of 1024 bytes.

       If  the number of pages exceeds 9999, it is shown in a scaled representation.  The suffix k indicates multiplication by 1000 and the suffix
       m indicates multiplication by 1000000.  For example, the value 12345 appears as 12k.

       page: information about page faults and paging activity.  These are averaged every five seconds, and given in units per second.	 The  size
       of a unit is always 1024 bytes and is independent of the actual page size on a machine.

	    re	 page reclaims (simulating reference bits)

	    at	 pages attached (found in free list not swapdev or filesystem)

	    pi	 pages paged in

	    po	 pages paged out

	    fr	 pages freed per second

	    de	 anticipated short term memory shortfall

	    sr	 pages scanned by clock algorithm, per-second

       disk:   s0,  s1 ...sn: Paging/swapping disk sector transfers per second (this field is system dependent).  Typically paging is split across
       several of the available drives.  This will print for each paging/swapping device configured into the kernel.

Options
       -f     Provides reports on the number of forks and vforks since system startup and the number of pages of virtual memory involved  in  each
	      kind of fork.

       -K     Displays usage statistics of the kernel memory allocator.

       -k     Allows  a  dump  to be interrogated to print the contents of the sum structure when specified with a namelist and corefile.  This is
	      the default.

       -S     Replaces the page reclaim (re) and pages attached (at) fields with processes swapped in (si) and processes swapped out (so).

       -s     Prints the contents of the sum structure, giving the total number of several kinds of paging related events that have occurred since
	      boot.

       -v     Prints an expanded form of the virtual memory statistics.

       -z     Zeroes out the sum structure if the UID indicates root privilege.

Examples
       The following command prints what the system is doing every five seconds:
       vmstat 5
       To find the status after a core dump use the following:
       cd /usr/adm/crash
       vmstat -k vmunix.? vmcore.?

Files
       Kernel memory

       System namelist

																	 vmstat(1)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy