ipcs provides information on the ipc facilities for which the calling process has read acccess.
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:
shared memory segments
all (this is the default)
The output format may be specified as follows: