1. Display all IPC facilities
# ipcs -a
2. Display all message queues Message Queue
# ipcs -q
3. Display all semaphores
# ipcs -s
4. Display all shared memory
# ipcs -m
5. Display detailed information of IPC facilities
# ipcs -q -i id
id corresponds to shmid, semid, msgid, etc. -q corresponds to the type of facility (queue), use -s to view the details of the semaphore, and use -m to view the shared memory.
6. Display the limit size of IPC facilities
# ipcs -m -l
-m corresponds to the facility type, optional parameters include -q, -m, -s.
7. Display the authority relationship of IPC facilities
# ipcs -c
# ipcs -m -c
# ipcs -q -c
# ipcs -s -c
8. Display the ID of the process that has recently accessed the IPC facility.
# ipcs -p
# ipcs -m -p
# ipcs -q -p
9. Display the last operating time of the IPC facility
# ipcs -t
# ipcs -q -t
# ipcs -m -t
# ipcs -s -t
10. Display the current status of the IPC facility
# ipcs -u