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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content