OSDN Git Service

util-linux: update original to 2.34
[linuxjm/jm.git] / manual / util-linux / draft / man8 / ipcrm.8
1 .\" Copyright 2002 Andre C. Mazzone (linuxdev@karagee.com)
2 .\" May be distributed under the GNU General Public License
3 .\"
4 .\" Japanese Version Copyright (c) 1997 Koso Fukuba
5 .\"         all rights reserved.
6 .\" Translated Mon Jan 27 12:00:00 JST 1997
7 .\"         by Koso Fukuba <koso@ga2.so-net.or.jp>
8 .\" Updated & Modified Mon May  6 21:55:12 JST 2002
9 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
10 .\" Updated & Modified Thu Aug 29 04:17:49 JST 2002 by Yuichi SATO
11 .\"
12 .\"WORD:        attach          付加
13 .\"WORD:        detach          分離
14 .\"
15 .TH IPCRM 8 "last change: 19 March 2002" "ipcrm" "Linux Programmer's Manual"
16 .\"O .SH NAME
17 .SH 名前
18 .\"O ipcrm \- remove a message queue, semaphore set or shared memory id
19 ipcrm \- メッセージキュー・セマフォ集合・共有メモリ ID を削除する
20 .\"O .SH SYNOPSIS
21 .SH 書式
22 .B ipcrm
23 [
24 .B \-M
25 .I key
26 |
27 .B \-m
28 .I id
29 |
30 .B \-Q
31 .I key
32 |
33 .B \-q
34 .I id
35 |
36 .B \-S
37 .I key
38 |
39 .B \-s
40 .I id
41 ] ...
42
43 .\"O deprecated usage
44 以前の使用法
45
46 .BI ipcrm
47 [
48 .B shm
49 |
50 .B msg
51 |
52 .B sem
53 ]
54 .IR id " ..."
55 .\"O .SH DESCRIPTION
56 .SH 説明
57 .\"O .I ipcrm
58 .\"O removes System V interprocess communication (IPC) objects
59 .\"O and associated data structures from the system.
60 .I ipcrm
61 は System V プロセス間通信 (interprocess communication, IPC) オブジェクトと、
62 それに関連するデータ構造をシステムから削除する。
63 .\"O In order to delete such objects, you must be superuser, or
64 .\"O the creator or owner of the object.
65 これらのオブジェクトを削除するためには、スーパーユーザーであるか、
66 オブジェクトの作成者または所有者でなければならない。
67
68 .\"O System V IPC objects are of three types: shared memory,
69 .\"O message queues, and semaphores.
70 System V IPC オブジェクトには、
71 共有メモリ・メッセージキュー・セマフォの 3 つがある。
72 .\"O Deletion of a message queue or semaphore object is immediate
73 .\"O (regardless of whether any process still holds an IPC
74 .\"O identifier for the object).
75 メッセージキューオブジェクトとセマフォオブジェクトの削除は、
76 (他のプロセスがそのオブジェクトの IPC 識別子を
77 持っていたとしても) 即座に行われる。
78 .\"O A shared memory object is only removed
79 .\"O after all currently attached processes have detached
80 .\"O .RB ( shmdt (2))
81 .\"O the object from their virtual address space.
82 共有メモリオブジェクトが削除されるのは、
83 現在付加 (attach) されている全てのプロセスが
84 .RB ( shmdt (2)
85 で) 仮想アドレス空間からオブジェクトを分離 (detach) してからである。
86
87 .\"O Two syntax styles are supported.  The old Linux historical syntax specifies
88 .\"O a three letter keyword indicating which class of object is to be deleted,
89 .\"O followed by one or more IPC identifiers for objects of this type.
90 2 つの書式がサポートされている。
91 昔の Linux で使われていた伝統的な書式では、
92 削除するオブジェクトの種類を表す 3 文字のキーワードの後に、
93 その種類のオブジェクトの IPC 識別子を 1 つ以上指定する。
94
95 .\"O The SUS-compliant syntax allows the specification of
96 .\"O zero or more objects of all three types in a single command line,
97 .\"O with objects specified either by key or by identifier. (See below.)
98 SUS 互換の書式では、1 つのコマンド行で
99 3 種類のオブジェクトすべてをそれぞれ 0 個以上指定することができ、
100 オブジェクトの指定はキーまたは識別子 (後述) で行う。
101 .\"O Both keys and identifiers may be specified in decimal, hexadecimal
102 .\"O (specified with an initial '0x' or '0X'), or octal (specified with
103 .\"O an initial '0').
104 キーと識別子は 10 進数、16 進数 (最初を '0X' または '0x' で表記する)、
105 8 進数 (最初を '0' で表記する) で指定することができる。
106
107 .\"O .SH OPTIONS
108 .SH オプション
109 .TP
110 .BI \-M " shmkey"
111 .\"O removes the shared memory segment created with
112 .\"O .I shmkey
113 .\"O after the last detach is performed.
114 最後の分離が行われた後、
115 .I shmkey
116 で作成された共有メモリセグメントを削除する。
117 .TP
118 .BI \-m " shmid"
119 .\"O removes the shared memory segment identified by
120 .\"O .I shmid
121 .\"O after the last detach is performed.
122 最後の分離が行われた後、
123 .I shmid
124 で識別される共有メモリセグメントを削除する。
125 .TP
126 .BI \-Q " msgkey"
127 .\"O removes the message queue created with
128 .\"O .IR msgkey .
129 .I msgkey
130 で作成されたメッセージキューを削除する。
131 .TP
132 .BI \-q " msgid"
133 .\"O removes the message queue identified by
134 .\"O .IR msgid .
135 .I msgid
136 で識別されるメッセージキューを削除する。
137 .TP
138 .BI \-S " semkey"
139 .\"O removes the semaphore created with
140 .\"O .IR semkey .
141 .I semkey
142 で作成されたセマフォを削除する。
143 .TP
144 .BI \-s " semid"
145 .\"O removes the semaphore identified by
146 .\"O .IR semid .
147 .I semid
148 で識別されるセマフォを削除する。
149 .LP
150 .\"O The details of the removes are described in
151 .\"O .IR msgctl (2),
152 .\"O .IR shmctl (2),
153 .\"O and
154 .\"O .IR semctl (2).
155 削除の詳細は
156 .IR msgctl (2),
157 .IR shmctl (2),
158 .IR semctl (2)
159 で説明されている。
160 .\"O The identifiers and keys may be found by using
161 .\"O .IR ipcs (8).
162 識別子とキーは
163 .IR ipcs (8)
164 を使えば分かる。
165 .\"O .SH NOTES
166 .SH 注意
167 .\"O In its first Linux implementation, ipcrm used the deprecated syntax
168 .\"O shown in the
169 .\"O .BR SYNOPSIS .
170 Linux における最初の実装では、
171 ipcrm は「\fB書式\fR」にあるような昔の構文を使っていた。
172 .\"O Functionality present in other *nix implementations of ipcrm has since
173 .\"O been added, namely the ability to delete resources by key (not just
174 .\"O identifier), and to respect the same command-line syntax. For backward
175 .\"O compatibility the previous syntax is still supported.
176 他の *nix  における ipcrm の実装に存在する機能、
177 つまり (識別子だけでなく) キーを指定してリソースを削除する機能と、
178 同様なコマンドラインの構文が追加された。
179 後方互換のため、以前の構文もサポートされている。
180 .\"O .\" .SH AUTHORS
181 .\" .SH 著者
182 .\" Andre C. Mazzone (linuxdev@karagee.com)
183 .\" .br
184 .\" Krishna Balasubramanian (balasub@cis.ohio-state.edu)
185 .\"O .SH SEE ALSO
186 .nh
187 .SH 関連項目
188 .BR ipcs (8),
189 .BR msgctl (2),
190 .BR msgget (2),
191 .BR semctl (2),
192 .BR semget (2),
193 .BR shmctl (2),
194 .BR shmdt (2),
195 .BR shmget (2),
196 .BR ftok (3)