This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
64 lines (57 loc) · 2.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
NAME
cmdipc - System V and POSIX IPC from the command line
SYNOPSIS
cmdipc -Q [OPTION]... [receive]
cmdipc -Q [OPTION]... send [--] MESSAGE
cmdipc -S [OPTION]... [p|v|z|read]
cmdipc -S [OPTION]... set VALUE
cmdipc -M [OPTION]... [read]
cmdipc -M [OPTION]... write [--] DATA
cmdipc -X [OPTION]... [enter|leave]
cmdipc -C [OPTION]... [enter|leave|wait]
cmdipc -C [OPTION]... notify [all]
cmdipc -C [OPTION]... broadcast
cmdipc -B [OPTION]... THRESHOLD [enter]
cmdipc -B [OPTION]... --remove
cmdipc -L [OPTION]... [shared [un]lock]
cmdipc -L [OPTION]... exclusive [un]lock
cmdipc -R [OPTION]... [--] [MESSAGE]
cmdipc --ftok PATH ID
DESCRIPTION
System V and POSIX interprocess communication from the command
line. In addition to the primities shared memory, message queue
and semaphores, this tool can from these primitives construct
mutexes, conditions, barriers, shared locks and rendezvous.
OPTIONS
-h, --help Prints this help message and exits
-k, --key KEY The key (SysV) or name (POSIX) of the item
-m, --mode OCTAL The mode for the item
-s, --size SIZE Maximum size for messages
-z, --spool SIZE Maximum number of messages
-t, --type TYPE Message type
-p, --priority PRIO Message priority
-d, --delta DELTA Semaphore value increment
-i, --initial VALUE Initial semaphore value
-b, --timeout SECS Semaphore V/Z timeout, in seconds
-l, --length LEN Shared memory read length
-o, --offset OFF Shared memory read/write offset
-r, --remove Remove unit
-n, --nonblocking Do not block, exit with 2 if busy
-c, --create Create item
-x, --exclusive Create exclusive item
-f, --ftok Create unit ID, possibly non-unique
-P, --posix Use POSIX IPC rather than System V IPC
-Q, --mqueue Use message queue
-S, --semaphore Use semaphore
-M, --shm Use shared memory
-X, --mutex Use mutex
-C, --condition Use condition
-B, --barrier Use barrier
-L, --shared-lock Use shared lock
-R, --rendezvous Use rendezvous
RATIONALE
Interprocess communication in the command line enables much
more interesting use of shell scripts.
SEE ALSO
bus(1), ipcs(1), ipcrm(1), ipcmk(1), flock(1), mkfifo(1), ipcmd
Full documentation available locally via: info '(cmdipc)'