Linux ipcs command and command usage Detailed ipcrm

The following is the Linux ipcs command and command usage ipcrm were introduced, a friend in need can come to refer to the following

 

It is to provide information about the number of inter-process communication on a linux / uinx, comprising a shared memory, message queues, signal

Use ipcs
ipcs -a is the default output the current information of the print system between all the processes of the information communication

ipcs -m print out using shared memory for communicating information between processes ipcs -q message queues print out using the interprocess communication information ipcs -s print out information using the signal for interprocess communication  

Controlling the output format of the
ipcs -t outputs detailed information changes over time

 

ipc process ipcs -p output mode ID
creator ipcs -c output ipc way / owner

 

ipcs -c ipc output restrictions in various ways in the system information

 

ipcs -u ipc output status information in various manners in the current system (shared memory, message queues, signal)

ipcrm command
to remove a message object. Or shared memory segment, or a set of signals, but also will be removed together with the data objects associated ipc chain. Of course, only a super administrator, or the creator ipc objects have that right friends

Usage ipcrm
ipcrm -M shmkey removed shmkey created with shared memory segment
ipcrm -m shmid removed using a shared memory segment identifier shmid

ipcrm -Q msgkey remove message queue created with msqkey
ipcrm -q removed msqid identified with msqid message Queuing
ipcrm -S semkey semkey signal created by removing
signal by semid removed ipcrm -s semid

Published 101 original articles · won praise 73 · views 120 000 +

Guess you like

Origin blog.csdn.net/usstmiracle/article/details/104390610