How can I determine how many System V IPC shared memory segments have been swapped out?
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 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- 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, tools, and much more.