How do I check for information about the swap on my Red Hat Enterprise Linux system?
Issue
How do I check for information on the swap on my system? For example, how much swap do I have? How much of it is being utilized?
Environment
Red Hat Enterprise Linux, all versions
Solution
To display swap information on your system, please run the following command:
# cat /proc/swaps
or
# swapon -s
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.