This file measures swap space and its utilization. For a system with only one swap partition, the output of /proc/swaps may look similar to the following:

Filename                                Type            Size    Used    Priority
/dev/sda6                               partition       1005440 0       0

While some of this information can be found in other files in the /proc directory, /proc/swaps provides a snapshot of every swap file name, the type of swap space, the total size, and the amount of space in use (in kilobytes). The priority column is useful when multiple swap files are in use. The lower the priority, the more likely the swap file is to be used.