How do I check for information about the swap on my Red Hat Enterprise Linux system?

Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.