How can I determine how many System V IPC shared memory segments have been swapped out?

Solution Verified - Updated -

Issue

  • This script does not report System V IPC shared memory (SHM) segments, which are swapped out.
  • High swap usage but no process is using any swap at all.
  • No swap usage in /proc/[1-9]/smaps.

Environment

  • Red Hat Enterprise Linux 6.1, kernel-2.6.32-85.el6 and later
  • Red Hat Enterprise Linux 5.8, kernel-2.6.18-293.el5 and later

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.