terminal.cab

All commands

vmstat

Topic: System and services

Program: vmstat

Shows processes, memory and CPU in one line.

Package: proc-anzeige

Usage

vmstat [options]

Description

Show processes, memory, swap and CPU in one line since the start of the computer.

Options in the simulator

13 more options of the real program, not in the simulator yet
  • -a, --active not in the simulator yet

    Explanation to come

  • -f, --forks not in the simulator yet

    Explanation to come

  • -m, --slabs not in the simulator yet

    Explanation to come

  • -n, --one-header not in the simulator yet

    Explanation to come

  • -s, --stats not in the simulator yet

    On a real system it shows counters since the start, one line per value.

  • -d, --disk not in the simulator yet

    Explanation to come

  • -D, --disk-sum not in the simulator yet

    Explanation to come

  • -p, --partition needs a value not in the simulator yet

    Explanation to come

  • -S, --unit needs a value not in the simulator yet

    Explanation to come

  • -w, --wide not in the simulator yet

    Explanation to come

  • -t, --timestamp not in the simulator yet

    Explanation to come

  • -y, --no-first not in the simulator yet

    Explanation to come

  • -V, --version not in the simulator yet

    Explanation to come

Examples

From the lesson Reading memory
vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- -------cpu-------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st gu
 1  0 209716 943718 307200 8500000    0    0     0     0    0    0  0  0 100  0  0  0

Try it in the terminal

Where you learn it

Lessons

All commands