OnCallReady

Commands

vmstat - Report virtual memory statistics

vmstat [options] [delay [count]]

Options you will use

delay
seconds between updates. Without it, one line of averages since boot is printed.
count
number of updates. With a delay and no count, runs until interrupted.
-w, --wide
wide output
-S, --unit
k K m M for the memory columns

Examples

$ vmstat 1 5

five samples, one second apart - ignore the first line, it is the since-boot average

Gotchas

Taught in

Try vmstat in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.