SwapTotal and SwapFree in /proc/meminfo show its size and use. Swap can postpone an out-of-memory situation, but a machine that constantly swaps is usually slow.