Column Swap (mb)
Source /usr/bin/vmstat 1 11
Description
Calculates the last 10 samples from a vmstat command. We sum the fourth column of vmstat (swap), average it, and then divide by 1000000 to convert it to megabytes.
  • NO_SWAP BLINKING RED : 00.0mb <= swap < 4.0mb
  • SWAP_LOW RED : 4.0 <= swap < 10.0mb
  • SWAP_LOW AMBER : 10.0mb <= swap < 50.0mb
  • SWAP_OK GREEN : 50.0mb <= swap <= 200.0mb
  • SWAP_WASTE WHITE : swap >= 200.0mb

Caveats

ituda02% vmstat 1 11
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m2 m1 in sy cs us sy id
0 0 0 135186592 25658184 32 477 24 2 2 0 0 1 1 1 0 1167 5817 5977 6 3 92
0 0 0 130894672 22947968 30 426 0 0 0 0 0 0 0 0 0 1390 343907 11520 23 14 63
0 0 0 130894672 22947968 12 315 0 0 0 0 0 0 0 0 0 1435 327423 6797 18 13 70
0 0 0 130894672 22947968 0 171 0 0 0 0 0 0 0 0 0 1415 327697 6627 18 11 71
0 0 0 130894656 22947952 242 2218 0 0 0 0 0 0 0 0 7 1451 332009 7546 20 12 67
0 0 0 130892672 22946928 0 173 0 0 0 0 0 0 0 0 0 1738 326080 7128 18 13 69
0 0 0 130893976 22947344 27 401 0 0 0 0 0 0 0 0 0 1317 338082 6709 21 12 67
0 0 0 130892792 22946056 3 191 0 0 0 0 0 0 0 0 0 1410 340404 11554 24 12 64
0 0 0 130893976 22947344 0 184 0 0 0 0 0 0 0 0 0 1557 326932 6686 17 12 71
0 0 0 130893976 22947344 211 2009 0 0 0 0 0 0 0 0 0 1414 329504 7029 19 13 68
0 0 0 130893232 22946704 0 178 0 0 0 0 0 0 0 0 0 1546 320968 6846 18 10 71