このファイルの所在を探すことができる。
.TP
\fI/proc/[pid]/fd/\fP
-This is a subdirectory containing one entry for each file which the process
-has open, named by its file descriptor, and which is a symbolic link to the
-actual file. Thus, 0 is standard input, 1 standard output, 2 standard
-error, and so on.
+プロセスがオープンしたファイル各々に対するエントリを含むサブディレクトリ。 ファイルディスクリプタがファイル名で、
+実際のファイルへのシンボリックリンクになっている。 したがって 0 は標準入力、1 は標準出力、2 は標準エラー出力、などとなる。
パイプやソケットのファイルディスクリプタでは、 エントリーはファイル種別が inode という内容を持つシンボリックリンクとなる。 このファイルに対して
\fBreadlink\fP(2) を呼び出すと以下の形式の文字列が返る。
\fIpos\fP フィールドは 10 進数で、現在のファイルオフセットを示す。 \fIflags\fP フィールドは 8 進数で、
ファイルのアクセスモードとファイル状態フラグを示す (\fBopen\fP(2) 参照)。
+.\" FIXME
+.\" Certain file types include additional info; see
+.\" Documentation/filesystems/proc.txt
+.\"
+.\" Especially interesting is this:
+.\"
+.\" commit ab49bdecc3ebb46ab661f5f05d5c5ea9606406c6
+.\" Author: Cyrill Gorcunov <gorcunov@openvz.org>
+.\" Date: Mon Dec 17 16:05:06 2012 -0800
+.\"
+.\" Basically, the /proc/PID/fdinfo/ entry for an inotify FD
+.\" includes the file handles for all watched FDs
+.\"
このディレクトリのファイルは、プロセスの所有者だけが読み出すことができる。
.TP
\fI/proc/[pid]/io\fP (kernel 2.6.20 以降)
マルチスレッドプロセスでは、メインスレッドがすでに終了している場合、 \fI/proc/[pid]/task\fP ディレクトリの内容は参照できない
(スレッドの終了は通常 \fBpthread_exit\fP(3) を呼び出しにより行われる)。
.TP
-\fI/proc/[pid]/wchan\fP (since Linux 2.6.0)
+\fI/proc/[pid]/wchan\fP (Linux 2.6.0 以降)
The symbolic name corresponding to the location in the kernel where the
process is sleeping.
.TP
といったブートマネージャを使って行われる。
.TP
\fI/proc/config.gz\fP (Linux 2.6 以降)
-This file exposes the configuration options that were used to build the
-currently running kernel, in the same format as they would be shown in the
-\&\fI.config\fP file that resulted when configuring the kernel (using \fImake
-xconfig\fP, \fImake config\fP, or similar). The file contents are compressed;
-view or search them using \fBzcat\fP(1) and \fBzgrep\fP(1). As long as no
-changes have been made to the following file, the contents of
-\fI/proc/config.gz\fP are the same as those provided by :
+このファイルでは、現在実行中のカーネルの構築時に使用された 設定オプションを参照できる。 書式は、 (\fImake xconfig\fP, \fImake
+config\fP などを使って) カーネルの設定を変更した際に生成される \fI.config\fP ファイルのものと同じである。
+ファイルの内容は圧縮されており、 \fBzcat\fP(1) や \fBzgrep\fP(1) を使うと、表示や検索ができる。 ファイルが変更されていない限り、
+\fI/proc/config.gz\fP の内容は次のコマンドで得られる内容と同じである。
.in +4n
.nf
.RS
.TP
\fIMemTotal\fP %lu
-Total usable RAM (i.e., physical RAM minus a few reserved bits and the
-kernel binary code).
+使用可能な RAM の総量 (つまり、 物理 RAM サイズからいくつかの予約ビットとカーネルのバイナリコードの分を引いた値)。
.TP
\fIMemFree\fP %lu
\fILowFree\fP+\fIHighFree\fP の合計値。
ホストバスアダプタ (HBA) に ドライバが割り当てられていると、そのドライバに対応したディレクトリが現れる。 それぞれのディレクトリには、
登録されたホストアダプタに対応してファイルが作られる。 このファイルの名前は、システムの初期化の際に ホストアダプタに割り当てられた番号になる。
-Reading these files will usually show driver and host configuration,
-statistics, and so on.
+これらのファイルを読めばドライバとホストアダプタの設定や 統計などを見ることができる。
これらのファイルへの書き込みはホストアダプタごとに異なる動作を引き起こす。 たとえば \fIlatency\fP と \fInolatency\fP
コマンドを用いると、 ルート (root、スーパーユーザー) は eata_dma ドライバの隠し測定コードの オン/オフを切り替えることができる。
.IP *
そのリンクが world\-writable の sticky ビットがセットされたディレクトリではない。
.IP *
-the symbolic link and its parent directory have the same owner (UID)
+シンボリックリンクとその親ディレクトリが同じ所有者 (UID) である。
.RE
.IP
システムコールが上記の制約によりシンボリックリンクを辿れなかった場合は、 \fIerrno\fP にエラー \fBEACCES\fP が設定される。
ある。 \fImsg_qbytes\fP は以降で作成されるメッセージキューで使われる。
\fImsg_qbytes\fP 設定では、メッセージキューに書き込まれる最大バイト数を指定する。
.TP
-\fI/proc/sys/kernel/ngroups_max\fP (since Linux 2.6.4)
+\fI/proc/sys/kernel/ngroups_max\fP (Linux 2.6.4 以降)
This is a read\-only file that displays the upper limit on the number of a
process's group memberships.
.TP
このディレクトリは、ファイル \fI/dev/random\fP の操作を制御する様々なパラメータが書かれている。 詳細は \fBrandom\fP(4)
を参照。
.TP
-\fI/proc/sys/kernel/random/uuid\fP (since Linux 2.4)
+\fI/proc/sys/kernel/random/uuid\fP (Linux 2.4 以降)
Each read from this read\-only file returns a randomly generated 128\-bit
UUID, as a string in the standard UUID format.
.TP
\fIDocumentation/sysctl/fs.txt\fP, \fIDocumentation/sysctl/kernel.txt\fP,
\fIDocumentation/sysctl/net.txt\fP, and \fIDocumentation/sysctl/vm.txt\fP.
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。