How to Input the Linux Command ‘ipcs’

ipcs output

The ipcs command provides data about interprocess communications, detailing which processes the calling process can read.

This command isn't common for most ordinary consumer applications. You'll typically find ipcs invoked by programmers debugging errors.

Command Flags

This command accepts several flags that influence how it executes.

The -i option allows a specific resource id to be specified. Only information on this id will be printed.

Resources may be specified as follows:

  • -m: shared memory segments
  • -q: message queues
  • -s: semaphore arrays
  • -a: all (this is the default)

The output format may be specified as follows:

  • -t: time
  • -p: pid
  • -c: creator
  • -l: limits
  • -u: summary

Use the man command (% man) to see how a command is used on your particular computer.