CONTENT
  • CHANGES
Szukaj
counter

#top vmstat


vmstat - Report virtual memory statistics

Powiązane:
iostat, mpstat, vmstat, vnstat

SYNOPSIS
vmstat [-a] [-n] [-S unit] [delay [ count]]
vmstat [-s] [-n] [-S unit]
vmstat [-m] [-n] [delay [ count]]
vmstat [-d] [-n] [delay [ count]]
vmstat [-p disk partition] [-n] [delay [ count]]
vmstat [-f]
vmstat [-V]


DESCRIPTION



OPTIONS
The -a switch displays active/inactive memory, given a 2.5.41 kernel or better.

The -f switch displays the number of forks since boot. This includes the fork, vfork, and clone system calls, and is equivalent to the total number of tasks created. Each process is represented by one or more tasks, depending on thread usage. This display does not repeat.

The -m displays slabinfo.

The -n switch causes the header to be displayed only once rather than periodically.

The -s switch displays a table of various event counters and memory statistics. This display does not repeat.

delay is the delay between updates in seconds. If no delay is specified, only one report is printed with the average values since boot.

count is the number of updates. If no count is specified and delay is defined, count defaults to infinity.

The -d reports disk statistics (2.5.70 or above required)

The -p followed by some partition name for detailed statistics (2.5.70 or above required)

The -S followed by k or K or m or M switches outputs between 1000, 1024, 1000000, or 1048576 bytes

The -V switch results in displaying version information.



EXAMPLES
vmstat 1 5
Powyższe polecenie wykona 5 iteracji co sekundę wyświetlając informację o obciążeniu oraz zużyciu zasobów systemu operacyjnego
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 1  0 2200820 275984  72616 3644944   24    9   107   418    8   16  9  3 63 25  0
10  0 2200820 275348  72620 3645648    0    0    84   632 16505 28879  6  2 82 10  0
 0  1 2200820 274844  72636 3645764    0    0    60 12996 18277 29074  3  3 86  9  0
 8  1 2200820 283348  72660 3646044    0    0    24  1320 17075 28596  5  3 66 26  0
 5  3 2200820 298668  72680 3646216   12    0    88  1264 15846 28309  5  2 50 44  0




Zmodyfikowany ostatnio: 2015/11/18 00:00:08 (9 lat temu), textsize: 2,85 kB, htmlsize: 3,41 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników