/usr/bin/ipcs
The ipcs utility provides information on System V interprocess communication (IPC) facilities on the system.