OSDN Git Service

936aaf1106801790275cafdf5c8cd8c46d248522
[linuxjm/LDP_man-pages.git] / draft / man5 / proc.5
1 .\" Copyright (C) 1994, 1995 by Daniel Quinlan (quinlan@yggdrasil.com)
2 .\" and Copyright (C) 2002-2008 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" with networking additions from Alan Cox (A.Cox@swansea.ac.uk)
4 .\" and scsi additions from Michael Neuffer (neuffer@mail.uni-mainz.de)
5 .\" and sysctl additions from Andries Brouwer (aeb@cwi.nl)
6 .\" and System V IPC (as well as various other) additions from
7 .\" Michael Kerrisk <mtk.manpages@gmail.com>
8 .\"
9 .\" This is free documentation; you can redistribute it and/or
10 .\" modify it under the terms of the GNU General Public License as
11 .\" published by the Free Software Foundation; either version 2 of
12 .\" the License, or (at your option) any later version.
13 .\"
14 .\" The GNU General Public License's references to "object code"
15 .\" and "executables" are to be interpreted as the output of any
16 .\" document formatting or typesetting system, including
17 .\" intermediate and printed output.
18 .\"
19 .\" This manual is distributed in the hope that it will be useful,
20 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
21 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 .\" GNU General Public License for more details.
23 .\"
24 .\" You should have received a copy of the GNU General Public
25 .\" License along with this manual; if not, write to the Free
26 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
27 .\" USA.
28 .\"
29 .\" Modified 1995-05-17 by faith@cs.unc.edu
30 .\" Minor changes by aeb and Marty Leisner (leisner@sdsp.mc.xerox.com).
31 .\" Modified 1996-04-13, 1996-07-22 by aeb@cwi.nl
32 .\" Modified 2001-12-16 by rwhron@earthlink.net
33 .\" Modified 2002-07-13 by jbelton@shaw.ca
34 .\" Modified 2002-07-22, 2003-05-27, 2004-04-06, 2004-05-25
35 .\"    by Michael Kerrisk <mtk.manpages@gmail.com>
36 .\" 2004-11-17, mtk -- updated notes on /proc/loadavg
37 .\" 2004-12-01, mtk, rtsig-max and rtsig-nr went away in 2.6.8
38 .\" 2004-12-14, mtk, updated 'statm', and fixed error in order of list
39 .\" 2005-05-12, mtk, updated 'stat'
40 .\" 2005-07-13, mtk, added /proc/sys/fs/mqueue/*
41 .\" 2005-09-16, mtk, Added /proc/sys/fs/suid_dumpable
42 .\" 2005-09-19, mtk, added /proc/zoneinfo
43 .\" 2005-03-01, mtk, moved /proc/sys/fs/mqueue/* material to mq_overview.7.
44 .\" 2008-06-05, mtk, Added /proc/[pid]/oom_score, /proc/[pid]/oom_adj,
45 .\"     /proc/[pid]/limits, /proc/[pid]/mountinfo, /proc/[pid]/mountstats,
46 .\"     and /proc/[pid]/fdinfo/*.
47 .\" 2008-06-19, mtk, Documented /proc/[pid]/status.
48 .\" 2008-07-15, mtk, added /proc/config.gz
49 .\"
50 .\" FIXME 2.6.13 seems to have /proc/vmcore implemented
51 .\" in the source code, but there is no option available under
52 .\" 'make xconfig'; eventually this should be fixed, and then info
53 .\" from the patch-2.6.13 and change log could be used to write an
54 .\" entry in this man page.
55 .\" Needs CONFIG_VMCORE
56 .\"
57 .\" FIXME cross check against Documentation/filesystems/proc.txt
58 .\" to see what information could be imported from that file
59 .\" into this file.
60 .\"
61 .\" Japanese Version Copyright (c) 1998,1999 Hiroaki Nagoya,
62 .\"     Copyright (c) 2001-2005 Yuichi SATO,
63 .\"     and Copyright (c) 2005-2008 Akihiro MOTOKI
64 .\"         all rights reserved.
65 .\" Translated 1998-07-09, Hiroaki Nagoya <nagoya@cc.hit-u.ac.jp>
66 .\" Proofreaded 1998-07-24, Hiroaki Nagoya <nagoya@cc.hit-u.ac.jp> ,
67 .\"                         Nakano Takeo <nakano@apm.seikei.ac.jp> and
68 .\"                         Shinya Hanataka <hanataka@abyss.rim.or.jp>.
69 .\" Matched with man-pages-1.22 1999-01-21, Hiroaki Nagoya
70 .\" Updated 1999-12-04, Kentaro Shirakata <argrath@yo.rim.or.jp>
71 .\" Updated 2001-04-24, Yuichi SATO <ysato444@yahoo.co.jp>
72 .\" Updated 2002-01-14, Yuichi SATO
73 .\" Updated 2002-11-04, Yuichi SATO
74 .\" Updated 2003-03-01, Yuichi SATO
75 .\" Updated 2003-10-18, Yuichi SATO
76 .\" Updated 2003-11-27, Yuichi SATO
77 .\" Updated 2005-01-22, Yuichi SATO
78 .\" Updated 2005-09-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
79 .\" Updated 2005-11-19, Akihiro MOTOKI, LDP v2.14
80 .\" Updated 2006-01-18, Akihiro MOTOKI, LDP v2.21
81 .\" Updated 2006-02-15, Akihiro MOTOKI, LDP v2.23
82 .\" Updated 2006-03-05, Akihiro MOTOKI, LDP v2.25
83 .\" Updated 2006-04-15, Akihiro MOTOKI, LDP v2.29
84 .\" Updated 2007-01-05, Akihiro MOTOKI, LDP v2.43
85 .\" Updated 2007-07-04, Akihiro MOTOKI, LDP v2.58
86 .\" Updated 2007-09-03, Akihiro MOTOKI, LDP v2.64
87 .\" Updated 2007-10-11, Akihiro MOTOKI, LDP v2.65
88 .\" Updated 2008-02-06, Akihiro MOTOKI, LDP v2.76
89 .\" Updated 2008-09-21, Akihiro MOTOKI, LDP v3.09
90 .\" Updated 2009-03-03, Akihiro MOTOKI, LDP v3.19
91 .\" Updated 2009-03-13, Akihiro MOTOKI, LDP v3.20
92 .\"
93 .\"WORD:        pseudo-filesystem       µ¼»÷¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à
94 .\"WORD:        major                   ¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ
95 .\"WORD:        minor                   ¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ
96 .\"WORD:        inode                   i¥Î¡¼¥ÉÈÖ¹æ
97 .\"WORD:        executable              ¼Â¹Ô·Á¼°
98 .\"WORD:        file descriptor         ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿
99 .\"WORD:        swap in/out             ¥¹¥ï¥Ã¥×¥¤¥ó/¥¢¥¦¥È
100 .\"WORD:        page in/out             ¥Ú¡¼¥¸¥¤¥ó/¥¢¥¦¥È
101 .\"WORD:        minor/major fault       ¥Þ¥¤¥Ê¡¼/¥á¥¸¥ã¡¼¥Õ¥©¡¼¥ë¥È
102 .\"WORD:        demand-loaded in        Í×µá»þ¥í¡¼¥É¥¤¥ó
103 .\"WORD:        channels                ¥Á¥ã¥Í¥ë
104 .\"WORD:        core file               ¥³¥¢¥Õ¥¡¥¤¥ë
105 .\"WORD:        loadable module         ¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë
106 .\"WORD:        hotplugged              ³èÀþÁÞÈ´
107 .\"WORD:        context switches        ¥³¥ó¥Æ¥¯¥¹¥È¡¦¥¹¥¤¥Ã¥Á
108 .\"
109 .TH PROC 5 2009-09-30 "Linux" "Linux Programmer's Manual"
110 .\"O .SH NAME
111 .SH Ì¾Á°
112 .\"O proc \- process information pseudo-file system
113 proc \- ¥×¥í¥»¥¹¤Î¾ðÊó¤ò´Þ¤àµ¼»÷¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à
114 .\"O .SH DESCRIPTION
115 .SH ÀâÌÀ
116 .\"O The
117 .\"O .I proc
118 .\"O file system is a pseudo-file system which is used as an interface to
119 .\"O kernel data structures.
120 .\"O It is commonly mounted at
121 .\"O .IR /proc .
122 .\"O Most of it is read-only, but some files allow kernel variables to be
123 .\"O changed.
124 .I proc
125 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ïµ¼»÷Ū¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¢¤ê¡¢
126 ¥«¡¼¥Í¥ëÆâ¤Î¥Ç¡¼¥¿¤Ø¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
127 °ìÈÌŪ¤Ë¤Ï
128 .I /proc
129 ¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤ë¡£
130 ÂçÉôʬ¤Î¥Õ¥¡¥¤¥ë¤ÏÆɤ߽Ф·ÀìÍÑ (read-only) ¤Ç¤¢¤ë¤¬¡¢
131 ¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¤Ï½ñ¤­¹þ¤ß²Äǽ¤Ç¤¢¤ê¡¢
132 ¤½¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤á¤Ð¥«¡¼¥Í¥ë¤ÎÆâÉôÊÑ¿ô¤òÊѹ¹¤Ç¤­¤ë¡£
133 .LP
134 .\"O The following outline gives a quick tour through the
135 .\"O .I /proc
136 .\"O hierarchy.
137 °Ê²¼¤Ï
138 .I /proc
139 ³¬ÁؤδÊñ¤Ê¤¢¤é¤Þ¤·¤Ç¤¢¤ë¡£
140 .PD 1
141 .TP
142 .I /proc/[pid]
143 .\"O There is a numerical subdirectory for each running process; the
144 .\"O subdirectory is named by the process ID.
145 .\"O Each such subdirectory contains the following
146 .\"O pseudo-files and directories.
147 ¼Â¹ÔÃæ¤Î¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
148 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê̾¤Ï (¤½¤Î¥×¥í¥»¥¹¤Î) ¥×¥í¥»¥¹ ID ¤Ç¤¢¤ë¡£
149 ³Æ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢°Ê²¼¤Îµ¼»÷¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤à¡£
150 .\" FIXME Describe /proc/[pid]/attr and
151 .\"       /proc/[pid]/task/[tid]/attr
152 .\"       This is a directory
153 .\"       Added in ???
154 .\"       CONFIG_SECURITY
155 .\"
156 .TP
157 .\"O .IR /proc/[pid]/auxv " (since 2.6.0-test7)"
158 .IR /proc/[number]/auxv " (¥«¡¼¥Í¥ë 2.6.0-test7 °Ê¹ß)"
159 .\"O This contains the contents of the ELF interpreter information passed
160 .\"O to the process at exec time.
161 .\"O The format is one \fIunsigned long\fP ID
162 .\"O plus one \fIunsigned long\fP value for each entry.
163 .\"O The last entry contains two zeros.
164 ¼Â¹Ô»þ¤Ë¥×¥í¥»¥¹¤ËÅϤµ¤ì¤¿ ELF ¥¤¥ó¥¿¥×¥ê¥¿¾ðÊ󤬳ÊǼ¤µ¤ì¤Æ¤¤¤ë¡£
165 ¸Ä¡¹¤Î¥¨¥ó¥È¥ê¤Ï¡¢\fIunsigned long\fP ·¿¤Î ID 1 ¸Ä¤Ë
166 \fIunsigned long\fP ·¿¤ÎÃÍ 1 ¸Ä¤¬Â³¤¯¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë¡£
167 ºÇ¸å¤Î¥¨¥ó¥È¥ê¤Ë¤Ï 0 ¤¬ 2 ¸ÄÆþ¤Ã¤Æ¤¤¤ë¡£
168 .\" FIXME Describe /proc/[pid]/cgroup and
169 .\"       /proc/[pid]/task/[tid]/cgroup
170 .\"       Info in Documentation/cgroups.txt
171 .\"       Added in 2.6.24
172 .\"       CONFIG_CGROUPS
173 .\"
174 .\" FIXME Describe /proc/[pid]/clear_refs
175 .\"       Added in 2.6.22
176 .\"       "Clears page referenced bits shown in smaps output"
177 .\"       write-only
178 .\"       CONFIG_PROC_PAGE_MONITOR
179 .TP
180 .I /proc/[pid]/cmdline
181 .\"O This holds the complete command line for the process,
182 .\"O unless the process is a zombie.
183 .\"O .\" In 2.3.26, this also used to be true if the process was swapped out.
184 .\"O In the latter case, there is nothing in this file:
185 .\"O that is, a read on this file will return 0 characters.
186 .\"O The command-line arguments appear in this file as a set of
187 .\"O null-separated strings,
188 .\"O with a further null byte (\(aq\\0\(aq) after the last string.
189 ¥×¥í¥»¥¹¤Î´°Á´¤Ê¥³¥Þ¥ó¥É¹Ô¤òÊÝ»ý¤¹¤ë¡£
190 ¤¿¤À¤·¡¢¤½¤Î¥×¥í¥»¥¹¤¬¥¾¥ó¥Ó¥×¥í¥»¥¹¤Î¾ì¹ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¶õ¤È¤Ê¤ë¡£
191 .\" Linux 2.3.26 ¤Ç¤Ï¡¢¥×¥í¥»¥¹¤¬¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤â¡¢
192 .\" ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¶õ¤È¤Ê¤Ã¤Æ¤¤¤¿¡£
193 ¤Ä¤Þ¤ê¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф·¤Æ¤â°ìʸ»ú¤âÊÖ¤é¤Ê¤¤¡£
194 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤­¿ô¤¬¡¢
195 ¥Ì¥ëʸ»ú¤Ç¶èÀÚ¤é¤ì¤¿Ê¸»úÎó¤È¤·¤Æ½ñ¤«¤ì¤Æ¤ª¤ê¡¢
196 ºÇ¸å¤Îʸ»úÎó¤Î¸å¤Ë¥Ì¥ë¥Ð¥¤¥È (\(aq\\0\(aq) ¤¬°ì¤ÄÃÖ¤«¤ì¤ë¡£
197 .TP
198 .\"O .IR /proc/[pid]/coredump_filter " (since kernel 2.6.23)"
199 .IR /proc/[pid]/coredump_filter " (kernel 2.6.23 °Ê¹ß)"
200 .\"O See
201 .\"O .BR core (5).
202 .BR core (5)
203 »²¾È¡£
204 .TP
205 .\"O .IR /proc/[pid]/cpuset " (since kernel 2.6.12)"
206 .IR /proc/[pid]/cpuset " (kernel 2.6.12 °Ê¹ß)"
207 .\" and/proc/[pid]/task/[tid]/cpuset
208 .\"O See
209 .\"O .BR cpuset (7).
210 .BR cpuset (7)
211 »²¾È¡£
212 .TP
213 .I /proc/[pid]/cwd
214 .\"O This is a symbolic link to the current working directory of the process.
215 .\"O To find out the current working directory of process 20,
216 .\"O for instance, you can do this:
217 ¥×¥í¥»¥¹¤Î¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¡£
218 Î㤨¤Ð¡¢¥×¥í¥»¥¹ 20 ¤Î¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ò¸«¤Ä¤±¤ë¤¿¤á¤Ë¤Ï¡¢
219 ¼¡¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¡£
220
221 .in +4n
222 .nf
223 .RB "$" " cd /proc/20/cwd; /bin/pwd"
224 .fi
225 .in
226
227 .\"O Note that the
228 .\"O .I pwd
229 .\"O command is often a shell built-in, and might
230 .\"O not work properly.
231 .\"O In
232 .\"O .BR bash (1),
233 .\"O you may use
234 .\"O .IR "pwd\ \-P" .
235 .I pwd
236 ¥³¥Þ¥ó¥É¤Ï¥·¥§¥ë¤ÎÆâÉô¥³¥Þ¥ó¥É¤Î¤³¤È¤¬¤è¤¯¤¢¤ê¡¢
237 ¤¦¤Þ¤¯Æ°ºî¤·¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
238 .BR bash (1)
239 ¤Ç¤Ï
240 .I "pwd \-P"
241 ¤ò»È¤Ã¤Æ¤â¤è¤¤¡£
242
243 .\"O .\" The following was still true as at kernel 2.6.13
244 .\" °Ê²¼¤ÎÆâÍƤϠ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
245 .\"O In a multithreaded process, the contents of this symbolic link
246 .\"O are not available if the main thread has already terminated
247 .\"O (typically by calling
248 .\"O .BR pthread_exit (3)).
249 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
250 ¤³¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÎÆâÍƤϻ²¾È¤Ç¤­¤Ê¤¤
251 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
252 .BR pthread_exit (3)
253 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
254 .TP
255 .I /proc/[pid]/environ
256 .\"O This file contains the environment for the process.
257 .\"O The entries are separated by null bytes (\(aq\\0\(aq),
258 .\"O and there may be a null byte at the end.
259 .\"O Thus, to print out the environment of process 1, you would do:
260 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥×¥í¥»¥¹¤Î´Ä¶­ÊÑ¿ô¤ò´Þ¤ó¤Ç¤¤¤ë¡£
261 ³Æ¥¨¥ó¥È¥ê¤Ï NULL ¥Ð¥¤¥È (\(aq\\0\(aq) ¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤Æ¡¢
262 ËöÈø¤Ë NULL ¥Ð¥¤¥È¤¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
263 ¤·¤¿¤¬¤Ã¤Æ¡¢¥×¥í¥»¥¹ 1 ¤Î´Ä¶­ÊÑ¿ô¤òɽ¼¨¤¹¤ë¤¿¤á¤Ë¤Ï
264 ¼¡¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¡£
265 .in +4n
266 .nf
267
268 .ft CW
269 .RB "$" " (cat /proc/1/environ; echo) | tr \(aq\e000\(aq \(aq\en\(aq"
270 .fi
271 .ft P
272 .in
273 .TP
274 .I /proc/[pid]/exe
275 .\"O Under Linux 2.2 and later, this file is a symbolic link
276 .\"O containing the actual pathname of the executed command.
277 Linux 2.2 °Ê¹ß¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç¡¢
278 ¼Â¹Ô²Äǽ¥³¥Þ¥ó¥É¤Î¼ÂºÝ¤Î¥Ñ¥¹Ì¾¤ò³ÊǼ¤·¤Æ¤¤¤ë¡£
279 .\"O This symbolic link can be dereferenced normally; attempting to open
280 .\"O it will open the executable.
281 .\"O You can even type
282 .\"O .I /proc/[pid]/exe
283 .\"O to run another copy of the same executable as is being run by
284 .\"O process [pid].
285 ¤³¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÏÄ̾ï¤Î¤è¤¦¤Ëé¤ë¤³¤È¤¬¤Ç¤­¤ë;
286 ¤³¤ì¤ò¥ª¡¼¥×¥ó¤¹¤ë¤È¼Â¹Ô²Äǽ¥Õ¥¡¥¤¥ë¤¬¥ª¡¼¥×¥ó¤µ¤ì¤ë¡£
287 (¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç)
288 .I /proc/[pid]/exe
289 ¤ÈÆþÎϤ¹¤ë¤È¡¢¥×¥í¥»¥¹ÈÖ¹æ [pid] ¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë
290 ¼Â¹Ô²Äǽ¥Õ¥¡¥¤¥ë¤ò¤â¤¦°ì¤Ä¼Â¹Ô¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
291 .\"O .\" The following was still true as at kernel 2.6.13
292 .\" °Ê²¼¤ÎÆâÍƤϠ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
293 .\"O In a multithreaded process, the contents of this symbolic link
294 .\"O are not available if the main thread has already terminated
295 .\"O (typically by calling
296 .\"O .BR pthread_exit (3)).
297 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
298 ¤³¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÎÆâÍƤϻ²¾È¤Ç¤­¤Ê¤¤
299 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
300 .BR pthread_exit (3)
301 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
302
303 .\"O Under Linux 2.0 and earlier
304 .\"O .I /proc/[pid]/exe
305 .\"O is a pointer to the binary which was executed,
306 .\"O and appears as a symbolic link.
307 .\"O A
308 .\"O .BR readlink (2)
309 .\"O call on this file under Linux 2.0 returns a string in the format:
310 .\"O 
311 .\"O     [device]:inode
312 .\"O 
313 Linux 2.0 °ÊÁ°¤Ç¤Ï¡¢
314 .I /proc/[pid]/exe
315 ¤Ï¼Â¹Ô¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¡¢¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î¤è¤¦¤Ë¸«¤¨¤ë¡£
316 Linux 2.0 °ÊÁ°¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ
317 .BR readlink (2)
318 ¤ò¼Â¹Ô¤¹¤ë¤È¡¢
319
320     [¥Ç¥Ð¥¤¥¹ÈÖ¹æ]:i¥Î¡¼¥ÉÈÖ¹æ
321
322 ¤È¤¤¤¦¥Õ¥©¡¼¥Þ¥Ã¥È¤Îʸ»úÎó¤¬Ê֤롣
323
324 .\"O For example, [0301]:1502 would be inode 1502 on device major 03 (IDE,
325 .\"O MFM, etc. drives) minor 01 (first partition on the first drive).
326 ¤¿¤È¤¨¤Ð¡¢[0301]:1502 ¤Ï¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ 03 (IDE, MFM ¤Ê¤É¤Î¥É¥é¥¤¥Ö)
327 ¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ 01 (ºÇ½é¤Î¥É¥é¥¤¥Ö¤ÎºÇ½é¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó) ¤Î
328 ¥Ç¥Ð¥¤¥¹¾å¤Î i¥Î¡¼¥ÉÈÖ¹æ 1502 ¤Ç¤¢¤ë¡£
329
330 .\"O .BR find (1)
331 .\"O with the
332 .\"O .I \-inum
333 .\"O option can be used to locate the file.
334 .I \-inum
335 ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤Æ
336 .BR find (1)
337 ¤ò»È¤¦¤È¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Î½êºß¤òõ¤¹¤³¤È¤¬¤Ç¤­¤ë¡£
338 .TP
339 .I /proc/[pid]/fd
340 .\"O This is a subdirectory containing one entry for each file which the
341 .\"O process has open, named by its file descriptor, and which is a
342 .\"O symbolic link to the actual file.
343 .\"O Thus, 0 is standard input, 1 standard output, 2 standard error, etc.
344 ¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤·¤¿¥Õ¥¡¥¤¥ë³Æ¡¹¤ËÂФ¹¤ë¥¨¥ó¥È¥ê¤ò´Þ¤à¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
345 ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤¬¥Õ¥¡¥¤¥ë̾¤Ç¡¢
346 ¼ÂºÝ¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
347 ¤·¤¿¤¬¤Ã¤Æ 0 ¤Ïɸ½àÆþÎÏ¡¢1 ¤Ïɸ½à½ÐÎÏ¡¢2 ¤Ïɸ½à¥¨¥é¡¼½ÐÎÏ¡¢¤Ê¤É¤È¤Ê¤ë¡£
348
349 .\"O .\" The following was still true as at kernel 2.6.13
350 .\" °Ê²¼¤ÎÆâÍƤϠ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
351 .\"O In a multithreaded process, the contents of this directory
352 .\"O are not available if the main thread has already terminated
353 .\"O (typically by calling
354 .\"O .BR pthread_exit (3)).
355 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
356 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤϻ²¾È¤Ç¤­¤Ê¤¤
357 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
358 .BR pthread_exit (3)
359 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
360
361 .\"O Programs that will take a filename as a command-line argument,
362 .\"O but will not take input from standard input if no argument is supplied,
363 .\"O or that write to a file named as a command-line argument,
364 .\"O but will not send their output to standard output
365 .\"O if no argument is supplied, can nevertheless be made to use
366 .\"O standard input or standard out using
367 .\"O .IR /proc/[pid]/fd .
368 .\"O For example, assuming that
369 .\"O .I \-i
370 .\"O is the flag designating an input file and
371 .\"O .I \-o
372 .\"O is the flag designating an output file:
373 ¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤­¿ô¤È¤·¤Æ¥Õ¥¡¥¤¥ë̾¤ò¼õ¤±¼è¤ë¤¬¡¢°ú¤­¿ô¤¬
374 ÅϤµ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ëɸ½àÆþÎϤ«¤éÆþÎϤò¼õ¤±¼è¤é¤Ê¤¤¤è¤¦¤Ê¥×¥í¥°¥é¥à¤ä¡¢
375 ¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤­¿ô¤È¤·¤Æ½ñ¤­¹þ¤ß¥Õ¥¡¥¤¥ë¤ò¼õ¤±¼è¤ë¤¬¡¢°ú¤­¿ô¤¬
376 ÅϤµ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ëɸ½à½ÐÎϤ˽ÐÎϤò¹Ô¤ï¤Ê¤¤¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ç¤¢¤Ã¤Æ¤â¡¢
377 .I /proc/[pid]/fd
378 ¤ò»È¤¦¤³¤È¤Çɸ½àÆþÎϤäɸ½à½ÐÎϤò»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ë¡£
379 Î㤨¤Ð¡¢
380 .I \-i
381 ¤òÆþÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¥Õ¥é¥°¡¢
382 .I \-o
383 ¤ò½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¥Õ¥é¥°¤È²¾Äꤹ¤ë¤È¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò
384 ¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¥Õ¥£¥ë¥¿¤È¤·¤ÆÆ°ºî¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
385 .in +4n
386 .nf
387
388 .RB "$" " foobar \-i /proc/self/fd/0 \-o /proc/self/fd/1 ..."
389 .fi
390 .in
391
392 .\"O and you have a working filter.
393 .\"O motoki: Âбþ¤¹¤ëÌõ¤Ï¥³¥Þ¥ó¥É¤Î¾å¦¤Ë¤¢¤ë¡£
394 .\"O .\" The following is not true in my tests (MTK):
395 .\"O .\" Note that this will not work for
396 .\"O .\" programs that seek on their files, as the files in the fd directory
397 .\"O .\" are not seekable.
398 .\" »ä¤Î¥Æ¥¹¥È¤Ç¤Ï¡¢°Ê²¼¤ÏÀµ¤·¤¯¤Ê¤«¤Ã¤¿ (MTK):
399 .\" ¤¿¤À¤· fd ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¡¼¥¯ (seek) ¤Ç¤­¤Ê¤¤¤Î¤Ç¡¢
400 .\" ¤³¤ÎÊýË¡¤Ï¥Õ¥¡¥¤¥ë¤ò¥·¡¼¥¯¤¹¤ë¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ç¤Ï¤¦¤Þ¤¯Æ¯¤«¤Ê¤¤¡£
401
402 .\"O .I /proc/self/fd/N
403 .\"O is approximately the same as
404 .\"O .I /dev/fd/N
405 .\"O in some Unix and Unix-like systems.
406 .\"O Most Linux MAKEDEV scripts symbolically link
407 .\"O .I /dev/fd
408 .\"O to
409 .\"O .IR /proc/self/fd ,
410 .\"O in fact.
411 .I /proc/self/fd/N
412 ¤Ï¡¢¤¢¤ë¼ï¤Î Unix ¤ä Unix É÷¤Î¥·¥¹¥Æ¥à¤Ë¤¢¤ë
413 .I /dev/fd/N
414 ¤È¤À¤¤¤¿¤¤Æ±¤¸¤Ç¤¢¤ë¡£
415 »ö¼Â Linux ¤Î¤¿¤¤¤Æ¤¤¤Î MAKEDEV ¥¹¥¯¥ê¥×¥È¤Ï¡¢
416 .I /dev/fd
417 ¤ò
418 .I /proc/self/fd
419 ¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ë¤·¤Æ¤¤¤ë¡£
420
421 .\"O Most systems provide symbolic links
422 .\"O .IR /dev/stdin ,
423 .\"O .IR /dev/stdout ,
424 .\"O and
425 .\"O .IR /dev/stderr ,
426 .\"O which respectively link to the files
427 .\"O .IR 0 ,
428 .\"O .IR 1 ,
429 .\"O and
430 .\"O .IR 2
431 .\"O in
432 .\"O .IR /proc/self/fd .
433 ¤Û¤È¤ó¤É¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯
434 .IR /dev/stdin ,
435 .IR /dev/stdout ,
436 .IR /dev/stderr
437 ¤¬Ä󶡤µ¤ì¤Æ¤ª¤ê¡¢¤½¤ì¤¾¤ì
438 .I /proc/self/fd
439 Æâ¤Î¥Õ¥¡¥¤¥ë
440 .IR 0 ,
441 .IR 1 ,
442 .IR 2
443 ¤Ë¥ê¥ó¥¯¤µ¤ì¤Æ¤¤¤ë¡£
444 .\"O Thus the example command above could be written as:
445 ¤·¤¿¤¬¤Ã¤Æ¡¢¾å½Ò¤Î¥µ¥ó¥×¥ë¥³¥Þ¥ó¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤â½ñ¤¯¤³¤È¤¬¤Ç¤­¤ë¡£
446 .in +4n
447 .nf
448
449 .RB "$" " foobar \-i /dev/stdin \-o /dev/stdout ..."
450 .fi
451 .in
452 .\" FIXME Describe /proc/[pid]/loginuid
453 .\"       Added in 2.6.11; updating requires CAP_AUDIT_CONTROL
454 .\"       CONFIG_AUDITSYSCALL
455 .TP
456 .\"O .IR /proc/[pid]/fdinfo/ " (since kernel 2.6.22)"
457 .IR /proc/[pid]/fdinfo/ " (kernel 2.6.22 °Ê¹ß)"
458 .\"O This is a subdirectory containing one entry for each file which the
459 .\"O process has open, named by its file descriptor.
460 .\"O The contents of each file can be read to obtain information
461 .\"O about the corresponding file descriptor, for example:
462 ¤³¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ëËè¤Î
463 ¥¨¥ó¥È¥ê¤¬Æþ¤Ã¤Æ¤ª¤ê¡¢¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤¬¥Õ¥¡¥¤¥ë̾¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
464 ³Æ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤòÆɤ߽Ф¹¤³¤È¤Ç¡¢Âбþ¤¹¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ë´Ø¤¹¤ë
465 ¾ðÊó¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£°Ê²¼¤ËÎã¤ò¼¨¤¹¡£
466 .in +4n
467 .nf
468
469 .RB "$" " cat /proc/12015/fdinfo/4"
470 pos:    1000
471 flags:  01002002
472 .fi
473 .in
474
475 .\"O The
476 .\"O .I pos
477 .\"O field is a decimal number showing the current file offset.
478 .\"O The
479 .\"O .I flags
480 .\"O field is an octal number that displays the
481 .\"O file access mode and file status flags (see
482 .\"O .BR open (2)).
483 .I pos
484 ¥Õ¥£¡¼¥ë¥É¤Ï 10 ¿Ê¿ô¤Ç¡¢¸½ºß¤Î¥Õ¥¡¥¤¥ë¥ª¥Õ¥»¥Ã¥È¤ò¼¨¤¹¡£
485 .I flags
486 ¥Õ¥£¡¼¥ë¥É¤Ï 8 ¿Ê¿ô¤Ç¡¢
487 ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹¥â¡¼¥É¤È¥Õ¥¡¥¤¥ë¾õÂ֥ե饰¤ò¼¨¤¹
488 .RB ( open (2)
489 »²¾È)¡£
490
491 .\"O The files in this directory are readable only by the owner of the process.
492 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î½êÍ­¼Ô¤À¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤­¤ë¡£
493 .\" FIXME document /proc/[pid]/io
494 .\" .TP
495 .\" .IR /proc/[pid]/io " (since kernel 2.6.20)"
496 .TP
497 .\"O .IR /proc/[pid]/limits " (since kernel 2.6.24)"
498 .IR /proc/[pid]/limits " (kernel 2.6.24 °Ê¹ß)"
499 .\"O This file displays the soft limit, hard limit, and units of measurement
500 .\"O for each of the process's resource limits (see
501 .\"O .BR getrlimit (2)).
502 .\"O The file is protected to only allow reading by the real UID of the process.
503 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤Î³Æ¥ê¥½¡¼¥¹À©¸Â¤Ë¤Ä¤¤¤Æ¡¢
504 ¥½¥Õ¥È¡¦¥ê¥ß¥Ã¥È¡¢¥Ï¡¼¥É¡¦¥ê¥ß¥Ã¥È¡¢·×–°Ì¤òɽ¼¨¤¹¤ë
505 .RB ( getrlimit (2)
506 »²¾È)¡£
507 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î¼Â UID ¤ò»ý¤Ä¤â¤Î¤À¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤­¤ë¡£
508 .TP
509 .I /proc/[pid]/maps
510 .\"O A file containing the currently mapped memory regions and their access
511 .\"O permissions.
512 ¸½ºß¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ë¥á¥â¥êÎΰè¤È¤½¤Î¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò´Þ¤à¡£
513
514 .\"O The format is:
515 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
516
517 .nf
518 .ft CW
519 address           perms offset  dev   inode   pathname
520 08048000-08056000 r-xp 00000000 03:0c 64593   /usr/sbin/gpm
521 08056000-08058000 rw-p 0000d000 03:0c 64593   /usr/sbin/gpm
522 08058000-0805b000 rwxp 00000000 00:00 0
523 40000000-40013000 r-xp 00000000 03:0c 4165    /lib/ld-2.2.4.so
524 40013000-40015000 rw-p 00012000 03:0c 4165    /lib/ld-2.2.4.so
525 4001f000-40135000 r-xp 00000000 03:0c 45494   /lib/libc-2.2.4.so
526 40135000-4013e000 rw-p 00115000 03:0c 45494   /lib/libc-2.2.4.so
527 4013e000-40142000 rw-p 00000000 00:00 0
528 bffff000-c0000000 rwxp 00000000 00:00 0
529 .ft
530 .fi
531
532 .\"O where "address" is the address space in the process that it occupies,
533 .\"O "perms" is a set of permissions:
534 ¤³¤³¤Ç "address" ¤Ï¥×¥í¥»¥¹¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Ç¤½¤Î¥á¥â¥êÎΰ褬Àê¤á¤Æ¤¤¤ë
535 ¥¢¥É¥ì¥¹¤Ç¡¢"perms" ¤Ï¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Î¥»¥Ã¥È¤Ç¤¢¤ë¡£
536
537 .nf
538 .in +5
539 r = read
540 w = write
541 x = execute
542 s = shared
543 p = private (copy on write)
544 .fi
545 .in
546
547 .\"O "offset" is the offset into the file/whatever, "dev" is the device
548 .\"O (major:minor), and "inode" is the inode on that device.
549 .\"O 0 indicates that no inode is associated with the memory region,
550 .\"O as the case would be with BSS (uninitialized data).
551 \&"offset" ¤Ï¥Õ¥¡¥¤¥ë (¤Ê¤É¤Î) Ãæ¤Ç¤Î¥ª¥Õ¥»¥Ã¥È¡¢
552 \&"dev" ¤Ï¥Ç¥Ð¥¤¥¹ (¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ:¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ)¡¢
553 \&"inode" ¤Ï¤½¤Î¥Ç¥Ð¥¤¥¹¤Î i ¥Î¡¼¥ÉÈÖ¹æ¤Ç¤¢¤ë¡£
554 ¤³¤ì¤¬ 0 ¤Î¤È¤­¤Ï¡¢bss (½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ç¡¼¥¿Îΰè) ¤Î¾ì¹ç¤Î¤è¤¦¤Ë
555 ¤³¤Î¥á¥â¥êÎΰè¤Ë¤Ï¤É¤Î i ¥Î¡¼¥É¤â³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤ë¡£
556
557 .\"O Under Linux 2.0 there is no field giving pathname.
558 Linux 2.0 ¤Ç¤Ï¥Ñ¥¹Ì¾¤ò½ñ¤¤¤¿¥Õ¥£¡¼¥ë¥É¤¬¤Ê¤¤¡£
559 .TP
560 .I /proc/[pid]/mem
561 .\"O This file can be used to access the pages of a process's memory through
562 .\"O .BR open (2),
563 .\"O .BR read (2),
564 .\"O and
565 .\"O .BR lseek (2).
566 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
567 .BR open (2),
568 .BR read (2),
569 .BR lseek (2)
570 ¤òÄ̤·¤Æ¡¢¥×¥í¥»¥¹¤Î¥á¥â¥ê¤Î¥Ú¡¼¥¸¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
571 .TP
572 .\"O .IR /proc/[pid]/mountinfo " (since Linux 2.6.26)"
573 .IR /proc/[pid]/mountinfo " (Linux 2.6.26 °Ê¹ß)"
574 .\" This info adapted from Documentation/filesystems/proc.txt
575 .\"O This file contains information about mount points.
576 .\"O It contains lines of the form:
577 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
578 °Ê²¼¤Î¤è¤¦¤Ê·Á¼°¤Î¹Ô¤«¤é¹½À®¤µ¤ì¤ë¡£
579 .nf
580 .ft CW
581
582 36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue
583 (1)(2)(3)   (4)   (5)      (6)      (7)   (8) (9)   (10)         (11)
584 .ft
585 .fi
586 .IP
587 .\"O The numbers in parentheses are labels for the descriptions below:
588 ³ç¸ÌÉÕ¤­¤Î¿ô»ú¤Ï¡¢°Ê²¼¤ÎÀâÌÀ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ë¡£
589 .RS 7
590 .TP 5
591 (1)
592 .\"O mount ID: unique identifier of the mount (may be reused after
593 .\"O .BR umount (2)).
594 ¥Þ¥¦¥ó¥È ID: ¥Þ¥¦¥ó¥È¤Î°ì°Õ¤Ê¼±ÊÌ»Ò
595 .RB ( umount (2)
596 ¤Î¸å¤ÏºÆÍøÍѤµ¤ì¤ë¤«¤â¤·¤ì¤Ê¤¤)¡£
597 .TP
598 (2)
599 .\"O parent ID: ID of parent mount (or of self for the top of the mount tree).
600 parent ID: ¿Æ¥Þ¥¦¥ó¥È¤Î ID
601 (¥Þ¥¦¥ó¥È¥Ä¥ê¡¼¤ÎºÇ¾å°Ì¤Î¾ì¹ç¤Ï¼«Ê¬¼«¿È¤Î ID ¤È¤Ê¤ë)¡£
602 .TP
603 (3)
604 .\"O major:minor: value of
605 .\"O .I st_dev
606 .\"O for files on file system (see
607 .\"O .BR stat (2)).
608 major:minor: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Î¥Õ¥¡¥¤¥ë¤Î
609 .I st_dev
610 ¤ÎÃÍ
611 .RB ( stat (2)
612 »²¾È)¡£
613 .TP
614 (4)
615 .\"O root: root of the mount within the file system.
616 ¥ë¡¼¥È: ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àÆâ¤Î¥Þ¥¦¥ó¥È¤Î¥ë¡¼¥È¡£
617 .TP
618 (5)
619 .\"O mount point: mount point relative to the process's root.
620 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È: ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¤½¤Î¥×¥í¥»¥¹¤Î¥ë¡¼¥È¤«¤é¤ÎÁêÂХѥ¹¡£
621 .TP
622 (6)
623 .\"O mount options: per-mount options.
624 ¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó: ³Æ¥Þ¥¦¥ó¥È¤Î¥ª¥×¥·¥ç¥ó¡£
625 .TP
626 (7)
627 .\"O optional fields: zero or more fields of the form "tag[:value]".
628 ¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É: "tag[:value]" ·Á¼°¤Î¥Õ¥£¡¼¥ë¥É¤¬ 0 ¸Ä°Ê¾åʤ֡£
629 .TP
630 (8)
631 .\"O separator: marks the end of the optional fields.
632 ¥»¥Ñ¥ì¡¼¥¿: ¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤Î½ª¤ï¤ê¤ò¼¨¤¹¡£
633 .TP
634 (9)
635 .\"O file system type: name of file system in the form "type[.subtype]".
636 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¼ïÊÌ: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î̾Á°¡£
637 "type[.subtype]" ¤È¤¤¤¦·Á¼°¤È¤Ê¤ë¡£
638 .TP
639 (10)
640 .\"O mount source: file system-specific information or "none".
641 ¥Þ¥¦¥ó¥È¸µ: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¸ÇÍ­¤Î¾ðÊ󡣤ʤ¤¾ì¹ç¤Ï "none" ¤È¤Ê¤ë¡£
642 .TP
643 (11)
644 .\"O super options: per-super block options.
645 super options: ¥¹¡¼¥Ñ¡¼¥Ö¥í¥Ã¥¯Ã±°Ì¤Î¥ª¥×¥·¥ç¥ó¡£
646 .RE
647 .IP
648 .\"O Parsers should ignore all unrecognized optional fields.
649 .\"O Currently the possible optional fields are:
650 ²ò¼á¤¹¤ë¦¤Ïǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤ÏÁ´¤Æ̵»ë¤¹¤Ù¤­¤Ç¤¢¤ë¡£
651 ¸½ºß¤Î¤È¤³¤í¡¢¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤È¤·¤Æ¤Ï°Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ë¡£
652 .RS 12
653 .TP 18
654 shared:X
655 .\"O mount is shared in peer group X
656 ¥Þ¥¦¥ó¥È¤Ï¥Ô¥¢¥°¥ë¡¼¥× (peer group) X ¤Ç¶¦Í­¤µ¤ì¤Æ¤¤¤ë¡£
657 .TP
658 master:X
659 .\"O mount is slave to peer group X
660 ¥Þ¥¦¥ó¥È¤Ï¥Ô¥¢¥°¥ë¡¼¥× (peer group) X ¤Î¥¹¥ì¡¼¥Ö¤Ç¤¢¤ë¡£
661 .TP
662 propagate_from:X
663 .\"O mount is slave and receives propagation from peer group X (*)
664 ¥Þ¥¦¥ó¥È¤Ï¥¹¥ì¡¼¥Ö¤Ç¤¢¤ê¡¢¥Ô¥¢¥°¥ë¡¼¥× X (*) ¤«¤é
665 mount propagation ¤ò¼õ¿®¤¹¤ë¡£
666 .TP
667 unbindable
668 .\"O mount is unbindable
669 ¥Þ¥¦¥ó¥È¤Ï unbind ¤Ç¤­¤Ê¤¤¡£
670 .RE
671 .IP
672 .\"O (*) X is the closest dominant peer group under the process's root.
673 .\"O If X is the immediate master of the mount,
674 .\"O or if there is no dominant peer group under the same root,
675 .\"O then only the "master:X" field is present
676 .\"O and not the "propagate_from:X" field.
677 (*) X ¤Ï¡¢¥×¥í¥»¥¹¤Î root ¤Çľ¶á¤Î dominant peer group ¤Ç¤¢¤ë¡£
678 X ¤¬¥Þ¥¦¥ó¥È¤ÎľÀܤΥޥ¹¥¿¡¼¤Ç¤¢¤ë¾ì¹ç¤ä¡¢
679 Ʊ¤¸ root ¤Ë dominant peer group ¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢
680 "master:X" ¥Õ¥£¡¼¥ë¥É¤À¤±¤¬Â¸ºß¤·¡¢
681 "propagate_from:X" ¥Õ¥£¡¼¥ë¥É¤Ï¸ºß¤·¤Ê¤¤¡£
682
683 .\"O For more information on mount propagation see:
684 .\"O .I Documentation/filesystems/sharedsubtree.txt
685 .\"O in the kernel source tree.
686 mount propagation ¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Ä¥ê¡¼Æâ¤Î
687 .I Documentation/filesystems/sharedsubtree.txt
688 ¤ò»²¾È¡£
689 .TP
690 .\"O .IR /proc/[pid]/mounts " (since Linux 2.4.19)"
691 .IR /proc/[pid]/mounts " (Linux 2.4.19 °Ê¹ß)"
692 .\"O This is a list of all the file systems currently mounted in the
693 .\"O process's mount namespace.
694 .\"O The format of this file is documented in
695 .\"O .BR fstab (5).
696 ¤½¤Î¥×¥í¥»¥¹¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤Ë¸½ºß¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë
697 Á´¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ê¥¹¥È¡£
698 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
699 .BR fstab (5)
700 ¤ËºÜ¤Ã¤Æ¤¤¤ë¡£
701 .\"O Since kernel version 2.6.15, this file is pollable:
702 .\"O after opening the file for reading, a change in this file
703 .\"O (i.e., a file system mount or unmount) causes
704 .\"O .BR select (2)
705 .\"O to mark the file descriptor as readable, and
706 .\"O .BR poll (2)
707 .\"O and
708 .\"O .BR epoll_wait (2)
709 .\"O mark the file as having an error condition.
710 ¥«¡¼¥Í¥ë 2.6.15 °Ê¹ß¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò´Æ»ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë (pollable)¡£
711 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф·ÍѤ˥ª¡¼¥×¥ó¤·¤¿¸å¤Ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ËÊѹ¹¤¬¤¢¤ë¤È
712 (¤Ä¤Þ¤ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Þ¥¦¥ó¥È¤ä¥¢¥ó¥Þ¥¦¥ó¥È¤¬¤¢¤ë¤È)¡¢
713 .BR select (2)
714 ¤Ç¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ÏÆɤ߽Ф·²Äǽ¤È¤Ê¤ê¡¢
715 .BR poll (2)
716 ¤È
717 .BR epoll_wait (2)
718 ¤Ç¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤Ï¥¨¥é¡¼¾õÂ֤Ȥ·¤ÆÄÌÃΤµ¤ì¤ë¡£
719 .TP
720 .\"O .IR /proc/[pid]/mountstats " (since Linux 2.6.17)"
721 .IR /proc/[pid]/mountstats " (Linux 2.6.17 °Ê¹ß)"
722 .\"O This file exports information (statistics, configuration information)
723 .\"O about the mount points in the process's name space.
724 .\"O Lines in this file have the form:
725 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÄ̤¸¤Æ¡¢¤½¤Î¥×¥í¥»¥¹¤Î̾Á°¶õ´ÖÆâ¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ë´Ø¤¹¤ë
726 ³Æ¼ï¾ðÊó (Åý·×¡¢ÀßÄê¾ðÊó) ¤ò»²¾È¤Ç¤­¤ë¡£
727 ¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Ï°Ê²¼¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë¡£
728 .nf
729
730 device /dev/sda7 mounted on /home with fstype ext3 [statistics]
731 (       1      )            ( 2 )             (3 ) (4)
732 .fi
733 .IP
734 .\"O The fields in each line are:
735 ³Æ¹Ô¤Î¥Õ¥£¡¼¥ë¥É¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
736 .RS 7
737 .TP 5
738 (1)
739 .\"O The name of the mounted device
740 .\"O (or "nodevice" if there is no corresponding device).
741 ¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Ç¥Ð¥¤¥¹Ì¾
742 (Âбþ¤¹¤ë¥Ç¥Ð¥¤¥¹¤¬¤Ê¤¤¾ì¹ç¤Ï "nodevice" ¤È¤Ê¤ë)¡£
743 .TP
744 (2)
745 .\"O The mount point within the file system tree.
746 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥Ä¥ê¡¼¤Ë¤ª¤±¤ë¥Ñ¥¹Ì¾¡£
747 .TP
748 (3)
749 .\"O The file system type.
750 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¼ïÊÌ¡£
751 .TP
752 (4)
753 .\"O Optional statistics and configuration information.
754 .\"O Currently (as at Linux 2.6.26), only NFS file systems export
755 .\"O information via this field.
756 ÄɲäÎÅý·×¤äÀßÄê¾ðÊó¡£
757 ¸½ºß¤Î¤È¤³¤í (Linux 2.6.26 »þÅÀ¤Ç¤Ï)¡¢
758 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ç¾ðÊó¤¬Ä󶡤µ¤ì¤Æ¤¤¤ë¤Î¤Ï NFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤À¤±¤Ç¤¢¤ë¡£
759 .RE
760 .IP
761 .\"O This file is only readable by the owner of the process.
762 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥×¥í¥»¥¹¤Î½êÍ­¼Ô¤À¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤­¤ë¡£
763 .TP
764 .\"O .IR /proc/[pid]/numa_maps " (since Linux 2.6.14)"
765 .IR /proc/[pid]/numa_maps " (Linux 2.6.14 °Ê¹ß)"
766 .\"O See
767 .\"O .BR numa (7).
768 .BR numa (7)
769 ¤ò»²¾È¡£
770 .TP
771 .\"O .IR /proc/[pid]/oom_adj " (since Linux 2.6.11)"
772 .IR /proc/[pid]/oom_adj " (Linux 2.6.11 °Ê¹ß)"
773 .\"O This file can be used to adjust the score used to select which process
774 .\"O should be killed in an out-of-memory (OOM) situation.
775 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥á¥â¥êÉÔ­ (OOM) ¤Î¾õ¶·²¼¤Ç
776 ¤É¤Î¥×¥í¥»¥¹¤ò»¦¤¹¤Ù¤­¤«¤òÁªÂò¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¥¹¥³¥¢¤ò
777 Ä´À°¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¡£
778 .\"O The kernel uses this value for a bit-shift operation of the process's
779 .\"O .IR oom_score
780 .\"O value:
781 .\"O valid values are in the range \-16 to +15,
782 .\"O plus the special value \-17,
783 .\"O which disables OOM-killing altogether for this process.
784 ¥«¡¼¥Í¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î
785 .I oom_score
786 ÃͤΥӥåȥ·¥Õ¥ÈÁàºî¤Ë¡¢¤³¤ÎÃͤò»ÈÍѤ¹¤ë¡£
787 ¤³¤ÎÃͤȤ·¤ÆÍ­¸ú¤ÊÃͤϠ\-16 ¤«¤é +15 ¤Þ¤Ç¤È¡¢
788 ÆÃÊ̤ʰÕÌ£¤ò»ý¤Ä \-17 ¤Ç¤¢¤ë¡£
789 \-17 ¤Ï¤½¤Î¥×¥í¥»¥¹¤ËÂФ¹¤ë OOM-killing ¤ò´°Á´¤Ë̵¸ú¤Ë¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
790 .\"O A positive score increases the likelihood of this
791 .\"O process being killed by the OOM-killer;
792 .\"O a negative score decreases the likelihood.
793 Àµ¤ÎÃͤۤɡ¢¤½¤Î¥×¥í¥»¥¹¤¬ OOM-killer ¤Ë¤è¤ê»¦¤µ¤ì¤ë²ÄǽÀ­¤¬¹â¤¯¤Ê¤ê¡¢
794 Éé¤ÎÃͤۤɲÄǽÀ­¤¬Ä㤯¤Ê¤ë¡£
795 .\"O The default value for this file is 0;
796 .\"O a new process inherits its parent's
797 .\"O .I oom_adj
798 .\"O setting.
799 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϠ0 ¤Ç¤¢¤ë¡£
800 ¿·¤·¤¤¥×¥í¥»¥¹¤Ï¿Æ¥×¥í¥»¥¹¤Î
801 .I oom_adj
802 ¤ÎÀßÄê¤ò·Ñ¾µ¤¹¤ë¡£
803 .\"O A process must be privileged
804 .\"O .RB ( CAP_SYS_RESOURCE )
805 .\"O to update this file.
806 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë¤Ï¡¢¥×¥í¥»¥¹¤ÏÆø¢
807 .RB ( CAP_SYS_RESOURCE )
808 ¤ò»ý¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
809 .TP
810 .\"O .IR /proc/[pid]/oom_score " (since Linux 2.6.11)"
811 .IR /proc/[pid]/oom_score " (Linux 2.6.11 °Ê¹ß)"
812 .\" See mm/oom_kill.c::badness() in the 2.6.25 sources
813 .\"O This file displays the current score that the kernel gives to
814 .\"O this process for the purpose of selecting a process
815 .\"O for the OOM-killer.
816 .\"O A higher score means that the process is more likely to be
817 .\"O selected by the OOM-killer.
818 .\"O The basis for this score is the amount of memory used by the process,
819 .\"O with increases (+) or decreases (\-) for factors including:
820 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢OOM-killer ¤Î¥×¥í¥»¥¹ÁªÂòÍѤȤ·¤Æ¡¢¥«¡¼¥Í¥ë¤¬
821 ¤³¤Î¥×¥í¥»¥¹¤ËÂФ·¤ÆÍ¿¤¨¤¿¸½ºß¤Î¥¹¥³¥¢¤òɽ¼¨¤¹¤ë¡£
822 ¹â¤¤¥¹¥³¥¢¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤¬ OOM-killer ¤Ë¤è¤êÁªÂò¤µ¤ì¤ë
823 ²ÄǽÀ­¤¬¹â¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
824 ¤³¤Î¥¹¥³¥¢¤Î´ðËܤϤ½¤Î¥×¥í¥»¥¹¤¬»ÈÍѤ·¤Æ¤¤¤ë¥á¥â¥êÎ̤Ǥ¢¤ê¡¢
825 °Ê²¼¤ÎÍ×°ø¤Ë¤è¤ê²Ã»» (+) ¸º»» (\-) ¤¬¹Ô¤ï¤ì¤ë¡£
826 .\" See mm/oom_kill.c::badness() in the 2.6.25 sources
827 .RS
828 .IP * 2
829 .\"O whether the process creates a lot of children using
830 .\"O .BR fork (2)
831 .\"O (+);
832 ¤½¤Î¥×¥í¥»¥¹¤¬Â¿¤¯¤Î»Ò¥×¥í¥»¥¹¤ò
833 .BR fork (2)
834 ¤ò»È¤Ã¤ÆºîÀ®¤·¤Æ¤¤¤ë¤« (+)¡£
835 .IP *
836 .\"O whether the process has been running a long time,
837 .\"O or has used a lot of CPU time (\-);
838 ¤½¤Î¥×¥í¥»¥¹¤¬Ä¹»þ´Ö¼Â¹Ô¤µ¤ì¤ÆÍ褿¤«¡¢¤â¤·¤¯¤Ï
839 ¿¤¯¤Î CPU »þ´Ö¤ò»ÈÍѤ·¤Æ¤¤¤ë¤« (\-)¡£
840 .IP *
841 .\"O whether the process has a low nice value (i.e., > 0) (+);
842 ¤½¤Î¥×¥í¥»¥¹¤¬Ä㤤 nice ÃÍ (> 0) ¤ò»ý¤Ã¤Æ¤¤¤ë¤« (+)¡£
843 .IP *
844 .\"O whether the process is privileged (\-); and
845 .\"O .\" More precisely, if it has CAP_SYS_ADMIN or CAP_SYS_RESOURCE
846 ¤½¤Î¥×¥í¥»¥¹¤¬Æø¢¤ò»ý¤Ã¤Æ¤¤¤ë¤« (\-)¡£
847 .\" ¤è¤êÀµ³Î¤Ë¤Ï¡¢CAP_SYS_ADMIN ¤« CAP_SYS_RESOURCE ¤ò»ý¤Ã¤Æ¤¤¤ë¤«¡£
848 .IP *
849 .\"O whether the process is making direct hardware access (\-).
850 .\"O .\" More precisely, if it has CAP_SYS_RAWIO
851 ¤½¤Î¥×¥í¥»¥¹¤¬ direct hardware access ¤ò¹Ô¤Ã¤Æ¤¤¤ë¤« (\-)¡£
852 .\" ¤è¤êÀµ³Î¤Ë¤Ï¡¢CAP_SYS_RAWIO ¤ò»ý¤Ã¤Æ¤¤¤ë¤«¡£
853 .RE
854 .IP
855 .\"O The
856 .\"O .I oom_score
857 .\"O also reflects the bit-shift adjustment specified by the
858 .\"O .I oom_adj
859 .\"O setting for the process.
860 .I oom_score
861 ¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤Î
862 .I oom_adj
863 ÀßÄê¤Çµ¬Äꤵ¤ì¤ë¥Ó¥Ã¥È¥·¥Õ¥ÈÄ´À°¤Ë¤â±Æ¶Á¤òÍ¿¤¨¤ë¡£
864 .\" FIXME Describe /proc/[pid]/pagemap
865 .\"       Added in 2.6.25
866 .\"       CONFIG_PROC_PAGE_MONITOR
867 .TP
868 .I /proc/[pid]/root
869 .\"O Unix and Linux support the idea of a per-process root of the
870 .\"O file system, set by the
871 .\"O .BR chroot (2)
872 .\"O system call.
873 .\"O This file is a symbolic link that points to the process's
874 .\"O root directory, and behaves as exe, fd/*, etc. do.
875 Unix ¤È Linux ¤Ç¤Ï¡¢
876 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È (/) ¤ò¥×¥í¥»¥¹¤´¤È¤ËÊÌ¡¹¤Ë¤Ç¤­¤ë¡£
877 ¤³¤ì¤Ï¥·¥¹¥Æ¥à¥³¡¼¥ë
878 .BR chroot (2)
879 ¤Ë¤è¤Ã¤ÆÀßÄꤹ¤ë¡£
880 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥×¥í¥»¥¹¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò»Ø¤¹¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç¡¢
881 exe ¤ä fd/* ¤Ê¤É¤ÈƱ¤¸¤è¤¦¤ÊÆ°ºî¤ò¤¹¤ë¡£
882
883 .\"O .\" The following was still true as at kernel 2.6.13
884 .\" °Ê²¼¤ÎÆâÍƤϠ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
885 .\"O In a multithreaded process, the contents of this symbolic link
886 .\"O are not available if the main thread has already terminated
887 .\"O (typically by calling
888 .\"O .BR pthread_exit (3)).
889 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
890 ¤³¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÎÆâÍƤϻ²¾È¤Ç¤­¤Ê¤¤
891 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
892 .BR pthread_exit (3)
893 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
894 .\" FIXME Describe /proc/[pid]/seccomp
895 .\"       Added in 2.6.12
896 .\" FIXME Describe /proc/[pid]/sessionid
897 .\"       Added in 2.6.25; read-only; only readable by real UID
898 .\"       CONFIG_AUDITSYSCALL
899 .\" FIXME Describe /proc/[pid]/sched
900 .\"       Added in 2.6.23
901 .\"       CONFIG_SCHED_DEBUG, and additional fields if CONFIG_SCHEDSTATS
902 .\"       Displays various scheduling parameters
903 .\"       This file can be written, to reset stats
904 .\" FIXME Describe /proc/[pid]/schedstats and
905 .\"       /proc/[pid]/task/[tid]/schedstats
906 .\"       Added in 2.6.9
907 .\"       CONFIG_SCHEDSTATS
908 .TP
909 .\"O .IR /proc/[pid]/smaps " (since Linux 2.6.14)"
910 .IR /proc/[pid]/smaps " (Linux 2.6.14 °Ê¹ß)"
911 .\"       CONFIG_PROC_PAGE_MONITOR
912 .\"O This file shows memory consumption for each of the process's mappings.
913 .\"O For each of mappings there is a series of lines such as the following:
914 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤Î³Æ¥Þ¥Ã¥Ô¥ó¥°¤Î¥á¥â¥ê¾ÃÈñÎ̤òɽ¼¨¤¹¤ë¡£
915 ¥Þ¥Ã¥Ô¥ó¥°¤Î¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ¡¢°Ê²¼¤Î¤è¤¦¤ÊÆâÍƤ¬É½¼¨¤µ¤ì¤ë¡£
916 .in +4n
917 .nf
918
919 08048000-080bc000 r-xp 00000000 03:02 13130      /bin/bash
920 Size:               464 kB
921 Rss:                424 kB
922 Shared_Clean:       424 kB
923 Shared_Dirty:         0 kB
924 Private_Clean:        0 kB
925 Private_Dirty:        0 kB
926
927 .fi
928 .in
929 .\"O The first of these lines shows the same information as is displayed
930 .\"O for the mapping in
931 .\"O .IR /proc/[pid]/maps .
932 .\"O The remaining lines show the size of the mapping,
933 .\"O the amount of the mapping that is currently resident in RAM,
934 .\"O the number of clean and dirty shared pages in the mapping,
935 .\"O and the number of clean and dirty private pages in the mapping.
936 ºÇ½é¤Î¹Ô¤Ë¤Ï¡¢
937 .I /proc/[pid]/maps
938 ¤Çɽ¼¨¤µ¤ì¤ë¥Þ¥Ã¥Ô¥ó¥°¤ÈƱ¤¸¾ðÊó¤¬É½¼¨¤µ¤ì¤ë¡£
939 »Ä¤ê¤Î¹Ô¤Ë¤Ï¡¢¥Þ¥Ã¥Ô¥ó¥°¤Î¥µ¥¤¥º¡¢¸½ºß RAM ¾å¤Ë¸ºß¤¹¤ë¥Þ¥Ã¥Ô¥ó¥°¤ÎÎÌ¡¢
940 ¥Þ¥Ã¥Ô¥ó¥°Æâ¤Î¶¦Í­¥Ú¡¼¥¸¤Î¤¦¤Á¥¯¥ê¡¼¥ó¤Ê¥Ú¡¼¥¸¿ô¡¢¥À¡¼¥Æ¥£¤Ê¥Ú¡¼¥¸¿ô¡¢
941 ¥Þ¥Ã¥Ô¥ó¥°Æâ¤Î¥×¥é¥¤¥Ù¡¼¥È¥Ú¡¼¥¸¤Î¤¦¤Á¥¯¥ê¡¼¥ó¤Ê¥Ú¡¼¥¸¿ô¡¢
942 ¥À¡¼¥Æ¥£¤Ê¥Ú¡¼¥¸¿ô¡¢¤ò¼¨¤¹¡£
943
944 .\"O This file is only present if the
945 .\"O .B CONFIG_MMU
946 .\"O kernel configuration
947 .\"O option is enabled.
948 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤Î¤Ï¡¢¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥®¥å¥ì¡¼¥·¥ç¥ó¡¦¥ª¥×¥·¥ç¥ó
949 .B CONFIG_MMU
950 ¤òÍ­¸ú¤Ë¤·¤¿¾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
951 .TP
952 .I /proc/[pid]/stat
953 .\"O Status information about the process.
954 .\"O This is used by
955 .\"O .BR ps (1).
956 .\"O It is defined in
957 .\"O .IR /usr/src/linux/fs/proc/array.c "."
958 ¥×¥í¥»¥¹¤Î¾õÂ֤ˤĤ¤¤Æ¤Î¾ðÊó¡£
959 ¤³¤ì¤Ï
960 .BR ps (1)
961 ¤Ç»È¤ï¤ì¡¢
962 .I /usr/src/linux/fs/proc/array.c
963 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
964
965 .\"O The fields, in order, with their proper
966 .\"O .BR scanf (3)
967 .\"O format specifiers, are:
968 ³Æ¥Õ¥£¡¼¥ë¥É¤ò½çÈ֤ˡ¢
969 .BR scanf (3)
970 ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È»ØÄê»ÒÉÕ¤­¤Ç°Ê²¼¤Ë¼¨¤¹¡£
971 .RS
972 .TP 12
973 \fIpid\fP %d
974 .\"O The process ID.
975 ¥×¥í¥»¥¹ ID¡£
976 .TP
977 \fIcomm\fP %s
978 .\"O The filename of the executable, in parentheses.
979 .\"O This is visible whether or not the executable is swapped out.
980 ³ç¸Ì¤Ç¤¯¤¯¤é¤ì¤¿¼Â¹Ô·Á¼°¤Î¥Õ¥¡¥¤¥ë̾¡£
981 ¼Â¹Ô·Á¼°¤¬¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë¤è¤é¤º¡¢¸«¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
982 .TP
983 \fIstate\fP %c
984 .\"O One character from the string "RSDZTW" where R is running, S is
985 .\"O sleeping in an interruptible wait, D is waiting in uninterruptible
986 .\"O disk sleep, Z is zombie, T is traced or stopped (on a signal),
987 .\"O and W is paging.
988 "RSDZTW" ¤Î¤É¤ì¤« 1 Ê¸»ú¡£
989 R ¤Ï¼Â¹ÔÃæ (running)¡¢
990 S ¤Ï³ä¤ê¹þ¤ß²Äǽ¤ÊµÙ̲¾õÂÖ (sleeping in an interruptible wait)¡¢
991 D ¤Ï³ä¤ê¹þ¤ßÉÔ²Äǽ¤Ê¥Ç¥£¥¹¥¯¥¹¥ê¡¼¥×¤ÎÂÔµ¡¾õÂÖ
992 (waiting in uninterruptible disk sleep)¡¢
993 Z ¤Ï¥¾¥ó¥Ó¾õÂÖ (zombie)¡¢
994 T ¤Ï¥È¥ì¡¼¥¹¤µ¤ì¤Æ¤¤¤ë (traced) ¤«
995 (¥·¥°¥Ê¥ë¤Ë¤è¤ê) Ää»ß¤·¤Æ¤¤¤ë¾õÂÖ (stopped)¡¢
996 W ¤Ï¥Ú¡¼¥¸¥ó¥°Ãæ (paging) ¤òɽ¤·¤Æ¤¤¤ë¡£
997 .TP
998 \fIppid\fP %d
999 .\"O The PID of the parent.
1000 ¿Æ¥×¥í¥»¥¹¤Î PID¡£
1001 .TP
1002 \fIpgrp\fP %d
1003 .\"O The process group ID of the process.
1004 ¥×¥í¥»¥¹¤Î¥×¥í¥»¥¹¥°¥ë¡¼¥× ID¡£
1005 .TP
1006 \fIsession\fP %d
1007 .\"O The session ID of the process.
1008 ¥×¥í¥»¥¹¤Î¥»¥Ã¥·¥ç¥ó ID¡£
1009 .TP
1010 \fItty_nr\fP %d
1011 .\"O The controlling terminal of the process.
1012 .\"O (The minor device number is contained in the combination of bits
1013 .\"O 31 to 20 and 7 to 0;
1014 .\"O the major device number is in bits 15 t0 8.)
1015 ¥×¥í¥»¥¹¤ÎÀ©¸æüËö
1016 (¥Þ¥¤¥Ê¡¼¡¦¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¥Ó¥Ã¥È 31¡Á20 ¤È 7¡Á0 ¤Ë¤Þ¤¿¤¬¤Ã¤Æ³ÊǼ¤µ¤ì¡¢
1017 ¥á¥¸¥ã¡¼¡¦¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¥Ó¥Ã¥È 15¡Á8 ¤Ë³ÊǼ¤µ¤ì¤ë)¡£
1018 .TP
1019 \fItpgid\fP %d
1020 .\"O .\" This field and following, up to and including wchan added 0.99.1
1021 .\" ¤³¤Î¥Õ¥£¡¼¥ë¥É¤«¤é wchan ¤Þ¤Ç¤Ï 0.99.1 ¤ÇÄɲ䵤줿¡£
1022 .\"O The ID of the foreground process group of the controlling
1023 .\"O terminal of the process.
1024 ¥×¥í¥»¥¹¤ÎÀ©¸æüËö¤Î¥Õ¥©¥¢¥°¥é¥ó¥É¡¦¥×¥í¥»¥¹¡¦¥°¥ë¡¼¥×¤Î ID¡£
1025 .TP
1026 .\"O \fIflags\fP %u (%lu before Linux 2.6.22)
1027 \fIflags\fP %u (Linux 2.6.22 ¤è¤êÁ°¤Ï %lu)
1028 .\"O The kernel flags word of the process.
1029 .\"O For bit meanings,
1030 .\"O see the PF_* defines in
1031 .\"O .IR <linux/sched.h> .
1032 .\"O Details depend on the kernel version.
1033 ¥×¥í¥»¥¹¤Î¥«¡¼¥Í¥ë¥Õ¥é¥°¥ï¡¼¥É¡£
1034 ¥Ó¥Ã¥È¤Î°ÕÌ£¤Ï¡¢
1035 .I <linux/sched.h>
1036 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë PF_* ¤ò»²¾È¤¹¤ë¤³¤È¡£
1037 ¾ÜºÙ¤Ï¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë°Í¸¤¹¤ë¡£
1038 .TP
1039 \fIminflt\fP %lu
1040 .\"O The number of minor faults the process has made which have not
1041 .\"O required loading a memory page from disk.
1042 ¥×¥í¥»¥¹¤¬°ú¤­µ¯¤³¤·¤¿¥Þ¥¤¥Ê¡¼¥Õ¥©¡¼¥ë¥È (minor fault¡¢¥Ç¥£¥¹¥¯¤«¤é
1043 ¥á¥â¥ê¥Ú¡¼¥¸¤Ø¤Î¥í¡¼¥É¤òɬÍפȤ·¤Ê¤¤¥Õ¥©¡¼¥ë¥È) ¤Î²ó¿ô¡£
1044 .TP
1045 .\" field 11
1046 \fIcminflt\fP %lu
1047 .\"O The number of minor faults that the process's
1048 .\"O waited-for children have made.
1049 (¤½¤Î¥×¥í¥»¥¹¤¬½ªÎ»¤òÂԤäƤ¤¤ë)
1050 »Ò¥×¥í¥»¥¹¤¬°ú¤­µ¯¤³¤·¤¿¥Þ¥¤¥Ê¡¼¥Õ¥©¡¼¥ë¥È¤Î²ó¿ô¡£
1051 .TP
1052 \fImajflt\fP %lu
1053 .\"O The number of major faults the process has made which have
1054 .\"O required loading a memory page from disk.
1055 ¥×¥í¥»¥¹¤¬°ú¤­µ¯¤³¤·¤¿¥á¥¸¥ã¡¼¥Õ¥©¡¼¥ë¥È (major fault¡¢¥Ç¥£¥¹¥¯¤«¤é
1056 ¥á¥â¥ê¥Ú¡¼¥¸¤Ø¤Î¥í¡¼¥É¤òɬÍפȤ¹¤ë¥Õ¥©¡¼¥ë¥È) ¤Î²ó¿ô¡£
1057 .TP
1058 \fIcmajflt\fP %lu
1059 .\"O The number of major faults that the process's
1060 .\"O waited-for children have made.
1061 (¤½¤Î¥×¥í¥»¥¹¤¬½ªÎ»¤òÂԤäƤ¤¤ë)
1062 »Ò¥×¥í¥»¥¹¤¬°ú¤­µ¯¤³¤·¤¿¥á¥¸¥ã¡¼¥Õ¥©¡¼¥ë¥È¤Î²ó¿ô¡£
1063 .TP
1064 \fIutime\fP %lu
1065 .\"O Amount of time that this process has been scheduled in user mode,
1066 .\"O measured in clock ticks (divide by
1067 .\"O .IR sysconf(_SC_CLK_TCK) .
1068 .\"O This includes guest time, \fIguest_time\fP
1069 .\"O (time spent running a virtual CPU, see below),
1070 .\"O so that applications that are not aware of the guest time field
1071 .\"O do not lose that time from their calculations.
1072 ¤³¤Î¥×¥í¥»¥¹¤¬¥æ¡¼¥¶¡¼¥â¡¼¥É¤Ç¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿»þ´Ö¤Î¹ç·×¡£
1073 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1074 .RI ( sysconf(_SC_CLK_TCK)
1075 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1076 ¤³¤ÎÃͤˤϥ²¥¹¥È»þ´Ö \fIguest_time\fP (²¾ÁÛ CPU ¤Î¼Â¹Ô¤Ë¾ÃÈñ¤µ¤ì¤¿»þ´Ö)
1077 ¤â´Þ¤Þ¤ì¤ë¡£¤³¤ì¤Ï¡¢¥²¥¹¥È»þ´Ö¤Î¥Õ¥£¡¼¥ë¥É¤òǧ¼±¤·¤Ê¤¤¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
1078 ¤Ë¤ª¤¤¤Æ¡¢¥²¥¹¥È»þ´Öʬ¤ò·×»»¤ËÆþ¤ì»¤Í¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ç¤¢¤ë¡£
1079 .TP
1080 \fIstime\fP %lu
1081 .\"O Amount of time that this process has been scheduled in kernel mode,
1082 .\"O measured in clock ticks (divide by
1083 .\"O .IR sysconf(_SC_CLK_TCK) .
1084 ¥×¥í¥»¥¹¤Î¥«¡¼¥Í¥ë¥â¡¼¥É¤Ç¤Î¼Â¹Ô»þ´Ö (ñ°Ì jiffies)¡£
1085 ¤³¤Î¥×¥í¥»¥¹¤¬¥«¡¼¥Í¥ë¥â¡¼¥É¤Ç¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿»þ´Ö¤Î¹ç·×¡£
1086 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1087 .RI ( sysconf(_SC_CLK_TCK)
1088 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1089 .TP
1090 \fIcutime\fP %ld
1091 .\"O Amount of time that this process's
1092 .\"O waited-for children have been scheduled in user mode,
1093 .\"O measured in clock ticks (divide by
1094 .\"O .IR sysconf(_SC_CLK_TCK) .
1095 .\"O (See also
1096 .\"O .BR times (2).)
1097 .\"O This includes guest time, \fIcguest_time\fP
1098 .\"O (time spent running a virtual CPU, see below).
1099 .\"O motoki: waited-for children ¤ÎÌõ¤Ë¼«¿®¤Ê¤·¡£
1100 ¤³¤Î¥×¥í¥»¥¹¤Î»Ò¥×¥í¥»¥¹¤Ç¡¢½ªÎ»ÂÔ¤Á (waited-for) ¤Î¥×¥í¥»¥¹¤¬¡¢
1101 ¥æ¡¼¥¶¥â¡¼¥É¤Ç¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿»þ´Ö¤Î¹ç·×¡£
1102 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1103 .RI ( sysconf(_SC_CLK_TCK)
1104 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1105 .RB ( times (2)
1106 ¤â»²¾È¤¹¤ë¤³¤È¡£)
1107 ¤³¤ÎÃͤˤϥ²¥¹¥È»þ´Ö \fIcguest_time\fP
1108 (²¾ÁÛ CPU ¤ò¼Â¹Ô¤¹¤ë¤Î¤Ë¾ÃÈñ¤·¤¿»þ´Ö¡¢²¼µ­»²¾È) ¤â´Þ¤Þ¤ì¤ë¡£
1109 .TP
1110 \fIcstime\fP %ld
1111 .\"O Amount of time that this process's
1112 .\"O waited-for children have been scheduled in kernel mode,
1113 .\"O measured in clock ticks (divide by
1114 .\"O .IR sysconf(_SC_CLK_TCK) .
1115 .\"O motoki: waited-for children ¤ÎÌõ¤Ë¼«¿®¤Ê¤·¡£
1116 ¤³¤Î¥×¥í¥»¥¹¤Î»Ò¥×¥í¥»¥¹¤Ç¡¢½ªÎ»ÂÔ¤Á (waited-for) ¤Î¥×¥í¥»¥¹¤¬¡¢
1117 ¥«¡¼¥Í¥ë¥â¡¼¥É¤Ç¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿»þ´Ö¤Î¹ç·×¡£
1118 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1119 .RI ( sysconf(_SC_CLK_TCK)
1120 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1121 .TP
1122 \fIpriority\fP %ld
1123 .\"O (Explanation for Linux 2.6)
1124 (Linux 2.6 ¤Î¾ì¹ç¤ÎÀâÌÀ)
1125 .\"O For processes running a real-time scheduling policy
1126 .\"O .RI ( policy
1127 .\"O below; see
1128 .\"O .BR sched_setscheduler (2)),
1129 .\"O this is the negated scheduling priority, minus one;
1130 .\"O that is, a number in the range \-2 to \-100,
1131 .\"O corresponding to real-time priorities 1 to 99.
1132 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¥Ý¥ê¥·¡¼
1133 (²¼µ­¤Î
1134 .I policy ;
1135 .BR sched_setscheduler (2)
1136 »²¾È) ¤ÇÆ°ºî¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤Ç¤Ï¡¢
1137 ¤³¤ÎÃͤϥ¹¥±¥¸¥å¡¼¥ê¥ó¥°Í¥ÀèÅÙ¤òȿž¤·¤¿ÃÍ (¥¹¥±¥¸¥å¡¼¥ê¥ó¥°Í¥ÀèÅÙ¤ò
1138 ¥Þ¥¤¥Ê¥¹¤Ë¤·¤¿ÃÍ) ¤È¤Ê¤ë¡£ÃͤϠ\-2 ¤«¤é \-100 ¤Þ¤Ç¤ÎÈϰϤοôÃͤǡ¢
1139 ¤½¤ì¤¾¤ì¥ê¥¢¥ë¥¿¥¤¥àÍ¥ÀèÅ٤Π1 ¤«¤é 9 ¤ËÂбþ¤¹¤ë¡£
1140 .\"O For processes running under a non-real-time scheduling policy,
1141 .\"O this is the raw nice value
1142 .\"O .RB ( setpriority (2))
1143 .\"O as represented in the kernel.
1144 .\"O The kernel stores nice values as numbers
1145 .\"O in the range 0 (high) to 39 (low),
1146 .\"O corresponding to the user-visible nice range of \-20 to 19.
1147 ¥ê¥¢¥ë¥¿¥¤¥à°Ê³°¤Î¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¥Ý¥ê¥·¡¼¤ÇÆ°ºî¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤Ç¤Ï¡¢
1148 ¤³¤ÎÃͤϥ«¡¼¥Í¥ëÆâ¤Ç´ÉÍý¤µ¤ì¤Æ¤¤¤ë nice Ãͤ½¤Î¤â¤Î
1149 .RB ( setpriority (2))
1150 ¤È¤Ê¤ë¡£
1151 ¥«¡¼¥Í¥ë¤Ï nice Ãͤò 0 (¹â) ¤«¤é 39 (Äã) ¤ÎÈϰϤÎÃͤȤ·¤ÆÊÝ»ý¤·¤Æ¤ª¤ê¡¢
1152 ¤½¤ì¤¾¤ì¥æ¡¼¥¶¤Ë¸«¤¨¤ë nice ÃͤΠ\-20 ¤«¤é 19 ¤ËÂбþ¤¹¤ë¡£
1153
1154 .\"O Before Linux 2.6, this was a scaled value based on
1155 .\"O the scheduler weighting given to this process.
1156 Linux 2.6 ¤è¤êÁ°¤Ç¤Ï¡¢¤³¤Î¥×¥í¥»¥¹¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥¹¥±¥¸¥å¡¼¥ê¥ó¥°
1157 ½Å¤ß¤òÊÑ´¹¤·¤¿Ãͤ¬É½¼¨¤µ¤ì¤Æ¤¤¤¿¡£
1158 .\" And back in kernel 1.2 days things were different again.
1159 .TP
1160 \fInice\fP %ld
1161 .\"O The nice value (see
1162 .\"O .BR setpriority (2)),
1163 .\"O a value in the range 19 (low priority) to \-20 (high priority).
1164 nice ÃÍ
1165 .RB ( setpriority (2)
1166 »²¾È)¡£
1167 19 (ºÇÄãÍ¥Àè) ¤«¤é \-20 (ºÇ¹âÍ¥Àè) ¤ÎÈϰϤÎÃͤǤ¢¤ë¡£
1168 .\" Back in kernel 1.2 days things were different.
1169 .TP
1170 .\" .TP
1171 .\" \fIcounter\fP %ld
1172 .\"O .\" The current maximum size in jiffies of the process's next timeslice,
1173 .\"O .\" or what is currently left of its current timeslice, if it is the
1174 .\"O .\" currently running process.
1175 .\" ¤³¤Î¥×¥í¥»¥¹¤¬¸½ºß¼Â¹ÔÃæ¤Ç¤¢¤ë¾ì¹ç¡¢
1176 .\" ¼¡¤Î¥¿¥¤¥à¥¹¥é¥¤¥¹¤Ë¤ª¤±¤ë¸½»þÅÀ¤Ç¤Î¥×¥í¥»¥¹¤ÎºÇÂç»ÈÍÑ»þ´Ö (ñ°Ì jiffies)¡¢
1177 .\" ¤Þ¤¿¤Ï¸½ºß¤Î¥¿¥¤¥à¥¹¥é¥¤¥¹¤Ë¤ª¤±¤ë»Ä¤ê»þ´Ö¤òɽ¤¹¡£
1178 .\" .TP
1179 .\" \fItimeout\fP %u
1180 .\"O .\" The time in jiffies of the process's next timeout.
1181 .\" ¥×¥í¥»¥¹¤Î¼¡¤Î¥¿¥¤¥à¥¢¥¦¥È»þ´Ö(ñ°Ì jiffies)¡£
1182 .\"O .\" timeout was removed sometime around 2.1/2.2
1183 \fInum_threads\fP %ld
1184 .\"O Number of threads in this process (since Linux 2.6).
1185 ¤³¤Î¥×¥í¥»¥¹¤Î¥¹¥ì¥Ã¥É¿ô (Linux 2.6 °Ê¹ß)¡£
1186 .\"O Before kernel 2.6, this field was hard coded to 0 as a placeholder
1187 .\"O for an earlier removed field.
1188 ¥«¡¼¥Í¥ë 2.6 ¤è¤êÁ°¤Ç¤Ï¡¢¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ïºï½ü¤µ¤ì¤¿¥Õ¥£¡¼¥ë¥É¤Î
1189 ¾ì½êËä¤á¤È¤·¤Æ 0 ¤Ë¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤Æ¤¤¤¿¡£
1190 .TP
1191 .\" field 21
1192 \fIitrealvalue\fP %ld
1193 .\"O The time in jiffies before the next
1194 .\"O .B SIGALRM
1195 .\"O is sent to the process due to an interval timer.
1196 .\"O Since kernel 2.6.17, this field is no longer maintained,
1197 .\"O and is hard coded as 0.
1198 ¥¤¥ó¥¿¡¼¥Ð¥ë¥¿¥¤¥Þ¤Ë¤è¤Ã¤Æ¡¢¼¡¤Ë
1199 .B SIGALRM
1200 ¤¬¥×¥í¥»¥¹¤ØÁ÷¤é¤ì¤ë¤Þ¤Ç¤Î»þ´Ö (ñ°Ì jiffies)¡£
1201 ¥«¡¼¥Í¥ë 2.6.17 °Ê¹ß¤Ç¤Ï¡¢¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Ê¤¯¤Ê¤ê¡¢
1202 0 ¤Ë¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤Æ¤¤¤ë¡£
1203 .TP
1204 .\"O \fIstarttime\fP %llu (was %lu before Linux 2.6)
1205 \fIstarttime\fP %llu (Linux 2.6 ¤è¤êÁ°¤Ï %lu)
1206 .\"O The time in jiffies the process started after system boot.
1207 ¥×¥í¥»¥¹¤Îµ¯Æ°»þ¹ï¡£¥·¥¹¥Æ¥à¤¬µ¯Æ°¤·¤¿»þ¹ï¤¬µ¯ÅÀ (ñ°Ì jiffies)¡£
1208 .TP
1209 \fIvsize\fP %lu
1210 .\"O Virtual memory size in bytes.
1211 ²¾ÁÛ¥á¥â¥ê¤Î¥µ¥¤¥º¡£Ã±°Ì¤Ï¥Ð¥¤¥È¡£
1212 .TP
1213 \fIrss\fP %ld
1214 .\"O Resident Set Size: number of pages the process has in real memory.
1215 .\"O This is just the pages which
1216 .\"O count towards text, data, or stack space.
1217 .\"O This does not include pages
1218 .\"O which have not been demand-loaded in, or which are swapped out.
1219 Resident Set Size¡£¥×¥í¥»¥¹¤¬»ý¤Ã¤Æ¤¤¤ë¼Â¥á¥â¥ê¾å¤Î¥Ú¡¼¥¸¿ô¡£
1220 ¤³¤ì¤Ï¤Á¤ç¤¦¤É¥Æ¥­¥¹¥È¡¢¥Ç¡¼¥¿¡¢¥¹¥¿¥Ã¥¯¶õ´Ö¤Ë»È¤ï¤ì¤Æ¤¤¤ë¥Ú¡¼¥¸¿ô¤Ç¤¢¤ë¡£
1221 ¥Ç¥Þ¥ó¥É¥í¡¼¥É¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸¤ä
1222 ¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¿ô¤Ï´Þ¤ó¤Ç¤¤¤Ê¤¤¡£
1223 .TP
1224 \fIrsslim\fP %lu
1225 .\"O Current soft limit in bytes on the rss of the process;
1226 .\"O see the description of
1227 .\"O .B RLIMIT_RSS
1228 .\"O in
1229 .\"O .BR getpriority (2).
1230 ¤³¤Î¥×¥í¥»¥¹¤Î rss ¤Î¸½ºß¤Î¥½¥Õ¥È¡¦¥ê¥ß¥Ã¥È (¥Ð¥¤¥Èñ°Ì)¡£
1231 .BR getpriority (2)
1232 ¤Î
1233 .B RLIMIT_RSS
1234 ¤ÎÀâÌÀ¤ò»²¾È¡£
1235 .TP
1236 \fIstartcode\fP %lu
1237 .\"O The address above which program text can run.
1238 ¥×¥í¥°¥é¥à¥Æ¥­¥¹¥È¤¬¼Â¹Ô²Äǽ¤Ç¤¢¤ë¤è¤¦¤ÊÎΰè¤ÎÀèƬ¥¢¥É¥ì¥¹¡£
1239 .TP
1240 \fIendcode\fP %lu
1241 .\"O The address below which program text can run.
1242 ¥×¥í¥°¥é¥à¥Æ¥­¥¹¥È¤¬¼Â¹Ô²Äǽ¤Ç¤¢¤ë¤è¤¦¤ÊÎΰè¤ÎËöÈø¥¢¥É¥ì¥¹¡£
1243 .TP
1244 \fIstartstack\fP %lu
1245 .\"O The address of the start (i.e., bottom) of the stack.
1246 ¥¹¥¿¥Ã¥¯¤Î³«»Ï¥¢¥É¥ì¥¹ (¤¹¤Ê¤ï¤Á¡¢¥¹¥¿¥Ã¥¯¤ÎÄì)¡£
1247 .TP
1248 \fIkstkesp\fP %lu
1249 .\"O The current value of ESP (stack pointer), as found in the
1250 .\"O kernel stack page for the process.
1251 ¸½ºß¤Î ESP (¥¹¥¿¥Ã¥¯¥Ý¥¤¥ó¥¿) ¤ÎÃÍ¡£
1252 ¥×¥í¥»¥¹¤Î¥«¡¼¥Í¥ë¥¹¥¿¥Ã¥¯¥Ú¡¼¥¸¤Ë¤¢¤ë¡£
1253 .TP
1254 \fIkstkeip\fP %lu
1255 .\"O The current EIP (instruction pointer).
1256 ¸½ºß¤Î EIP (¥¤¥ó¥¹¥È¥é¥¯¥·¥ç¥ó¥Ý¥¤¥ó¥¿) ¤ÎÃÍ¡£
1257 .TP
1258 .\" field 31
1259 \fIsignal\fP %lu
1260 .\"O The bitmap of pending signals, displayed as a decimal number.
1261 .\"O Obsolete, because it does not provide information on real-time signals; use
1262 .\"O .I /proc/[pid]/status
1263 .\"O instead.
1264 ½èÍýÂÔ¤Á¤Î¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1265 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1266 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1267 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1268 Âå¤ï¤ê¤Ë
1269 .I /proc/[pid]/status
1270 ¤ò»È¤¦¤³¤È¡£
1271 .TP
1272 \fIblocked\fP %lu
1273 .\"O The bitmap of blocked signals, displayed as a decimal number.
1274 .\"O Obsolete, because it does not provide information on real-time signals; use
1275 .\"O .I /proc/[pid]/status
1276 .\"O instead.
1277 ¥Ö¥í¥Ã¥¯¤µ¤ì¤¿ (blocked) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1278 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1279 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1280 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1281 Âå¤ï¤ê¤Ë
1282 .I /proc/[pid]/status
1283 ¤ò»È¤¦¤³¤È¡£
1284 .TP
1285 \fIsigignore\fP %lu
1286 .\"O The bitmap of ignored signals, displayed as a decimal number.
1287 .\"O Obsolete, because it does not provide information on real-time signals; use
1288 .\"O .I /proc/[pid]/status
1289 .\"O instead.
1290 ̵»ë¤µ¤ì¤¿ (ignored) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1291 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1292 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1293 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1294 Âå¤ï¤ê¤Ë
1295 .I /proc/[pid]/status
1296 ¤ò»È¤¦¤³¤È¡£
1297 .TP
1298 \fIsigcatch\fP %lu
1299 .\"O The bitmap of caught signals, displayed as a decimal number.
1300 .\"O Obsolete, because it does not provide information on real-time signals; use
1301 .\"O .I /proc/[pid]/status
1302 .\"O instead.
1303 Ê᪤µ¤ì¤¿ (caught) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1304 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1305 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1306 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1307 Âå¤ï¤ê¤Ë
1308 .I /proc/[pid]/status
1309 ¤ò»È¤¦¤³¤È¡£
1310 .TP
1311 \fIwchan\fP %lu
1312 .\"O This is the "channel" in which the process is waiting.
1313 .\"O It is the
1314 .\"O address of a system call, and can be looked up in a namelist if you
1315 .\"O need a textual name.
1316 .\"O (If you have an up-to-date
1317 .\"O .IR /etc/psdatabase ,
1318 .\"O then
1319 .\"O try \fIps \-l\fP to see the WCHAN field in action.)
1320 ¥×¥í¥»¥¹¤¬ÂԤäƤ¤¤ë¡Ö¥Á¥ã¥Í¥ë¡×¡£
1321 ¤³¤ì¤Ï¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î¥¢¥É¥ì¥¹¤Ç¤¢¤ê¡¢Ê¸»ú̾¤¬É¬Íפʤé¤Ð
1322 (¥¢¥É¥ì¥¹¤È¥·¥¹¥Æ¥à¥³¡¼¥ë̾¤È¤Î) Âбþɽ¤«¤é¸«¤Ä¤±¤é¤ì¤ë
1323 (¤â¤·
1324 .I /etc/psdatabase
1325 [ÌõÃí: ¤³¤Î¥Õ¥¡¥¤¥ë̾¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Ë¤è¤ë] ¤ò¹¹¿·¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢
1326 \fIps \-l\fP ¤·¤Æ WCHAN ¥Õ¥£¡¼¥ë¥É¤ò¸«¤è)¡£
1327 .TP
1328 \fInswap\fP %lu
1329 .\" nswap was added in 2.0
1330 .\"O Number of pages swapped (not maintained).
1331 ¥¹¥ï¥Ã¥×¤µ¤ì¤¿¥Ú¡¼¥¸¿ô (¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤)¡£
1332 .TP
1333 \fIcnswap\fP %lu
1334 .\" cnswap was added in 2.0
1335 .\"O Cumulative \fInswap\fP for child processes (not maintained).
1336 »Ò¥×¥í¥»¥¹¤Î \fInswap\fP ¤ÎÎß·× (¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤)¡£
1337 .TP
1338 .\"O \fIexit_signal\fP %d (since Linux 2.1.22)
1339 \fIexit_signal\fP %d (Linux 2.1.22 °Ê¹ß)
1340 .\"O Signal to be sent to parent when we die.
1341 ¥×¥í¥»¥¹¤¬»à¤ó¤À¤È¤­¤Ë¿Æ¥×¥í¥»¥¹¤ËÁ÷¤é¤ì¤ë¥·¥°¥Ê¥ë¡£
1342 .TP
1343 .\"O \fIprocessor\fP %d (since Linux 2.2.8)
1344 \fIprocessor\fP %d (Linux 2.2.8 °Ê¹ß)
1345 .\"O CPU number last executed on.
1346 ¤³¤Î¥×¥í¥»¥¹¤òºÇ¸å¤Ë¼Â¹Ô¤·¤¿ CPU ¤ÎÈֹ档
1347 .TP
1348 .\"O \fIrt_priority\fP %u (since Linux 2.5.19; was %lu before Linux 2.6.22)
1349 \fIrt_priority\fP %u (Linux 2.5.19 °Ê¹ß; Linux 2.6.22 ¤è¤êÁ°¤Ï %lu)
1350 .\"O Real-time scheduling priority, a number in the range 1 to 99 for
1351 .\"O processes scheduled under a real-time policy,
1352 .\"O or 0, for non-real-time processes (see
1353 .\"O .BR sched_setscheduler (2)).
1354 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤ÎÍ¥ÀèÅÙ¡£
1355 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥Ý¥ê¥·¡¼¤Î¸µ¤Ç¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤ë¥×¥í¥»¥¹¤Ç¤Ï
1356 1 ¤«¤é 99 ¤ÎÈϰϤÎÃͤȤʤꡢ
1357 ¥ê¥¢¥ë¥¿¥¤¥à°Ê³°¤Î¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¥Ý¥ê¥·¡¼¤Î¥×¥í¥»¥¹¤Ç¤Ï 0 ¤È¤Ê¤ë
1358 .RB ( sched_setscheduler (2)
1359 »²¾È)¡£
1360 .TP
1361 .\" field 41
1362 .\"O \fIpolicy\fP %u (since Linux 2.5.19; was %lu before Linux 2.6.22)
1363 \fIpolicy\fP %u (Linux 2.5.19 °Ê¹ß; Linux 2.6.22 ¤è¤êÁ°¤Ï %lu)
1364 .\"O Scheduling policy (see
1365 .\"O .BR sched_setscheduler (2)).
1366 .\"O Decode using the SCHED_* constants in
1367 .\"O .IR linux/sched.h .
1368 ¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¡¦¥Ý¥ê¥·¡¼
1369 .RB ( sched_setscheduler (2)
1370 »²¾È)¡£
1371 Ãͤϡ¢
1372 .I linux/sched.h
1373 ¤Î SCHED_* Äê¿ô¤ò»È¤Ã¤Æ¥Ç¥³¡¼¥É¤¹¤ì¤Ð¤è¤¤¡£
1374 .TP
1375 .\"O \fIdelayacct_blkio_ticks\fP %llu (since Linux 2.6.18)
1376 \fIdelayacct_blkio_ticks\fP %llu (Linux 2.6.18 °Ê¹ß)
1377 .\"O Aggregated block I/O delays, measured in clock ticks (centiseconds).
1378 (clock tick (100ʬ¤Î1ÉÃ) Ã±°Ì¤Ç¤Î) ¥Ö¥í¥Ã¥¯ I/O ¤ÎÁíÃÙ±äÎÌ¡£
1379 .TP
1380 .\"O \fIguest_time\fP %lu (since Linux 2.6.24)
1381 \fIguest_time\fP %lu (Linux 2.6.24 °Ê¹ß)
1382 .\"O Guest time of the process (time spent running a virtual CPU
1383 .\"O for a guest operating system), measured in clock ticks (divide by
1384 .\"O .IR sysconf(_SC_CLK_TCK) .
1385 ¥×¥í¥»¥¹¤Î¥²¥¹¥È»þ´Ö (¥²¥¹¥È OS ¤Î²¾ÁÛ CPU ¤ò¼Â¹Ô¤¹¤ë¤Î¤Ë¾ÃÈñ¤µ¤ì¤¿»þ´Ö)¡£
1386 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1387 .RI ( sysconf(_SC_CLK_TCK)
1388 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1389 .TP
1390 .\"O \fIcguest_time\fP %ld (since Linux 2.6.24)
1391 \fIcguest_time\fP %ld (Linux 2.6.24 °Ê¹ß)
1392 .\"O Guest time of the process's children, measured in clock ticks (divide by
1393 .\"O .IR sysconf(_SC_CLK_TCK) .
1394 ¥×¥í¥»¥¹¤Î»Ò¥×¥í¥»¥¹¤Î¥²¥¹¥È»þ´Ö¡£
1395 clock tick Ã±°Ì¤Ç·×¬¤µ¤ì¤ë
1396 .RI ( sysconf(_SC_CLK_TCK)
1397 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1398 .RE
1399 .TP
1400 .I /proc/[pid]/statm
1401 .\"O Provides information about memory usage, measured in pages.
1402 (¥Ú¡¼¥¸Ã±°Ì¤Ç·×¬¤·¤¿) ¥á¥â¥ê»ÈÍÑÎ̤ˤĤ¤¤Æ¤Î¾ðÊó¤òÄ󶡤¹¤ë¡£
1403 .\"O The columns are:
1404 ³ÆÎó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
1405 .in +4n
1406 .nf
1407
1408 .\"O size       total program size
1409 .\"O            (same as VmSize in \fI/proc/[pid]/status\fP)
1410 .\"O resident   resident set size
1411 .\"O            (same as VmRSS in \fI/proc/[pid]/status\fP)
1412 .\"O share      shared pages (from shared mappings)
1413 .\"O text       text (code)
1414 .\"O .\" (not including libs; broken, includes data segment)
1415 .\"O lib        library (unused in Linux 2.6)
1416 .\"O data       data + stack
1417 .\"O .\" (including libs; broken, includes library text)
1418 .\"O dt         dirty pages (unused in Linux 2.6)
1419 size       ¥×¥í¥°¥é¥à¥µ¥¤¥º¤ÎÁí·×
1420            (\fI/proc/[pid]/status\fP ¤Î VmSize ¤ÈƱ¤¸)
1421 resident   ¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸
1422            (\fI/proc/[pid]/status\fP ¤Î VmRSS ¤ÈƱ¤¸)
1423 share      ¶¦Í­¥Ú¡¼¥¸ (¶¦Í­¥Þ¥Ã¥Ô¥ó¥°¤µ¤ì¤Æ¤¤¤ë¥Ú¡¼¥¸)
1424 text       ¥Æ¥­¥¹¥È (¥³¡¼¥É)
1425 .\" (libs ¤Ï´Þ¤Þ¤ì¤Ê¤¤; ¤ª¤«¤·¤Ê¤³¤È¤Ë¡¢data ¥»¥°¥á¥ó¥È¤Ï´Þ¤Þ¤ì¤ë)
1426 lib        ¥é¥¤¥Ö¥é¥ê (Linux 2.6 ¤Ç¤Ï̤»ÈÍÑ)
1427 data       ¥Ç¡¼¥¿ + ¥¹¥¿¥Ã¥¯
1428 .\" (libs ¤ò´Þ¤à; ¤ª¤«¤·¤Ê¤³¤È¤Ë¡¢library text ¤â´Þ¤Þ¤ì¤ë)
1429 dt         ¥À¡¼¥Æ¥£¥Ú¡¼¥¸ (Linux 2.6 ¤Ç¤Ï̤»ÈÍÑ)
1430 .fi
1431 .in
1432 .TP
1433 .I /proc/[pid]/status
1434 .\"O Provides much of the information in
1435 .\"O .I /proc/[pid]/stat
1436 .\"O and
1437 .\"O .I /proc/[pid]/statm
1438 .\"O in a format that's easier for humans to parse.
1439 .I /proc/[pid]/stat
1440 ¤È
1441 .I /proc/[pid]/statm
1442 ¤Ë¤¢¤ë¿¤¯¤Î¾ðÊó¤ò¡¢¿Í´Ö¤¬²òÀϤ·¤ä¤¹¤¤·Á¼°¤ÇÄ󶡤¹¤ë¡£
1443 .\"O Here's an example:
1444 °Ê²¼¤ËÎã¤ò¼¨¤¹¡£
1445 .in +4n
1446 .nf
1447
1448 .RB "$" " cat /proc/$$/status"
1449 Name:   bash
1450 State:  S (sleeping)
1451 Tgid:   3515
1452 Pid:    3515
1453 PPid:   3452
1454 TracerPid:      0
1455 Uid:    1000    1000    1000    1000
1456 Gid:    100     100     100     100
1457 FDSize: 256
1458 Groups: 16 33 100
1459 VmPeak:     9136 kB
1460 VmSize:     7896 kB
1461 VmLck:         0 kB
1462 VmHWM:      7572 kB
1463 VmRSS:      6316 kB
1464 VmData:     5224 kB
1465 VmStk:        88 kB
1466 VmExe:       572 kB
1467 VmLib:      1708 kB
1468 VmPTE:        20 kB
1469 Threads:        1
1470 SigQ:   0/3067
1471 SigPnd: 0000000000000000
1472 ShdPnd: 0000000000000000
1473 SigBlk: 0000000000010000
1474 SigIgn: 0000000000384004
1475 SigCgt: 000000004b813efb
1476 CapInh: 0000000000000000
1477 CapPrm: 0000000000000000
1478 CapEff: 0000000000000000
1479 CapBnd: ffffffffffffffff
1480 Cpus_allowed:   00000001
1481 Cpus_allowed_list:      0
1482 Mems_allowed:   1
1483 Mems_allowed_list:      0
1484 voluntary_ctxt_switches:        150
1485 nonvoluntary_ctxt_switches:     545
1486 .fi
1487 .in
1488 .IP
1489 .\"O The fields are as follows:
1490 ¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
1491 .RS
1492 .IP * 2
1493 .IR Name :
1494 .\"O Command run by this process.
1495 ¤³¤Î¥×¥í¥»¥¹¤Ë¤è¤ê¼Â¹Ô¤µ¤ì¤¿¥³¥Þ¥ó¥É¡£
1496 .IP *
1497 .IR State :
1498 .\"O Current state of the process.  One of
1499 .\"O "R (running)",
1500 .\"O "S (sleeping)",
1501 .\"O "D (disk sleep)",
1502 .\"O "T (stopped)",
1503 .\"O "T (tracing stop)",
1504 .\"O "Z (zombie)",
1505 .\"O or
1506 .\"O "X (dead)".
1507 ¥×¥í¥»¥¹¤Î¸½ºß¤Î¾õÂÖ¡£
1508 "R (running; ¼Â¹ÔÃæ)",
1509 "S (sleeping; µÙ̲¾õÂÖ)",
1510 "D (disk sleep; ¥Ç¥£¥¹¥¯ÂÔ¤Á¤ÎµÙ̲¾õÂÖ)",
1511 "T (stopped; Ää»ß¾õÂÖ)",
1512 "T (tracing stop; ¥È¥ì¡¼¥¹¤Ë¤è¤ëÄä»ß)",
1513 "Z (zombie; ¥¾¥ó¥Ó¾õÂÖ)",
1514 "X (dead; »àË´)"
1515 ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë¡£
1516 .IP *
1517 .IR Tgid :
1518 .\"O Thread group ID (i.e., Process ID).
1519 ¥¹¥ì¥Ã¥É¥°¥ë¡¼¥× ID (¤¹¤Ê¤ï¤Á¡¢¥×¥í¥»¥¹ ID)¡£
1520 .IP *
1521 .IR Pid :
1522 .\"O Thread ID (see
1523 .\"O .BR gettid (2)).
1524 ¥¹¥ì¥Ã¥É ID
1525 .RB ( gettid (2)
1526 »²¾È)¡£
1527 .IP *
1528 .IR TracerPid :
1529 .\"O PID of process tracing this process (0 if not being traced).
1530 ¤³¤Î¥×¥í¥»¥¹¤ò¥È¥ì¡¼¥¹¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤Î PID
1531 (¥È¥ì¡¼¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï 0)¡£
1532 .IP *
1533 .IR Uid ", " Gid :
1534 .\"O Real, effective, saved set, and file system UIDs (GIDs).
1535 ¼Â UID/GID¡¢¼Â¸ú UID/GID¡¢Êݸ set-UID/GID¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à UID/GID¡£
1536 .IP *
1537 .IR FDSize :
1538 .\"O Number of file descriptor slots currently allocated.
1539 ¸½ºß³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Î¥¹¥í¥Ã¥È¿ô¡£
1540 .IP *
1541 .IR Groups :
1542 .\"O Supplementary group list.
1543 Êä½õ¥°¥ë¡¼¥×¤Î¥ê¥¹¥È¡£
1544 .IP *
1545 .IR VmPeak :
1546 .\"O Peak virtual memory size.
1547 ²¾ÁÛ¥á¥â¥ê¥µ¥¤¥º¤Î¥Ô¡¼¥¯ÃÍ¡£
1548 .IP *
1549 .IR VmSize :
1550 .\"O Virtual memory size.
1551 ²¾ÁÛ¥á¥â¥ê¥µ¥¤¥º¡£
1552 .IP *
1553 .IR VmLck :
1554 .\"O Locked memory size (see
1555 .\"O .BR mlock (3)).
1556 ¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¥á¥â¥ê¥µ¥¤¥º
1557 .RB ( mlock (3)
1558 »²¾È)¡£
1559 .IP *
1560 .IR VmHWM :
1561 .\"O Peak resident set size ("high water mark").
1562 ¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º (resident set size)
1563 ¤Î¥Ô¡¼¥¯ÃÍ ("high water mark")¡£
1564 .IP *
1565 .IR VmRSS :
1566 .\"O Resident set size.
1567 ¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º¡£
1568 .IP *
1569 .IR VmData ", " VmStk ", " VmExe :
1570 .\"O Size of data, stack, and text segments.
1571 ¥Ç¡¼¥¿¡¢¥¹¥¿¥Ã¥¯¡¢¥Æ¥­¥¹¥È¥»¥°¥á¥ó¥È¤Î¥µ¥¤¥º¡£
1572 .IP *
1573 .IR VmLib :
1574 .\"O Shared library code size.
1575 ¶¦Í­¥é¥¤¥Ö¥é¥ê¡¦¥³¡¼¥É¤Î¥µ¥¤¥º¡£
1576 .IP *
1577 .IR VmPTE :
1578 .\"O Page table entries size (since Linux 2.6.10).
1579 ¥Ú¡¼¥¸¡¦¥Æ¡¼¥Ö¥ë¡¦¥¨¥ó¥È¥ê¤Î¥µ¥¤¥º (Linux 2.6.10 °Ê¹ß)¡£
1580 .IP *
1581 .IR Threads :
1582 .\"O Number of threads in process containing this thread.
1583 ¤³¤Î¥¹¥ì¥Ã¥É¤¬Â°¤¹¤ë¥×¥í¥»¥¹¤Î¥¹¥ì¥Ã¥É¿ô¡£
1584 .IP *
1585 .IR SigPnd ", " ShdPnd :
1586 .\"O Number of signals pending for thread and for process as a whole (see
1587 .\"O .BR pthreads (7)
1588 .\"O and
1589 .\"O .BR signal (7)).
1590 ¥¹¥ì¥Ã¥É°¸¤ª¤è¤Ó¥×¥í¥»¥¹Á´Âΰ¸¤Î½èÍýÂÔ¤Á¥·¥°¥Ê¥ë¤Î¿ô
1591 .RB ( pthreads (7),
1592 .BR signal (7)
1593 »²¾È)¡£
1594 .IP *
1595 .IR SigBlk ", " SigIgn ", " SigCgt :
1596 .\"O Masks indicating signals being blocked, ignored, and caught (see
1597 .\"O .BR signal (7)).
1598 ¥Ö¥í¥Ã¥¯¤µ¤ì¤ë¥·¥°¥Ê¥ë¡¢Ìµ»ë¤µ¤ì¤ë¥·¥°¥Ê¥ë¡¢ÊáªÂÔ¤Á¤Î¥·¥°¥Ê¥ë¤ò
1599 ¼¨¤¹¥Þ¥¹¥¯ÃÍ
1600 .RB ( signal (7))¡£
1601 .IP *
1602 .IR CapInh ", " CapPrm ", " CapEff :
1603 .\"O Masks of capabilities enabled in inheritable, permitted, and effective sets
1604 .\"O (see
1605 .\"O .BR capabilities (7)).
1606 ·Ñ¾µ²Äǽ (inheritable)¡¢µö²Ä (permitted)¡¢¼Â¸ú (effective)
1607 ¤Î³Æ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥»¥Ã¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤Î¥Þ¥¹¥¯ÃÍ
1608 .RB ( capabilities (7)
1609 »²¾È)¡£
1610 .IP *
1611 .IR CapBnd :
1612 .\"O Capability Bounding set
1613 .\"O (since kernel 2.6.26, see
1614 .\"O .BR capabilities (7)).
1615 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¡¦¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È
1616 (¥«¡¼¥Í¥ë 2.6.26 °Ê¹ß¡¢
1617 .BR capabilities (7)
1618 »²¾È)¡£
1619 .IP *
1620 .IR Cpus_allowed :
1621 .\"O Mask of CPUs on which this process may run
1622 .\"O (since Linux 2.6.24, see
1623 .\"O .BR cpuset (7)).
1624 ¤³¤Î¥×¥í¥»¥¹¤¬¼Â¹Ô¤òµö²Ä¤µ¤ì¤Æ¤¤¤ë CPU ¤Î¥Þ¥¹¥¯ÃÍ
1625 (Linux 2.6.24 °Ê¹ß¡¢
1626 .BR cpuset (7)
1627 »²¾È)¡£
1628 .IP *
1629 .IR Cpus_allowed_list :
1630 .\"O Same as previous, but in "list format"
1631 .\"O (since Linux 2.6.26, see
1632 .\"O .BR cpuset (7)).
1633 Á°¹à¤ÈƱ¤¸¤À¤¬¡¢¡Ö¥ê¥¹¥È·Á¼°¡×¤Ç¤Îɽ¼¨
1634 (Linux 2.6.26 °Ê¹ß¡¢
1635 .BR cpuset (7)
1636 »²¾È)¡£
1637 .IP *
1638 .IR Mems_allowed :
1639 .\"O Mask of memory nodes allowed to this process
1640 .\"O (since Linux 2.6.24, see
1641 .\"O .BR cpuset (7)).
1642 ¤³¤Î¥×¥í¥»¥¹¤¬»ÈÍѤǤ­¤ë¥á¥â¥ê¥Î¡¼¥É¤Î¥Þ¥¹¥¯ÃÍ
1643 (Linux 2.6.24 °Ê¹ß¡¢
1644 .BR cpuset (7)
1645 »²¾È)¡£
1646 .IP *
1647 .IR Mems_allowed_list :
1648 .\"O Same as previous, but in "list format"
1649 .\"O (since Linux 2.6.26, see
1650 .\"O .BR cpuset (7)).
1651 Á°¹à¤ÈƱ¤¸¤À¤¬¡¢¡Ö¥ê¥¹¥È·Á¼°¡×¤Ç¤Îɽ¼¨
1652 (Linux 2.6.26 °Ê¹ß¡¢
1653 .BR cpuset (7)
1654 »²¾È)¡£
1655 .IP *
1656 .IR voluntary_context_switches ", " nonvoluntary_context_switches :
1657 .\"O Number of voluntary and involuntary context switches (since Linux 2.6.23).
1658 ¼«È¯Åª/Èó¼«È¯Åª¤Ê¥³¥ó¥Æ¥­¥¹¥È¥¹¥¤¥Ã¥Á¤Î²ó¿ô
1659 (Linux 2.6.23 °Ê¹ß)¡£
1660 .RE
1661 .TP
1662 .\"O .IR /proc/[pid]/task " (since Linux 2.6.0-test6)"
1663 .IR /proc/[pid]/task " (Linux 2.6.0-test6 °Ê¹ß)"
1664 .\"O This is a directory that contains one subdirectory
1665 .\"O for each thread in the process.
1666 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤Î¥¹¥ì¥Ã¥É¾ðÊó¤ò´Þ¤à
1667 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬ 1 ¥¹¥ì¥Ã¥É¤Ë¤Ä¤­ 1 ¤ÄÃÖ¤«¤ì¤ë¡£
1668 .\"O The name of each subdirectory is the numerical thread ID
1669 .\"O .RI ( [tid] )
1670 .\"O of the thread (see
1671 .\"O .BR gettid (2)).
1672 ³Æ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤Ï¥¹¥ì¥Ã¥É¤Î¥¹¥ì¥Ã¥É ID
1673 .RI ( [tid] )
1674 ¤ò¼¨¤¹¿ô»ú¤Ç¤¢¤ë
1675 .BR ( gettid (2)
1676 ¤ò»²¾È)¡£
1677 .\"O Within each of these subdirectories, there is a set of
1678 .\"O files with the same names and contents as under the
1679 .\"O .I /proc/[pid]
1680 .\"O directories.
1681 ¤³¤ì¤é¤Î³Æ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢
1682 .I /proc/[pid]
1683 ¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤ÈƱ¤¸Ì¾Á°¤ÈÆâÍƤΥե¡¥¤¥ë·²¤¬¤¢¤ë¡£
1684 .\"O For attributes that are shared by all threads, the contents for
1685 .\"O each of the files under the
1686 .\"O .I task/[tid]
1687 .\"O subdirectories will be the same as in the corresponding
1688 .\"O file in the parent
1689 .\"O .I /proc/[pid]
1690 .\"O directory
1691 .\"O (e.g., in a multithreaded process, all of the
1692 .\"O .I task/[tid]/cwd
1693 .\"O files will have the same value as the
1694 .\"O .I /proc/[pid]/cwd
1695 .\"O file in the parent directory, since all of the threads in a process
1696 .\"O share a working directory).
1697 ¤¹¤Ù¤Æ¤Î¥¹¥ì¥Ã¥É¤Ç¶¦Í­¤µ¤ì¤ë°À­¤Î¾ì¹ç¡¢
1698 .I task/[tid]
1699 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î³Æ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤÏ
1700 ¿Æ¥Ç¥£¥ì¥¯¥È¥ê
1701 .I /proc/[pid]
1702 ¤ÎÂбþ¤¹¤ë¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ë¤Ê¤ë¤³¤È¤À¤í¤¦
1703 (Î㤨¤Ð¡¢¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¡¦¥×¥í¥»¥¹¤Ç¤Ï¥Õ¥¡¥¤¥ë
1704 .I task/[tid]/cwd
1705 ¤Ï¤¤¤º¤ì¤â¿Æ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î
1706 .I /proc/[pid]/cwd
1707 ¤ÈƱ¤¸Ãͤò»ý¤Ä¤³¤È¤Ë¤Ê¤ë¡£¤Ê¤¼¤Ê¤é¡¢°ì¤Ä¤Î¥×¥í¥»¥¹¤Ë°¤¹¤¹¤Ù¤Æ¤Î
1708 ¥¹¥ì¥Ã¥É¤Ïºî¶È¥Ç¥£¥ì¥¯¥È¥ê¤ò¶¦Í­¤¹¤ë¤«¤é¤Ç¤¢¤ë)¡£
1709 .\"O For attributes that are distinct for each thread,
1710 .\"O the corresponding files under
1711 .\"O .I task/[tid]
1712 .\"O may have different values (e.g., various fields in each of the
1713 .\"O .I task/[tid]/status
1714 .\"O files may be different for each thread).
1715 ¥¹¥ì¥Ã¥ÉËè¤ËÆÈΩ¤Ê°À­¤Î¾ì¹ç¡¢
1716 .I task/[tid]
1717 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î³Æ¥Õ¥¡¥¤¥ë¤Ï°Û¤Ê¤ëÃͤò»ý¤Ä¤³¤È¤¬¤¢¤ë
1718 (Î㤨¤Ð¡¢¥Õ¥¡¥¤¥ë
1719 .I task/[tid]/status
1720 ¤Ï¥¹¥ì¥Ã¥ÉËè¤Ë°Û¤Ê¤ëÃͤò»ý¤Ä²ÄǽÀ­¤¬¤¢¤ë)¡£
1721
1722 .\"O .\" The following was still true as at kernel 2.6.13
1723 .\" °Ê²¼¤ÎÆâÍƤϠ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
1724 .\"O In a multithreaded process, the contents of the
1725 .\"O .I /proc/[pid]/task
1726 .\"O directory are not available if the main thread has already terminated
1727 .\"O (typically by calling
1728 .\"O .BR pthread_exit (3)).
1729 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
1730 .I /proc/[pid]/task
1731 ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤϻ²¾È¤Ç¤­¤Ê¤¤
1732 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
1733 .BR pthread_exit (3)
1734 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
1735 .TP
1736 .I /proc/apm
1737 .\"O Advanced power management version and battery information when
1738 .\"O .B CONFIG_APM
1739 .\"O is defined at kernel compilation time.
1740 Advanced Power Management ¤Î¥Ð¡¼¥¸¥ç¥ó¤È¥Ð¥Ã¥Æ¥ê¾ðÊó¡£
1741 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1742 .B CONFIG_APM
1743 ¤òÄêµÁ¤·¤¿¤È¤­¤Ë¸ºß¤¹¤ë¡£
1744 .TP
1745 .I /proc/bus
1746 .\"O Contains subdirectories for installed busses.
1747 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë³Æ¥Ð¥¹ÍѤ˥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ë¡£
1748 .TP
1749 .I /proc/bus/pccard
1750 .\"O Subdirectory for PCMCIA devices when
1751 .\"O .B CONFIG_PCMCIA
1752 .\"O is set at kernel compilation time.
1753 PCMCIA ¥Ç¥Ð¥¤¥¹¤Î¾ðÊ󤬽ñ¤«¤ì¤ë¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1754 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1755 .B CONFIG_PCMCIA
1756 ¤òÄêµÁ¤·¤¿¤È¤­¤Ë¸ºß¤¹¤ë¡£
1757 .TP
1758 .I /proc/bus/pccard/drivers
1759 .TP
1760 .I /proc/bus/pci
1761 .\"O Contains various bus subdirectories and pseudo-files containing
1762 .\"O information about PCI busses, installed devices, and device
1763 .\"O drivers.
1764 .\"O Some of these files are not ASCII.
1765 ¤¤¤¯¤Ä¤«¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ê¡¢
1766 PCI ¥Ð¥¹¡¦¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ç¥Ð¥¤¥¹¡¦
1767 ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î¾ðÊ󤬽ñ¤«¤ì¤¿²¾ÁÛ¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¡£
1768 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¤¤¤¯¤Ä¤«¤Ï ASCII ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤Ï¤Ê¤¤¡£
1769 .TP
1770 .I /proc/bus/pci/devices
1771 .\"O Information about PCI devices.
1772 .\"O They may be accessed through
1773 .\"O .BR lspci (8)
1774 .\"O and
1775 .\"O .BR setpci (8).
1776 PCI ¥Ç¥Ð¥¤¥¹¤Î¾ðÊó¡£
1777 .BR lspci (8)
1778 ¤ä
1779 .BR setpci (8)
1780 ¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
1781 .TP
1782 .I /proc/cmdline
1783 .\"O Arguments passed to the Linux kernel at boot time.
1784 .\"O Often done via a boot manager such as
1785 .\"O .BR lilo (8)
1786 .\"O or
1787 .\"O .BR grub (8).
1788 ¥Ö¡¼¥È»þ¤Ë Linux ¥«¡¼¥Í¥ë¤ËÅϤµ¤ì¤¿°ú¤­¿ô¡£
1789 °ú¤­¿ô¤Î¼õ¤±ÅϤ·¤Ï¡¢¤¿¤¤¤Æ¤¤
1790 .BR lilo (8)
1791 ¤ä
1792 .BR grub (8)
1793 ¤È¤¤¤Ã¤¿¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ò»È¤Ã¤Æ¹Ô¤ï¤ì¤ë¡£
1794 .TP
1795 .\"O .IR /proc/config.gz " (since Linux 2.6)"
1796 .IR /proc/config.gz " (Linux 2.6 °Ê¹ß)"
1797 .\"O This file exposes the configuration options that were used
1798 .\"O to build the currently running kernel,
1799 .\"O in the same format as they would be shown in the
1800 .\"O .I .config
1801 .\"O file that resulted when configuring the kernel (using
1802 .\"O .IR "make xconfig" ,
1803 .\"O .IR "make config" ,
1804 .\"O or similar).
1805 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¸½ºß¼Â¹ÔÃæ¤Î¥«¡¼¥Í¥ë¤Î¹½ÃÛ»þ¤Ë»ÈÍѤµ¤ì¤¿
1806 ÀßÄꥪ¥×¥·¥ç¥ó¤ò»²¾È¤Ç¤­¤ë¡£
1807 ½ñ¼°¤Ï¡¢
1808 .RI ( "make xconfig" ,
1809 .IR "make config"
1810 ¤Ê¤É¤ò»È¤Ã¤Æ) ¥«¡¼¥Í¥ë¤ÎÀßÄê¤òÊѹ¹¤·¤¿ºÝ¤ËÀ¸À®¤µ¤ì¤ë
1811 .I .config
1812 ¥Õ¥¡¥¤¥ë¤Î¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£
1813 .\"O The file contents are compressed; view or search them using
1814 .\"O .BR zcat (1),
1815 .\"O .BR zgrep (1),
1816 .\"O etc.
1817 .\"O As long as no changes have been made to the following file,
1818 .\"O the contents of
1819 .\"O .I /proc/config.gz
1820 .\"O are the same as those provided by :
1821 ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤϰµ½Ì¤µ¤ì¤Æ¤ª¤ê¡¢
1822 .BR zcat (1),
1823 .BR zgrep (1)
1824 ¤Ê¤É¤ò»È¤¦¤È¡¢É½¼¨¤ä¸¡º÷¤¬¤Ç¤­¤ë¡£
1825 ¥Õ¥¡¥¤¥ë¤¬Êѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¡¢
1826 .I /proc/config.gz
1827 ¤ÎÆâÍƤϼ¡¤Î¥³¥Þ¥ó¥É¤ÇÆÀ¤é¤ì¤ëÆâÍƤÈƱ¤¸¤Ç¤¢¤ë¡£
1828 .in +4n
1829 .nf
1830
1831 cat /lib/modules/$(uname -r)/build/.config
1832 .fi
1833 .in
1834 .IP
1835 .\"O .I /proc/config.gz
1836 .\"O is only provided if the kernel is configured with
1837 .\"O .BR CONFIG_IKCONFIG_PROC .
1838 .I /proc/config.gz
1839 ¤¬Ä󶡤µ¤ì¤ë¤Î¤Ï¡¢¥«¡¼¥Í¥ë¤ÎÀßÄê¤Ç
1840 .B CONFIG_IKCONFIG_PROC
1841 ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Î¤ß¤Ç¤¢¤ë¡£
1842 .TP
1843 .I /proc/cpuinfo
1844 .\"O This is a collection of CPU and system architecture dependent items,
1845 .\"O for each supported architecture a different list.
1846 .\"O Two common entries are \fIprocessor\fP which gives CPU number and
1847 .\"O \fIbogomips\fP; a system constant that is calculated
1848 .\"O during kernel initialization.
1849 .\"O SMP machines have information for
1850 .\"O each CPU.
1851 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢CPU ¤ª¤è¤Ó¥·¥¹¥Æ¥à¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë°Í¸¤¹¤ë¹àÌܤò
1852 ½¸¤á¤¿¤â¤Î¤Ç¡¢¥ê¥¹¥È¤ÎÆâÍƤϥµ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥¢¡¼¥­¥Æ¥¯¥Á¥ãËè¤Ë°Û¤Ê¤ë¡£
1853 2 ¤Ä¤À¤±¶¦Ä̤ιàÌܤ¬¤¢¤ë¡£
1854 \fIprocessor\fP ¤Ï¥×¥í¥»¥Ã¥µÈÖ¹æ¤Ç¡¢
1855 \fIbogomips\fP ¤Ï¥«¡¼¥Í¥ë¤Î½é´ü²½»þ¤Ë·×»»¤µ¤ì¤ë¥·¥¹¥Æ¥àÄê¿ô¤Ç¤¢¤ë¡£
1856 SMP ¥Þ¥·¥ó¤Ç¤Ï³Æ CPU ¤Ë¤Ä¤¤¤Æ¤Î¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤ë¡£
1857 .TP
1858 .I /proc/devices
1859 .\"O Text listing of major numbers and device groups.
1860 .\"O This can be used by MAKEDEV scripts for consistency with the kernel.
1861 ¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤È¥Ç¥Ð¥¤¥¹¥°¥ë¡¼¥×¤Î¥Æ¥­¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
1862 MAKEDEV ¥¹¥¯¥ê¥×¥È¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤Æ¡¢
1863 ¥«¡¼¥Í¥ë¤È¤ÎÀ°¹çÀ­¤òÊݤĤ³¤È¤¬¤Ç¤­¤ë¡£
1864 .TP
1865 .\"O .IR /proc/diskstats " (since Linux 2.5.69)"
1866 .IR /proc/diskstats " (Linux 2.5.69 °Ê¹ß)"
1867 .\"O This file contains disk I/O statistics for each disk device.
1868 .\"O See the kernel source file
1869 .\"O .I Documentation/iostats.txt
1870 .\"O for further information.
1871 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï³Æ¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤Î¥Ç¥£¥¹¥¯ I/O Åý·×¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤ë¡£
1872 ¹¹¤Ë¾Ü¤·¤¤¾ðÊó¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
1873 .I Documentation/iostats.txt
1874 ¤ò»²¾È¤¹¤ë¤³¤È¡£
1875 .TP
1876 .I /proc/dma
1877 .\"O This is a list of the registered \fIISA\fP DMA (direct memory access)
1878 .\"O channels in use.
1879 ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë \fIISA\fP DMA (direct memory access) ¥Á¥ã¥Í¥ë¤Î¥ê¥¹¥È¡£
1880 .TP
1881 .I /proc/driver
1882 .\"O Empty subdirectory.
1883 ¶õ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1884 .TP
1885 .I /proc/execdomains
1886 .\"O List of the execution domains (ABI personalities).
1887 ¼Â¹Ô¥É¥á¥¤¥ó¤Î¥ê¥¹¥È (ABI ¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£)¡£
1888 .TP
1889 .I /proc/fb
1890 .\"O Frame buffer information when
1891 .\"O .B CONFIG_FB
1892 .\"O is defined during kernel compilation.
1893 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1894 .B CONFIG_FB
1895 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡¤Î¾ðÊ󤬽ñ¤«¤ì¤ë¡£
1896 .TP
1897 .I /proc/filesystems
1898 .\"O A text listing of the file systems which are supported by the kernel,
1899 .\"O namely file systems which were compiled into the kernel or whose kernel
1900 .\"O modules are currently loaded.
1901 .\"O (See also
1902 .\"O .BR filesystems (5).)
1903 .\"O If a file system is marked with "nodev",
1904 .\"O this means that it does not require a block device to be mounted
1905 .\"O (e.g., virtual file system, network file system).
1906 ¥«¡¼¥Í¥ë¤¬Âбþ¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Æ¥­¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
1907 ¥«¡¼¥Í¥ë¤ËÁȤ߹þ¤Þ¤ì¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤È¡¢
1908 ¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤¬¸½ºß¥í¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬Îóµó¤µ¤ì¤ë
1909 .RB ( filesystems (5)
1910 »²¾È)¡£
1911 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë "nodev" ¤È¤¤¤¦°õ¤¬ÉÕ¤¤¤Æ¤¤¤ë¾ì¹ç¡¢
1912 ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤¹¤ë¤¿¤á¤Î¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤ò
1913 ɬÍפȤ·¤Ê¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë (Î㤨¤Ð¡¢
1914 ²¾ÁÛ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ê¤É)¡£
1915
1916 .\"O Incidentally, this file may be used by
1917 .\"O .BR mount (8)
1918 .\"O when no file system is specified and it didn't manage to determine the
1919 .\"O file system type.
1920 .\"O Then file systems contained in this file are tried
1921 .\"O (excepted those that are marked with "nodev").
1922 ¤Á¤Ê¤ß¤Ë¡¢¥Þ¥¦¥ó¥È»þ¤Ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬»ØÄꤵ¤ì¤º¡¢
1923 ¤É¤¦¤ä¤Ã¤Æ¤â¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¼ïÎà¤òȽÄê¤Ç¤­¤Ê¤«¤Ã¤¿ºÝ¤Ë¡¢
1924 ¤³¤Î¥Õ¥¡¥¤¥ë¤ò
1925 .BR mount (8)
1926 ¤¬»ÈÍѤ¹¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
1927 ¤½¤Î¾ì¹ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬»î¤µ¤ì¤ë
1928 (¤¿¤À¤·¡¢"nodev" ¤Î°õ¤¬¤Ä¤¤¤¿¤â¤Î¤Ï½ü¤¯)¡£
1929 .TP
1930 .I /proc/fs
1931 .\"O Empty subdirectory.
1932 ¶õ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1933 .TP
1934 .I /proc/ide
1935 .\"O This directory
1936 .\"O exists on systems with the IDE bus.
1937 .\"O There are directories for each IDE channel and attached device.
1938 .\"O Files include:
1939 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï IDE ¥Ð¥¹¤ò¤â¤Ä¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡£
1940 ³Æ IDE ¥Á¥ã¥Í¥ë¤È¤½¤ì¤Ë¼è¤êÉÕ¤±¤é¤ì¤Æ¤¤¤ë³Æ¥Ç¥Ð¥¤¥¹¤´¤È¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ê¡¢
1941 °Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£
1942
1943 .in +4n
1944 .nf
1945 .\"O cache              buffer size in KB
1946 cache              ¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º (KB)
1947 .\"O capacity           number of sectors
1948 capacity           ¥»¥¯¥¿¿ô
1949 .\"O driver             driver version
1950 driver             ¥É¥é¥¤¥Ð¤Î¥Ð¡¼¥¸¥ç¥ó
1951 .\"O geometry           physical and logical geometry
1952 geometry           ÊªÍý¥¸¥ª¥á¥È¥ê¤ÈÏÀÍý¥¸¥ª¥á¥È¥ê
1953 .\"O identify           in hexadecimal
1954 identify           16 ¿Ê¿ôɽµ­
1955 .\"O media              media type
1956 media              ¥á¥Ç¥£¥¢¤Î¥¿¥¤¥×
1957 .\"O model              manufacturer's model number
1958 model              À½Â¤¼Ô¤Î¥â¥Ç¥ëÈÖ¹æ
1959 .\"O settings           drive settings
1960 settings           ¥É¥é¥¤¥Ö¤ÎÀßÄê
1961 .\"O smart_thresholds   in hexadecimal
1962 smart_thresholds   16 ¿Ê¿ôɽµ­
1963 .\"O smart_values       in hexadecimal
1964 smart_values       16 ¿Ê¿ôɽµ­
1965 .fi
1966 .in
1967
1968 .\"O The
1969 .\"O .BR hdparm (8)
1970 .\"O utility provides access to this information in a friendly format.
1971 .BR hdparm (8)
1972 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢Ê¬¤«¤ê¤ä¤¹¤¤·Á¼°¤Ç
1973 ¤³¤Î¾ðÊó¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î¼êÃʤòÄ󶡤¹¤ë¡£
1974 .TP
1975 .I /proc/interrupts
1976 .\"O This is used to record the number of interrupts per CPU per IO device.
1977 .\"O Since Linux 2.6.24,
1978 .\"O for the i386 and x86_64 architectures, at least, this also includes
1979 .\"O interrupts internal to the system (that is, not associated with a device
1980 .\"O as such), such as NMI (nonmaskable interrupt), LOC (local timer interrupt),
1981 .\"O and for SMP systems, TLB (TLB flush interrupt), RES (rescheduling
1982 .\"O interrupt), CAL (remote function call interrupt), and possibly others.
1983 .\"O Very easy to read formatting, done in ASCII.
1984 IO ¥Ç¥Ð¥¤¥¹Ëè¤Î CPU Ê̤γä¤ê¹þ¤ß²ó¿ô¤Îµ­Ï¿¤Ë»È¤ï¤ì¤ë¡£
1985 Linux 2.6.24 °Ê¹ß¡¢¾¯¤Ê¤¯¤È¤â i386 ¤È x86_64 ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Ï¡¢
1986 (¥Ç¥Ð¥¤¥¹¤È´ØÏ¢¤¬¤Ê¤¤) ¥·¥¹¥Æ¥àÆâÉô¤Î³ä¤ê¹þ¤ß¤Ë¤Ä¤¤¤Æ¤âµ­Ï¿¤µ¤ì¤ë¡£
1987 ¥·¥¹¥Æ¥àÆâÉô¤Î³ä¤ê¹þ¤ß¤Ë¤Ï¡¢NMI (nonmaskable interrupt),
1988 LOC (local timer interrupt) ¤ä¡¢SMP ¥·¥¹¥Æ¥à¤Ç¤Ï TLB (TLB flush interrupt),
1989 RES (rescheduling interrupt), CAL (remote function call interrupt)
1990 ¤Ê¤É¤¬¤¢¤ë¡£
1991 ´Êñ¤ËÆɤळ¤È¤Î¤Ç¤­¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¡¢ASCII ¤Çɽµ­¤µ¤ì¤Æ¤¤¤ë¡£
1992 .TP
1993 .I /proc/iomem
1994 .\"O I/O memory map in Linux 2.4.
1995 Linux 2.4 ¤Ë¤ª¤±¤ë I/O ¥á¥â¥ê¥Þ¥Ã¥×¡£
1996 .TP
1997 .I /proc/ioports
1998 .\"O This is a list of currently registered Input-Output port regions that
1999 .\"O are in use.
2000 ¸½ºßÅÐÏ¿¤µ¤ì»È¤ï¤ì¤Æ¤¤¤ë I/O ¥Ý¡¼¥ÈÎΰè¤Î¥ê¥¹¥È¡£
2001 .TP
2002 .\"O .IR /proc/kallsyms " (since Linux 2.5.71)"
2003 .IR /proc/kallsyms " (Linux 2.5.71 °Ê¹ß)"
2004 .\"O This holds the kernel exported symbol definitions used by the
2005 .\"O .BR modules (X)
2006 .\"O tools to dynamically link and bind loadable modules.
2007 ¥«¡¼¥Í¥ë¤Î³°Éô¥·¥ó¥Ü¥ëÄêµÁ¤òÊÝ»ý¤¹¤ë¡£
2008 .BR modules (X)
2009 ´Ø·¸¤Î¥Ä¡¼¥ë¤¬¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤òưŪ¤Ë¥ê¥ó¥¯¤·¤¿¤ê
2010 ¥Ð¥¤¥ó¥É (bind) ¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
2011 .\"O In Linux 2.5.47 and earlier, a similar file with slightly different syntax
2012 .\"O was named
2013 .\"O .IR ksyms .
2014 Linux 2.5.47 °ÊÁ°¤Ç¤Ï¡¢Èù̯¤Ë°Û¤Ê¤ë½ñ¼°¤Î»÷¤¿¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬
2015 .I ksyms
2016 ¤È¤¤¤¦Ì¾Á°¤Ç¤¢¤Ã¤¿¡£
2017 .TP
2018 .I /proc/kcore
2019 .\"O This file represents the physical memory of the system and is stored
2020 .\"O in the ELF core file format.
2021 .\"O With this pseudo-file, and an unstripped
2022 .\"O kernel
2023 .\"O .RI ( /usr/src/linux/vmlinux )
2024 .\"O binary, GDB can be used to
2025 .\"O examine the current state of any kernel data structures.
2026 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¤ÎʪÍý¥á¥â¥ê¤òɽ¸½¤·¤Æ¤ª¤ê¡¢
2027 ELF ¥³¥¢¥Õ¥¡¥¤¥ë·Á¼° (core file format) ¤ÇÊÝ»ý¤µ¤ì¤Æ¤¤¤ë¡£
2028 ¤³¤Îµ¼»÷¥Õ¥¡¥¤¥ë¤È strip ¤µ¤ì¤Æ¤¤¤Ê¤¤¥«¡¼¥Í¥ë¤Î¥Ð¥¤¥Ê¥ê
2029 .RI ( /usr/src/linux/vmlinux )
2030 [ÌõÃí: ¥Ñ¥Ã¥±¡¼¥¸¤Ë°Í¸¤¹¤ë]) ¤¬¤¢¤ì¤Ð¡¢
2031 GDB ¤Ï¥«¡¼¥Í¥ëÆâ¤ÎǤ°Õ¤Î¥Ç¡¼¥¿¹½Â¤¤Î¸½ºß¤Î¾õÂÖ¤òÄ´¤Ù¤é¤ì¤ë¡£
2032
2033 .\"O The total length of the file is the size of physical memory (RAM) plus
2034 .\"O 4KB.
2035 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÂ礭¤µ¤ÏʪÍý¥á¥â¥ê (RAM) ¤Î¥µ¥¤¥º¤Ë 4KB ¤ò²Ã¤¨¤¿ÃͤǤ¢¤ë¡£
2036 .TP
2037 .I /proc/kmsg
2038 .\"O This file can be used instead of the
2039 .\"O .BR syslog (2)
2040 .\"O system call to read kernel messages.
2041 .\"O A process must have superuser
2042 .\"O privileges to read this file, and only one process should read this
2043 .\"O file.
2044 .\"O This file should not be read if a syslog process is running
2045 .\"O which uses the
2046 .\"O .BR syslog (2)
2047 .\"O system call facility to log kernel messages.
2048 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
2049 .BR syslog (2)
2050 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ç¥«¡¼¥Í¥ë¥á¥Ã¥»¡¼¥¸¤òÆɤ߽Ф¹Âå¤ê¤Ë»È¤¨¤ë¡£
2051 ¥×¥í¥»¥¹¤¬¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤि¤á¤Ë¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¸¢¸Â¤¬É¬ÍפǤ¢¤ê¡¢
2052 ¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф¹¤Î¤Ï 1 ¤Ä¤Î¥×¥í¥»¥¹¤Î¤ß¤Ë¸Â¤ë¤Ù¤­¤Ç¤¢¤ë¡£
2053 ¥«¡¼¥Í¥ë¥á¥Ã¥»¡¼¥¸¤òµ­Ï¿¤¹¤ë¤¿¤á¤Ë¡¢
2054 .BR syslog (2)
2055 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Îµ¡Ç½¤ò»È¤¦ syslog ¥×¥í¥»¥¹¤¬²ÔƯ¤·¤Æ¤¤¤ë¾ì¹ç¡¢
2056 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф¹¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£
2057
2058 .\"O Information in this file is retrieved with the
2059 .\"O .BR dmesg (1)
2060 .\"O program.
2061 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¤Î¾ðÊó¤Ï
2062 .BR dmesg (1)
2063 ¤Ë¤è¤Ã¤Æɽ¼¨¤µ¤ì¤ë¡£
2064 .TP
2065 .IR /proc/ksyms " (Linux 1.1.23-2.5.47)"
2066 .\"O See
2067 .\"O .IR /proc/kallsyms .
2068 .I /proc/kallsyms
2069 ¤ò»²¾È¡£
2070 .TP
2071 .I /proc/loadavg
2072 .\"O The first three fields in this file are load average figures
2073 .\"O giving the number of jobs in the run queue (state R)
2074 .\"O or waiting for disk I/O (state D) averaged over 1, 5, and 15 minutes.
2075 .\"O They are the same as the load average numbers given by
2076 .\"O .BR uptime (1)
2077 .\"O and other programs.
2078 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î 3 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥í¡¼¥É¥¢¥Ù¥ì¡¼¥¸¤Î¿ôÃͤǡ¢
2079 1, 5, 15 Ê¬¤¢¤¿¤ê¤Î¼Â¹Ô¥­¥å¡¼Æâ (state R) ¤Þ¤¿¤Ï
2080 ¥Ç¥£¥¹¥¯ I/O ÂÔ¤Á (state D) ¤Î¥¸¥ç¥Ö¿ô¤òÍ¿¤¨¤ë¡£
2081 ¤³¤ì¤Ï
2082 .BR uptime (1)
2083 ¤Ê¤É¤Î¥×¥í¥°¥é¥à¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤ëÃͤÈƱ¤¸¤Ç¤¢¤ë¡£
2084 .\"O The fourth field consists of two numbers separated by a slash (/).
2085 4 ÈÖÌܤΥե£¡¼¥ë¥É¤Ï¥¹¥é¥Ã¥·¥å (/) ¤Ç¶èÀÚ¤é¤ì¤¿ 2 ¤Ä¤Î¿ôÃͤ«¤é¹½À®¤µ¤ì¤ë¡£
2086 .\"O The first of these is the number of currently executing kernel
2087 .\"O scheduling entities (processes, threads);
2088 .\"O this will be less than or equal to the number of CPUs.
2089 ¤³¤Î¿ôÃͤΤ¦¤ÁºÇ½é¤Î¤â¤Î¤Ï¡¢¸½ºß¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë
2090 ¥«¡¼¥Í¥ë¥¹¥±¥¸¥å¡¼¥ë¥¨¥ó¥Æ¥£¥Æ¥£ (¥×¥í¥»¥¹¡¢¥¹¥ì¥Ã¥É) ¤Î¿ô¤Ç¤¢¤ë¡£
2091 ¤³¤Î¿ôÃͤϠCPU ¤Î¿ô°Ê²¼¤Ë¤Ê¤ë¡£
2092 .\"O The value after the slash is the number of kernel scheduling entities
2093 .\"O that currently exist on the system.
2094 ¥¹¥é¥Ã¥·¥å¤Î¸å¤Î¿ôÃͤϡ¢¸½ºß¥·¥¹¥Æ¥à¾å¤Ë¸ºß¤¹¤ë
2095 ¥«¡¼¥Í¥ë¥¹¥±¥¸¥å¡¼¥ë¥¨¥ó¥Æ¥£¥Æ¥£¤Î¿ô¤Ç¤¢¤ë¡£
2096 .\"O The fifth field is the PID of the process that was most
2097 .\"O recently created on the system.
2098 5 ÈÖÌܤΥե£¡¼¥ë¥É¤Ï¥·¥¹¥Æ¥à¾å¤ËºÇ¤âºÇ¶áÀ¸À®¤µ¤ì¤¿¥×¥í¥»¥¹¤Î PID ¤Ç¤¢¤ë¡£
2099 .TP
2100 .I /proc/locks
2101 .\"O This file shows current file locks
2102 .\"O .RB ( flock "(2) and " fcntl (2))
2103 .\"O and leases
2104 .\"O .RB ( fcntl (2)).
2105 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¤Î¥Õ¥¡¥¤¥ë¥í¥Ã¥¯
2106 .RB ( flock "(2) ¤È " fcntl (2))
2107 ¤È¥ê¡¼¥¹
2108 .RB ( fcntl (2))
2109 ¤òɽ¼¨¤¹¤ë¡£
2110 .TP
2111 .\"O .IR /proc/malloc " (only up to and including Linux 2.2)"
2112 .IR /proc/malloc " (Linux 2.2 °ÊÁ°¤Î¤ß)"
2113 .\" It looks like this only ever did something back in 1.0 days
2114 .\"O This file is only present if
2115 .\"O .B CONFIG_DEBUG_MALLOC
2116 .\"O was defined during compilation.
2117 ¥³¥ó¥Ñ¥¤¥ë¤Î¤È¤­¤Ë
2118 .B CONFIGDEBUGMALLOC
2119 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
2120 .TP
2121 .I /proc/meminfo
2122 .\"O This file reports statistics about memory usage on the system.
2123 .\"O It is used by
2124 .\"O .BR free (1)
2125 .\"O to report the amount of free and used memory (both physical and swap)
2126 .\"O on the system as well as the shared memory and buffers used by the
2127 .\"O kernel.
2128 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¾å¤Î¥á¥â¥ê»ÈÍÑÎ̤˴ؤ¹¤ëÅý·×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
2129 .BR free (1)
2130 ¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¡¢
2131 ¥·¥¹¥Æ¥à¤Î̤»ÈÍѤª¤è¤Ó»ÈÍÑÃæ¤Î¥á¥â¥êÎÌ (ʪÍý¥á¥â¥ê¤È¥¹¥ï¥Ã¥×) ¤È¡¢
2132 ¥«¡¼¥Í¥ë¤Ë»È¤ï¤ì¤Æ¤¤¤ë¶¦Í­¥á¥â¥ê¤È¥Ð¥Ã¥Õ¥¡¤Î¾ðÊó¤òÊó¹ð¤¹¤ë¡£
2133 .TP
2134 .I /proc/modules
2135 .\"O A text list of the modules that have been loaded by the system.
2136 ¸½ºß¥·¥¹¥Æ¥à¤Ë¥í¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥â¥¸¥å¡¼¥ë¤Î¥Æ¥­¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
2137 .\"O See also
2138 .\"O .BR lsmod (8).
2139 .BR lsmod (8)
2140 ¤â»²¾È¡£
2141 .TP
2142 .I /proc/mounts
2143 .\"O Before kernel 2.4.19, this file was a list
2144 .\"O of all the file systems currently mounted on the system.
2145 .\"O With the introduction of per-process mount namespaces in
2146 .\"O Linux 2.4.19, this file became a link to
2147 .\"O .IR /proc/self/mounts ,
2148 .\"O which lists the mount points of the process's own mount namespace.
2149 .\"O The format of this file is documented in
2150 .\"O .BR fstab (5).
2151 ¥«¡¼¥Í¥ë 2.4.19 ¤è¤êÁ°¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¥·¥¹¥Æ¥à¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë
2152 Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ê¥¹¥È¤Ç¤¢¤Ã¤¿¡£
2153 Linux 2.4.19 ¤Ç¥×¥í¥»¥¹Ã±°Ì¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤¬Æ³Æþ¤µ¤ì¤¿¤³¤È¤Ëȼ¤¤¡¢
2154 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
2155 .I /proc/self/mounts
2156 ¤Ø¤Î¥ê¥ó¥¯¤È¤Ê¤Ã¤¿¡£
2157 .I /proc/self/mounts
2158 ¤Ï¤½¤Î¥×¥í¥»¥¹¼«¿È¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
2159 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
2160 .BR fstab (5)
2161 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
2162 .TP
2163 .I /proc/mtrr
2164 .\"O Memory Type Range Registers.
2165 .\"O See the kernel source file
2166 .\"O .I Documentation/mtrr.txt
2167 .\"O for details.
2168 Memory Type Range Registers¡£
2169 ¾ÜºÙ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
2170 .I Documentation/mtrr.txt
2171 ¤ò»²¾È¤¹¤ë¤³¤È¡£
2172 .TP
2173 .I /proc/net
2174 .\"O various net pseudo-files, all of which give the status of some part of
2175 .\"O the networking layer.
2176 .\"O These files contain ASCII structures and are,
2177 .\"O therefore, readable with
2178 .\"O .BR cat (1).
2179 .\"O However, the standard
2180 .\"O .BR netstat (8)
2181 .\"O suite provides much cleaner access to these files.
2182 ¤µ¤Þ¤¶¤Þ¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤Ä¤¤¤Æ¤Îµ¼»÷¥Õ¥¡¥¤¥ë¤Ç¡¢
2183 ¤½¤ì¤¾¤ì¤¬¥Í¥Ã¥È¥ï¡¼¥¯ÁؤγƼï¤Î¾õÂÖ¤òÍ¿¤¨¤ë¡£
2184 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤϠASCII ·Á¼°¤Ê¤Î¤Ç¡¢
2185 .BR cat (1)
2186 ¤ÇÆɤ߽Ф»¤ë¡£
2187 ¤È¤Ï¤¤¤¨´ðËÜ¥³¥Þ¥ó¥É¤Î
2188 .BR netstat (8)
2189 ¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤΤè¤ê¤¹¤Ã¤­¤ê¤È¤·¤¿É½¼¨¤òÄ󶡤¹¤ë¡£
2190 .TP
2191 .I /proc/net/arp
2192 .\"O This holds an ASCII readable dump of the kernel ARP table used for
2193 .\"O address resolutions.
2194 .\"O It will show both dynamically learned and preprogrammed ARP entries.
2195 .\"O The format is:
2196 ¥¢¥É¥ì¥¹²ò·è¤Ë»È¤ï¤ì¤ë¥«¡¼¥Í¥ë¤Î ARP ¥Æ¡¼¥Ö¥ë¤Î
2197 ASCII ²ÄÆɤʥÀ¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2198 ưŪ·ë¹ç¤µ¤ì¤¿¤â¤Î¤È¸ÇÄê (preprogrammed) ¤ÎξÊý¤Î
2199 APP ¥¨¥ó¥È¥ê¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤ë¡£¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2200
2201 .nf
2202 .ft CW
2203 .in 8n
2204 IP address     HW type   Flags     HW address          Mask   Device
2205 192.168.0.50   0x1       0x2       00:50:BF:25:68:F3   *      eth0
2206 192.168.0.250  0x1       0xc       00:00:00:00:00:00   *      eth0
2207 .ft
2208 .fi
2209 .in
2210
2211 .\"O Here "IP address" is the IPv4 address of the machine and the "HW type"
2212 .\"O is the hardware type of the address from RFC\ 826.
2213 .\"O The flags are the internal
2214 .\"O flags of the ARP structure (as defined in
2215 .\"O .IR /usr/include/linux/if_arp.h )
2216 .\"O and
2217 .\"O the "HW address" is the data link layer mapping for that IP address if
2218 .\"O it is known.
2219 ¤³¤³¤Ç IP address ¤Ï¥Þ¥·¥ó¤Î IPv4 ¥¢¥É¥ì¥¹¡¢
2220 HW type ¤Ï¤½¤Î¥¢¥É¥ì¥¹¤Î RFC\ 826 ¤ÇÄê¤á¤é¤ì¤Æ¤¤¤ë¥Ï¡¼¥É¥¦¥§¥¢¤Î·Á¼°¡¢
2221 Flags ¤Ï ARP ¹½Â¤ÂÎ
2222 .RI ( /usr/include/linux/if_arp.h
2223 Æâ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë) ¤ÎÆâÉô¥Õ¥é¥°¡¢
2224 HW address ¤Ï¤½¤Î IP ¥¢¥É¥ì¥¹¤Ë¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¥ê¥ó¥¯ÁؤΥ¢¥É¥ì¥¹
2225 (¤â¤·¤ï¤«¤Ã¤Æ¤¤¤ì¤Ð) ¤Ç¤¢¤ë¡£
2226 .TP
2227 .I /proc/net/dev
2228 .\"O The dev pseudo-file contains network device status information.
2229 .\"O This gives
2230 .\"O the number of received and sent packets, the number of errors and
2231 .\"O collisions
2232 .\"O and other basic statistics.
2233 .\"O These are used by the
2234 .\"O .BR ifconfig (8)
2235 .\"O program to report device status.
2236 .\"O The format is:
2237 µ¼»÷¥Õ¥¡¥¤¥ë dev ¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥Ç¥Ð¥¤¥¹¤Î¾õÂÖ¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¡£
2238 ¤³¤ì¤ÏÁ÷¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¿ô¡¢¥¨¥é¡¼¤È¥³¥ê¥¸¥ç¥ó (collision) ¤Î²ó¿ô¡¢
2239 ¤½¤Î¾¤Î´ðËÜŪ¤ÊÅý·×¤òÍ¿¤¨¤ë¡£
2240 ¤³¤ì¤é¤Ï
2241 .BR ifconfig (8)
2242 ¤¬¥Ç¥Ð¥¤¥¹¤Î¾õÂÖ¤òÊó¹ð¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
2243 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2244
2245 .nf
2246 .ft CW
2247 .in 1n
2248 Inter-|   Receive                                                |  Transmit
2249  face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
2250     lo: 2776770   11307    0    0    0     0          0         0  2776770   11307    0    0    0     0       0          0
2251   eth0: 1215645    2751    0    0    0     0          0         0  1782404    4324    0    0    0   427       0          0
2252   ppp0: 1622270    5552    1    0    0     0          0         0   354130    5669    0    0    0     0       0          0
2253   tap0:    7714      81    0    0    0     0          0         0     7714      81    0    0    0     0       0          0
2254 .in
2255 .ft
2256 .fi
2257 .\" .TP
2258 .\" .I /proc/net/ipx
2259 .\"O .\" No information.
2260 .\" ¾ðÊó¤Ê¤·¡£
2261 .\" .TP
2262 .\" .I /proc/net/ipx_route
2263 .\"O .\" No information.
2264 .\" ¾ðÊó¤Ê¤·¡£
2265 .TP
2266 .I /proc/net/dev_mcast
2267 .\"O Defined in
2268 .\"O .IR /usr/src/linux/net/core/dev_mcast.c :
2269 .I /usr/src/linux/net/core/dev_mcast.c
2270 ¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢°Ê²¼¤Î·Á¼°¤Ç¤¢¤ë¡£
2271 .nf
2272 .in +5
2273 indx interface_name  dmi_u dmi_g dmi_address
2274 2    eth0            1     0     01005e000001
2275 3    eth1            1     0     01005e000001
2276 4    eth2            1     0     01005e000001
2277 .in
2278 .fi
2279 .TP
2280 .I /proc/net/igmp
2281 .\"O Internet Group Management Protocol.
2282 .\"O Defined in
2283 .\"O .IR /usr/src/linux/net/core/igmp.c .
2284 Internet Group Management Protocol (¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥°¥ë¡¼¥×´ÉÍý¥×¥í¥È¥³¥ë)¡£
2285 .I /usr/src/linux/net/core/igmp.c
2286 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
2287 .TP
2288 .I /proc/net/rarp
2289 .\"O This file uses the same format as the
2290 .\"O .I arp
2291 .\"O file and contains the current reverse mapping database used to provide
2292 .\"O .BR rarp (8)
2293 .\"O reverse address lookup services.
2294 .\"O If RARP is not configured into the
2295 .\"O kernel,
2296 .\"O this file will not be present.
2297 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
2298 .I arp
2299 ¤ÈƱ¤¸¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç
2300 µÕ¥¢¥É¥ì¥¹²ò·è¥µ¡¼¥Ó¥¹ (reverse address lookup services)
2301 .BR rarp (8)
2302 ¤ËÄ󶡤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¸½ºß¤ÎµÕ¥Þ¥Ã¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÆâÍƤò´Þ¤ó¤Ç¤¤¤ë¡£
2303 RARP ¤¬¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
2304 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤·¤Ê¤¤¡£
2305 .TP
2306 .I /proc/net/raw
2307 .\"O Holds a dump of the RAW socket table.
2308 .\"O Much of the information is not of
2309 .\"O use
2310 .\"O apart from debugging.
2311 .\"O The "sl" value is the kernel hash slot for the
2312 .\"O socket,
2313 .\"O the "local_address" is the local address and protocol number pair.
2314 .\"O \&"St" is
2315 .\"O the internal status of the socket.
2316 .\"O The "tx_queue" and "rx_queue" are the
2317 .\"O outgoing and incoming data queue in terms of kernel memory usage.
2318 .\"O The "tr", "tm\->when", and "rexmits" fields are not used by RAW.
2319 .\"O The "uid"
2320 .\"O field holds the effective UID of the creator of the socket.
2321 RAW ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2322 ¤Û¤È¤ó¤É¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ç¤Ï»È¤ï¤ì¤Ê¤¤¡£
2323 \&"sl" ¤ÎÃͤϥ½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¡¢
2324 \&"local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥×¥í¥È¥³¥ëÈÖ¹æ¤Î¥Ú¥¢
2325 [Ìõ¼ÔÄɲÃ: "rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥×¥í¥È¥³¥ëÈÖ¹æ¤Î¥Ú¥¢]¡£
2326 \&"st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂÖ¡£
2327 \&"tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2328 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥­¥å¡¼¤Î¥µ¥¤¥º¡£
2329 \&"tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï RAW ¤Ç¤Ï»È¤ï¤ì¤Æ¤¤¤Ê¤¤¡£
2330 \&"uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2331 .\" .TP
2332 .\" .I /proc/net/route
2333 .\"O .\" No information, but looks similar to
2334 .\"O .\" .BR route (8).
2335 .\" ¾ðÊó¤Ê¤·¡£
2336 .\" .BR route (8)
2337 .\" (¤Î½ÐÎÏ) ¤Î¤è¤¦¤Ë¸«¤¨¤ë¡£
2338 .TP
2339 .I /proc/net/snmp
2340 .\"O This file holds the ASCII data needed for the IP, ICMP, TCP, and UDP
2341 .\"O management
2342 .\"O information bases for an SNMP agent.
2343 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï SNMP ¥¨¡¼¥¸¥§¥ó¥È¤¬É¬ÍפȤ¹¤ë
2344 IP, ICMP, TCP, UDP ´ÉÍý¾ðÊó¤ò ASCII ¥Ç¡¼¥¿¤È¤·¤ÆÊÝ»ý¤·¤Æ¤¤¤ë¡£
2345 .TP
2346 .I /proc/net/tcp
2347 .\"O Holds a dump of the TCP socket table.
2348 .\"O Much of the information is not
2349 .\"O of use apart from debugging.
2350 .\"O The "sl" value is the kernel hash slot
2351 .\"O for the socket, the "local_address" is the local address and port number pair.
2352 .\"O The "rem_address" is the remote address and port number pair
2353 .\"O (if connected).
2354 .\"O \&"St" is the internal status of the socket.
2355 .\"O The "tx_queue" and "rx_queue" are the
2356 .\"O outgoing and incoming data queue in terms of kernel memory usage.
2357 .\"O The "tr", "tm\->when", and "rexmits" fields hold internal information of
2358 .\"O the kernel socket state and are only useful for debugging.
2359 .\"O The "uid"
2360 .\"O field holds the effective UID of the creator of the socket.
2361 TCP ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2362 ÂçÉôʬ¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¡£
2363 sl ¤Ï¥½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¤ÎÃÍ¡¢
2364 \&"local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2365 (¥½¥±¥Ã¥È¤¬Àܳ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï)
2366 \&"rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤ÎÂФǤ¢¤ë¡£
2367 \&"st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤Ǥ¢¤ë¡£
2368 \&"tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2369 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥­¥å¡¼¤Î¥µ¥¤¥º¡£
2370 \&"tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥È¾õÂ֤Υ«¡¼¥Í¥ë
2371 ÆâÉô¾ðÊó¤òÊÝ»ý¤·¤Æ¤¤¤ë¤¬¡¢¤³¤ì¤é¤Ï¥Ç¥Ð¥Ã¥°¤Î¤È¤­¤Ë¤·¤«Ìò¤ËΩ¤¿¤Ê¤¤¡£
2372 \&"uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2373 .TP
2374 .I /proc/net/udp
2375 .\"O Holds a dump of the UDP socket table.
2376 .\"O Much of the information is not of
2377 .\"O use apart from debugging.
2378 .\"O The "sl" value is the kernel hash slot for the
2379 .\"O socket, the "local_address" is the local address and port number pair.
2380 .\"O The "rem_address" is the remote address and port number pair
2381 .\"O (if connected). "St" is the internal status of the socket.
2382 .\"O The "tx_queue" and "rx_queue" are the outgoing and incoming data queue
2383 .\"O in terms of kernel memory usage.
2384 .\"O The "tr", "tm\->when", and "rexmits" fields
2385 .\"O are not used by UDP.
2386 .\"O The "uid"
2387 .\"O field holds the effective UID of the creator of the socket.
2388 .\"O The format is:
2389 UDP ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2390 ÂçÉôʬ¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¡£
2391 sl ¤Ï¥½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¤ÎÃÍ¡¢
2392 "local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2393 (¥½¥±¥Ã¥È¤¬Àܳ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï)
2394 "rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2395 "st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤Ǥ¢¤ë¡£
2396 "tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2397 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥­¥å¡¼¤Î¥µ¥¤¥º¡£
2398 "tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï UDP ¤Ç¤Ï»È¤ï¤ì¤Æ¤¤¤Ê¤¤¡£
2399 "uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2400 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2401
2402 .nf
2403 .ft CW
2404 .in 1n
2405 sl  local_address rem_address   st tx_queue rx_queue tr rexmits  tm\->when uid
2406  1: 01642C89:0201 0C642C89:03FF 01 00000000:00000001 01:000071BA 00000000 0
2407  1: 00000000:0801 00000000:0000 0A 00000000:00000000 00:00000000 6F000100 0
2408  1: 00000000:0201 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0
2409 .in
2410 .ft
2411 .fi
2412 .TP
2413 .I /proc/net/unix
2414 .\"O Lists the Unix domain sockets present within the system and their
2415 .\"O status.
2416 .\"O The format is:
2417 Unix ¥É¥á¥¤¥ó¥½¥±¥Ã¥È¤Î¥ê¥¹¥È¡£
2418 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2419 .nf
2420 .sp .5
2421 .ft CW
2422 Num RefCount Protocol Flags    Type St Path
2423  0: 00000002 00000000 00000000 0001 03
2424  1: 00000001 00000000 00010000 0001 01 /dev/printer
2425 .ft
2426 .sp .5
2427 .fi
2428
2429 .\"O Here "Num" is the kernel table slot number, "RefCount" is the number
2430 .\"O of users of the socket, "Protocol" is currently always 0, "Flags"
2431 .\"O represent the internal kernel flags holding the status of the
2432 .\"O socket.
2433 .\"O Currently, type is always "1" (Unix domain datagram sockets are
2434 .\"O not yet supported in the kernel).
2435 .\"O \&"St" is the internal state of the
2436 .\"O socket and Path is the bound path (if any) of the socket.
2437 ¤³¤³¤Ç¡¢Num ¤Ï¥«¡¼¥Í¥ë¤Î¥Æ¡¼¥Ö¥ë¥¹¥í¥Ã¥È¿ô¡¢
2438 RefCount ¤Ï¥½¥±¥Ã¥È¤ò»ÈÍѤ·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¿ô¡¢
2439 Protocol ¤Ï¤¤¤Þ¤Î¤È¤³¤í¤¤¤Ä¤â 0 ¤Ç¡¢Flags ¤Ï¥½¥±¥Ã¥È¤Î¾õÂÖ¤òÊÝ»ý¤·¤Æ¤¤¤ë
2440 ¥«¡¼¥Í¥ëÆâÉô¤Î¥Õ¥é¥°¤Ç¤¢¤ë¡£
2441 Type ¤Ï¤¤¤Þ¤Î¤È¤³¤í¤¤¤Ä¤â 1
2442 (UNIX ¥É¥á¥¤¥ó¤Î¥Ç¡¼¥¿¥°¥é¥à¥½¥±¥Ã¥È¤Ï¡¢¸½ºß¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤
2443 [ÌõÃí: 2.0.34 ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤À])¡£
2444 St ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤ǡ¢Path ¤Ï (¤â¤·¤¢¤ì¤Ð) ¥½¥±¥Ã¥È¤Î¥Ñ¥¹Ì¾¤Ç¤¢¤ë¡£
2445 .TP
2446 .I /proc/partitions
2447 .\"O Contains major and minor numbers of each partition as well as number
2448 .\"O of blocks and partition name.
2449 ³Æ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥á¥¸¥ã¡¼ÈÖ¹æ¤È¥Þ¥¤¥Ê¡¼Èֹ椬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2450 ¤µ¤é¤Ë¡¢¥Ö¥í¥Ã¥¯¿ô¤È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó̾¤â½ñ¤«¤ì¤Æ¤¤¤ë¡£
2451 .TP
2452 .I /proc/pci
2453 .\"O This is a listing of all PCI devices found during kernel initialization
2454 .\"O and their configuration.
2455 ¥«¡¼¥Í¥ë¤Î½é´ü²½»þ¤Ë¸«¤Ä¤«¤Ã¤¿¤¹¤Ù¤Æ¤Î PCI ¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¤È
2456 ¤½¤ÎÀßÄê¡£
2457
2458 .\"O This file has been deprecated in favor of a new
2459 .\"O .I /proc
2460 .\"O interface for PCI
2461 .\"O .RI ( /proc/bus/pci ).
2462 .\"O It became optional in Linux 2.2 (available with
2463 .\"O .B CONFIG_PCI_OLD_PROC
2464 .\"O set at kernel compilation).
2465 .\"O It became once more nonoptionally enabled in Linux 2.4.
2466 .\"O Next, it was deprecated in Linux 2.6 (still available with
2467 .\"O .B CONFIG_PCI_LEGACY_PROC
2468 .\"O set), and finally removed altogether since Linux 2.6.17.
2469 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÏÈó¿ä¾©¤Ç¤¢¤ê¡¢¿·¤·¤¤ PCI ÍѤÎ
2470 .I /proc
2471 ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
2472 .RI ( /proc/bus/pci )
2473 ¤ò»È¤¦¤³¤È¡£
2474 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï Linux 2.2 ¤Ç¥ª¥×¥·¥ç¥ó¤Ë¤Ê¤Ã¤¿ (¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
2475 .B CONFIG_PCI_OLD_PROC
2476 ¤ò¥»¥Ã¥È¤¹¤ë¤ÈÍøÍѲÄǽ¤Ç¤¢¤Ã¤¿)¡£
2477 Linux 2.4 ¤ÇºÆ¤Ó¥ª¥×¥·¥ç¥ó¤Ê¤·¤ÇÍ­¸ú¤ËÌá¤Ã¤¿¡£
2478 ¤µ¤é¤Ë¡¢Linux 2.6 ¤ÇÈó¿ä¾©¤È¤Ê¤ê
2479 .RB ( CONFIG_PCI_LEGACY_PROC
2480 ¤ò¥»¥Ã¥È¤¹¤ë¤È¤Þ¤ÀÍøÍѲÄǽ¤Ç¤¢¤Ã¤¿)¡¢
2481 ºÇ½ªÅª¤Ë Linux 2.6.17 °Ê¹ß¤Ç´°Á´¤Ëºï½ü¤µ¤ì¤¿¡£
2482 .\" FIXME /proc/sched_debug
2483 .\" .TP
2484 .\" .IR /proc/sched_debug " (since Linux 2.6.23)"
2485 .\" See also /proc/[pid]/sched
2486 .TP
2487 .I /proc/scsi
2488 .\"O A directory with the
2489 .\"O .I scsi
2490 .\"O mid-level pseudo-file and various SCSI low-level
2491 .\"O driver directories,
2492 .\"O which contain a file for each SCSI host in this system, all of
2493 .\"O which give the status of some part of the SCSI IO subsystem.
2494 .\"O These files contain ASCII structures and are, therefore, readable with
2495 .\"O .BR cat (1).
2496 .I scsi
2497 Ãæ´Ö¥ì¥Ù¥ëµ¼»÷¥Õ¥¡¥¤¥ë¤È¤¤¤¯¤Ä¤«¤Î SCSI Äã¥ì¥Ù¥ë¥É¥é¥¤¥Ð¤Î
2498 ¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤à¥Ç¥£¥ì¥¯¥È¥ê¡£
2499 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï ASCII ¤Çɽ¸½¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç
2500 .BR cat (1)
2501 ¤ÇÆɤá¤ë¡£
2502
2503 .\"O You can also write to some of the files to reconfigure the subsystem or
2504 .\"O switch certain features on or off.
2505 ¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¤Ï½ñ¤­¹þ¤ß²Äǽ¤Ç¡¢¥µ¥Ö¥·¥¹¥Æ¥à¤ÎÀßÄê¤òÊѹ¹¤·¤¿¤ê¡¢
2506 ÆÃÄê¤Îµ¡Ç½¤ò¥ª¥ó/¥ª¥Õ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2507 .TP
2508 .I /proc/scsi/scsi
2509 .\"O This is a listing of all SCSI devices known to the kernel.
2510 .\"O The listing is similar to the one seen during bootup.
2511 .\"O scsi currently supports only the \fIadd-single-device\fP command which
2512 .\"O allows root to add a hotplugged device to the list of known devices.
2513 ¥«¡¼¥Í¥ë¤¬ÃΤäƤ¤¤ë¤¹¤Ù¤Æ¤Î SCSI ¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¡£
2514 ¤³¤Î¥ê¥¹¥È¤Ïµ¯Æ°»þ¤Ë (¥³¥ó¥½¡¼¥ë¤Ç) ¸«¤é¤ì¤ë¤â¤Î¤È¤Û¤ÜƱ¤¸¤Ç¤¢¤ë¡£
2515 scsi ¤Ï¸½ºß¤Î¤È¤³¤í \fIadd-single-device\fP ¥³¥Þ¥ó¥É¤Î¤ß¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
2516 ¤³¤ì¤Ë¤è¤ê¥ë¡¼¥È (root) ¤Ï´ûÃΤΥǥХ¤¥¹¥ê¥¹¥È¤Ø³èÀþÁÞÈ´ (hotplugged)
2517 ¥Ç¥Ð¥¤¥¹¤ò²Ã¤¨¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2518
2519 .\"O The command
2520 .\"O .in +4n
2521 .\"O .nf
2522 .\"O 
2523 .\"O echo \(aqscsi add-single-device 1 0 5 0\(aq > /proc/scsi/scsi
2524 .\"O 
2525 .\"O .fi
2526 .\"O .in
2527 .\"O will cause
2528 .\"O host scsi1 to scan on SCSI channel 0 for a device on ID 5 LUN 0.
2529 .\"O If there
2530 .\"O is already a device known on this address or the address is invalid, an
2531 .\"O error will be returned.
2532 ¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢
2533 .in +4n
2534 .nf
2535
2536 echo \(aqscsi add-single-device 1 0 5 0\(aq > /proc/scsi/scsi
2537  
2538 .fi
2539 .in
2540 ¥Û¥¹¥È¥¢¥À¥×¥¿ scsi1 ¤Ï SCSI ¥Á¥ã¥Í¥ë 0 ¤Ç
2541 ID 5 LUN 0 ¤Î¥Ç¥Ð¥¤¥¹¤òõ¤¹¡£
2542 ¤â¤·¤³¤Î¥¢¥É¥ì¥¹¤Ë´ûÃΤΥǥХ¤¥¹¤¬¤¢¤ë¤«¡¢
2543 ÉÔÀµ¤Ê¥¢¥É¥ì¥¹¤Ç¤¢¤Ã¤¿¤Ê¤é¤Ð¥¨¥é¡¼¤¬Ê֤롣
2544 .TP
2545 .I /proc/scsi/[drivername]
2546 .\"O \fI[drivername]\fP can currently be NCR53c7xx, aha152x, aha1542, aha1740,
2547 .\"O aic7xxx, buslogic, eata_dma, eata_pio, fdomain, in2000, pas16, qlogic,
2548 .\"O scsi_debug, seagate, t128, u15-24f, ultrastore, or wd7000.
2549 .\"O These directories show up for all drivers that registered at least one
2550 .\"O SCSI HBA.
2551 .\"O Every directory contains one file per registered host.
2552 .\"O Every host-file is named after the number the host was assigned during
2553 .\"O initialization.
2554 ¤¤¤Þ¤Î¤È¤³¤í \fI[drivername]\fP ¤Ï NCR53c7xx, aha152x, aha1542, aha1740,
2555 aic7xxx, buslogic, eata_dma, eata_pio, fdomain, in2000, pas16, qlogic,
2556 scsi_debug, seagate, t128, u15-24f, ultrastore, wd7000
2557 ¤Î¤É¤ì¤«¤Ç¤¢¤ë¡£
2558 ¾¯¤Ê¤¯¤È¤â 1 ¤Ä¤Î SCSI ¥Û¥¹¥È¥Ð¥¹¥¢¥À¥×¥¿ (HBA) ¤Ë
2559 ¥É¥é¥¤¥Ð¤¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¤È¡¢¤½¤Î¥É¥é¥¤¥Ð¤ËÂбþ¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤¬¸½¤ì¤ë¡£
2560 ¤½¤ì¤¾¤ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢
2561 ÅÐÏ¿¤µ¤ì¤¿¥Û¥¹¥È¥¢¥À¥×¥¿¤ËÂбþ¤·¤Æ¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤ë¡£
2562 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¥·¥¹¥Æ¥à¤Î½é´ü²½¤ÎºÝ¤Ë
2563 ¥Û¥¹¥È¥¢¥À¥×¥¿¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿ÈÖ¹æ¤Ë¤Ê¤ë¡£
2564
2565 .\"O Reading these files will usually show driver and host configuration,
2566 .\"O statistics, etc.
2567 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òÆɤá¤Ð¥É¥é¥¤¥Ð¤È¥Û¥¹¥È¥¢¥À¥×¥¿¤ÎÀßÄê¤ä
2568 Åý·×¤Ê¤É¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2569
2570 .\"O Writing to these files allows different things on different hosts.
2571 .\"O For example, with the \fIlatency\fP and \fInolatency\fP commands,
2572 .\"O root can switch on and off command latency measurement code in the
2573 .\"O eata_dma driver.
2574 .\"O With the \fIlockup\fP and \fIunlock\fP commands,
2575 .\"O root can control bus lockups simulated by the scsi_debug driver.
2576 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î½ñ¤­¹þ¤ß¤Ï¥Û¥¹¥È¥¢¥À¥×¥¿¤´¤È¤Ë°Û¤Ê¤ëÆ°ºî¤ò°ú¤­µ¯¤³¤¹¡£
2577 ¤¿¤È¤¨¤Ð \fIlatency\fP ¤È \fInolatency\fP ¥³¥Þ¥ó¥É¤òÍѤ¤¤ë¤È¡¢
2578 ¥ë¡¼¥È (root¡¢¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼) ¤Ï eata_dma ¥É¥é¥¤¥Ð¤Î±£¤·Â¬Äꥳ¡¼¥É¤Î
2579 ¥ª¥ó/¥ª¥Õ¤òÀÚ¤êÂؤ¨¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2580 ¤Þ¤¿ \fI lockup\fP ¤È \fIunlock\fP ¥³¥Þ¥ó¥É¤òÍѤ¤¤ë¤È¡¢¥ë¡¼¥È¤Ï
2581 scsi_debug ¥É¥é¥¤¥Ð¤¬¥·¥ß¥å¥ì¡¼¥È¤¹¤ë¥Ð¥¹¥í¥Ã¥¯¥¢¥Ã¥× (bus lockup) ¤ò
2582 À©¸æ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
2583 .TP
2584 .I /proc/self
2585 .\"O This directory refers to the process accessing the
2586 .\"O .I /proc
2587 .\"O file system,
2588 .\"O and is identical to the
2589 .\"O .I /proc
2590 .\"O directory named by the process ID of the same process.
2591 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¥×¥í¥»¥¹¤Ë (¥×¥í¥»¥¹¼«¿È¤Î)
2592 .I /proc
2593 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ø¤Î¥¢¥¯¥»¥¹¤ò»²¾È¤µ¤»¤ë¡£
2594 ¤³¤ì¤Ï
2595 .I /proc
2596 Æâ¤Î (¤³¤Î¥×¥í¥»¥¹¤Î) ¥×¥í¥»¥¹ ID ¤¬Ì¾Á°¤È¤Ê¤Ã¤Æ¤¤¤ë
2597 ¥Ç¥£¥ì¥¯¥È¥ê¤ÈÁ´¤¯Æ±°ì¤Ç¤¢¤ë¡£
2598 .TP
2599 .I /proc/slabinfo
2600 .\"O Information about kernel caches.
2601 .\"O Since Linux 2.6.16 this file is only present if the
2602 .\"O .B CONFIG_SLAB
2603 .\"O kernel configuration option is enabled.
2604 Linux 2.6.16 °Ê¹ß¤Ç¤Ï¡¢
2605 ¥«¡¼¥Í¥ëÀßÄꥪ¥×¥·¥ç¥ó
2606 .B CONFIG_SLAB
2607 ¤¬Í­¸ú¤Î¾ì¹ç¤Ë¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
2608 .\"O The columns in
2609 .\"O .I /proc/slabinfo
2610 .\"O are:
2611 ¥«¡¼¥Í¥ë¥­¥ã¥Ã¥·¥å¤Î¾ðÊó¡£
2612 .I /proc/slabinfo
2613 ¤Î¥Õ¥£¡¼¥ë¥É¤Ï°Ê²¼¤Î¤È¤ª¤ê¡£
2614 .in +4n
2615 .nf
2616
2617 cache-name
2618 num-active-objs
2619 total-objs
2620 object-size
2621 num-active-slabs
2622 total-slabs
2623 num-pages-per-slab
2624 .fi
2625 .in
2626
2627 .\"O See
2628 .\"O .BR slabinfo (5)
2629 .\"O for details.
2630 ¾ÜºÙ¤Ï
2631 .BR slabinfo (5)
2632 ¤ò»²¾È¤¹¤ë¤³¤È¡£
2633 .TP
2634 .I /proc/stat
2635 .\"O kernel/system statistics.
2636 .\"O Varies with architecture.
2637 .\"O Common
2638 .\"O entries include:
2639 ¥«¡¼¥Í¥ë/¥·¥¹¥Æ¥à¤ÎÅý·×¡£
2640 ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë¤è¤Ã¤Æ°Û¤Ê¤ë¡£
2641 ¶¦ÄÌ¥¨¥ó¥È¥ê¤Ë¤Ï°Ê²¼¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤ë¡£
2642 .RS
2643 .TP
2644 \fIcpu  3357 0 4313 1362393\fP
2645 .\"O The amount of time, measured in units of
2646 .\"O USER_HZ (1/100ths of a second on most architectures, use
2647 .\"O .IR sysconf(_SC_CLK_TCK)
2648 .\"O to obtain the right value),
2649 .\"O .\" 1024 on Alpha and ia64
2650 .\"O that the system spent in user mode,
2651 .\"O user mode with low priority (nice), system mode, and the
2652 .\"O idle task, respectively.
2653 .\"O .\" FIXME Actually, the following info about the /proc/stat 'cpu' field
2654 .\"O .\"       does not seem to be quite right (at least in 2.6.12)
2655 .\"O The last value should be USER_HZ times the
2656 .\"O second entry in the uptime pseudo-file.
2657 ¥æ¡¼¥¶¡¼¥â¡¼¥É¡¢
2658 Ä㤤ͥÀèÅÙ (nice) ¤Ç¤Î¥æ¡¼¥¶¡¼¥â¡¼¥É¡¢
2659 ¥·¥¹¥Æ¥à¥â¡¼¥É¡¢
2660 ¥¿¥¹¥¯ÂÔ¤Á (idle task)¡¢
2661 ¤Ç¤½¤ì¤¾¤ì¥·¥¹¥Æ¥à¤¬¾ÃÈñ¤·¤¿»þ´Ö¤ò
2662 USER_HZ ¤òñ°Ì¤È¤·¤Æ·×¬¤·¤¿ÀÑ»»ÃÍ¡£
2663 (¤Û¤È¤ó¤É¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Ï USER_HZ ¤Ï 1/100 ÉäǤ¢¤ë¡£
2664 Àµ¤·¤¤ÃͤÏ
2665 .I sysconf(_SC_CLK_TCK)
2666 ¤ò»È¤Ã¤Æ¼èÆÀ¤Ç¤­¤ë¡£)
2667 .\" Alpha ¤È ia64 ¤Ç¤Ï 1024 ¤Ç¤¢¤ë¡£
2668 .\" FIXME: ¼ÂºÝ¤Ë¤Ï¡¢/proc/stat ¤Î 'cpu' ¥Õ¥£¡¼¥ë¥É¤Ë¤Ä¤¤¤Æ¤Î°Ê²¼¤Î¾ðÊó¤Ï
2669 .\"        Àµ¤·¤¤¤È¤Ï¸À¤¨¤Ê¤¤¤è¤¦¤Ç¤¢¤ë (¾¯¤Ê¤¯¤È¤â 2.6.12 ¤Ç¤Ï)¡£
2670 ºÇ¸å¤ÎÃÍ (¥¿¥¹¥¯ÂÔ¤Á) ¤Ïµ¿»÷¥Õ¥¡¥¤¥ë uptime ¤Î 2ÈÖÌܤΥ¨¥ó¥È¥ê¤ÎÃͤò
2671 USER_HZ Çܤ·¤¿¤â¤Î¤Ç¤¢¤ë¡£
2672
2673 .\"O In Linux 2.6 this line includes three additional columns:
2674 .\"O .I iowait
2675 .\"O \- time waiting for I/O to complete (since 2.5.41);
2676 .\"O .I irq
2677 .\"O \- time servicing interrupts (since 2.6.0-test4);
2678 .\"O .I softirq
2679 .\"O \- time servicing softirqs (since 2.6.0-test4).
2680 Linux 2.6 ¤Ç¤Ï¡¢¤³¤Î¹Ô¤Ë 3¤Ä¤ÎÍó¤¬Äɲ䵤ì¤Æ¤¤¤ë:
2681 .I iowait
2682 (I/O ¤Î´°Î»¤òÂԤäƤ¤¤¿»þ´Ö; 2.5.41 °Ê¹ß);
2683 .I irq
2684 (³ä¤ê¹þ¤ß½èÍý¤ò¹Ô¤Ã¤¿»þ´Ö; 2.6.0-test4 °Ê¹ß);
2685 .I softirq
2686 (¥½¥Õ¥È³ä¤ê¹þ¤ß¤Î½èÍý¤ò¹Ô¤Ã¤¿»þ´Ö; 2.6.0-test4 °Ê¹ß)¡£
2687
2688 .\"O Since Linux 2.6.11, there is an eighth column,
2689 .\"O .I steal
2690 .\"O \- stolen time, which is the time spent in other operating systems when
2691 .\"O running in a virtualized environment
2692 Linux 2.6.11 °Ê¹ß¤Ç¤Ï¡¢8 ¸ÄÌܤÎÍó¤È¤·¤Æ
2693 .I steal
2694 (Åð¤Þ¤ì¤¿»þ´Ö; stolen time) ¤¬Â¸ºß¤¹¤ë¡£
2695 ¤³¤ì¤Ï¡¢²¾ÁÛ²½´Ä¶­¤Ç¤ÎÆ°ºî»þ¤Ë¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ë¤è¤ê
2696 ¾ÃÈñ¤µ¤ì¤¿»þ´Ö¤Ç¤¢¤ë¡£
2697
2698 .\"O Since Linux 2.6.24, there is a ninth column,
2699 .\"O .IR guest ,
2700 .\"O which is the time spent running a virtual CPU for guest
2701 .\"O operating systems under the control of the Linux kernel.
2702 Linux 2.6.24 °Ê¹ß¤Ç¤Ï¡¢9 ¸ÄÌܤÎÍó¤È¤·¤Æ¡¢
2703 .I guest
2704 ¤¬¤¢¤ë¡£¤³¤ì¤Ï¡¢
2705 Linux ¥«¡¼¥Í¥ë¤ÎÀ©¸æ²¼¤Î¥²¥¹¥È¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î²¾ÁÛ CPU ¤Î
2706 ¼Â¹Ô¤Ë¾ÃÈñ¤µ¤ì¤¿»þ´Ö¤Ç¤¢¤ë¡£
2707 .\" See Changelog entry for 5e84cfde51cf303d368fcb48f22059f37b3872de
2708 .TP
2709 \fIpage 5741 1808\fP
2710 .\"O The number of pages the system paged in and the number that were paged
2711 .\"O out (from disk).
2712 ¥·¥¹¥Æ¥à¤¬ (¥Ç¥£¥¹¥¯¤«¤é) ¥Ú¡¼¥¸¥¤¥ó/¥Ú¡¼¥¸¥¢¥¦¥È¤·¤¿¥Ú¡¼¥¸¿ô¡£
2713 .TP
2714 \fIswap 1 0\fP
2715 .\"O The number of swap pages that have been brought in and out.
2716 ¥¹¥ï¥Ã¥×¥¤¥ó/¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤¿¥Ú¡¼¥¸¿ô¡£
2717 .TP
2718 .\"O .\" FIXME The following is not the full picture for the 'intr' of
2719 .\"O .\"       /proc/stat on 2.6:
2720 .\" FIXME °Ê²¼¤ÎÀâÌÀ¤Ï¡¢¥«¡¼¥Í¥ë 2.6 ¤Î /proc/stat 'intr' ¥Õ¥£¡¼¥ë¥É¤Î
2721 .\"       ´°Á´¤ÊÀâÌÀ¤Ç¤Ï¤Ê¤¤¡£½ñ¤«¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¢¤ë¡£
2722 \fIintr 1462898\fP
2723 .\"O This line shows counts of interrupts serviced since boot time,
2724 .\"O for each of the possible system interrupts.
2725 .\"O The first column is the total of all interrupts serviced;
2726 .\"O each subsequent column is the total for a particular interrupt.
2727 ¤³¤Î¹Ô¤Ï¥·¥¹¥Æ¥àµ¯Æ°»þ°Ê¹ß¤Ë½èÍý¤µ¤ì¤¿³ä¤ê¹þ¤ß¤Î²ó¿ô¤ò¼¨¤¹¡£
2728 ºÇ½é¤ÎÍó¤Ï½èÍý¤µ¤ì¤¿³ä¤ê¹þ¤ßÁ´¤Æ¤Î¹ç·×¤Ç¤¢¤ê¡¢¤½¤ì°Ê¹ß¤ÎÍó¤Ï
2729 ¸Ä¡¹¤Î³ä¤ê¹þ¤ß¤Ë¤Ä¤¤¤Æ¤Î¹ç·×¿ô¤Ç¤¢¤ë¡£
2730 .TP
2731 \fIdisk_io: (2,0):(31,30,5764,1,2) (3,0):\fP...
2732 .\"O (major,disk_idx):(noinfo, read_io_ops, blks_read, write_io_ops, blks_written)
2733 .\"O .br
2734 .\"O (Linux 2.4 only)
2735 (¥á¥¸¥ã¡¼ÈÖ¹æ, ¥Ç¥£¥¹¥¯¥¤¥ó¥Ç¥Ã¥¯¥¹ÈÖ¹æ):(¾ðÊó¤Ê¤· (noinfo), Æɤ߹þ¤ß²ó¿ô,
2736 Æɤ߹þ¤ß¥Ö¥í¥Ã¥¯¿ô, ½ñ¤­½Ð¤·²ó¿ô, ½ñ¤­½Ð¤·¥Ö¥í¥Ã¥¯¿ô)
2737 .br
2738 (Linux 2.4 ¤Î¤ß)
2739 .TP
2740 \fIctxt 115315\fP
2741 .\"O The number of context switches that the system underwent.
2742 ¥³¥ó¥Æ¥¯¥¹¥È¡¦¥¹¥¤¥Ã¥Á¤Î±ä¤Ù²ó¿ô¡£
2743 .TP
2744 \fIbtime 769041601\fP
2745 .\"O boot time, in seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
2746 µ¯Æ°»þ¹ï¡¢µª¸µ (Epoch; 1970-01-01 00:00:00 +0000 (UTC)) ¤«¤é¤ÎÉÿô¡£
2747 .TP
2748 \fIprocesses 86031\fP
2749 .\"O Number of forks since boot.
2750 ¥·¥¹¥Æ¥àµ¯Æ°»þ¤«¤é¤Î±ä¤Ù¥Õ¥©¡¼¥¯ (fork) ¿ô¡£
2751 .TP
2752 \fIprocs_running 6\fP
2753 .\"O Number of processes in runnable state.
2754 .\"O (Linux 2.5.45 onwards.)
2755 ¼Â¹ÔÃæ¾õÂÖ¤Î¥×¥í¥»¥¹¿ô (Linux 2.5.45 °Ê¹ß)¡£
2756 .TP
2757 \fIprocs_blocked 2\fP
2758 .\"O Number of processes blocked waiting for I/O to complete.
2759 .\"O (Linux 2.5.45 onwards.)
2760 I/O ´°Î»ÂÔ¤Á¤ÇÄä»ß (blocked) ¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¿ô
2761 (Linux 2.5.45 °Ê¹ß)¡£
2762 .RE
2763 .TP
2764 .I /proc/swaps
2765 .\"O Swap areas in use.
2766 .\"O See also
2767 .\"O .BR swapon (8).
2768 »ÈÍÑÃæ¤Î¥¹¥ï¥Ã¥×Îΰ衣
2769 .BR swapon (8)
2770 ¤â»²¾È¤¹¤ë¤³¤È¡£
2771 .TP
2772 .I /proc/sys
2773 .\"O This directory (present since 1.3.57) contains a number of files
2774 .\"O and subdirectories corresponding to kernel variables.
2775 .\"O These variables can be read and sometimes modified using
2776 .\"O the \fI/proc\fP file system, and the (deprecated)
2777 .\"O .BR sysctl (2)
2778 .\"O system call.
2779 .\"O Presently, there are subdirectories
2780 .\"O .IR abi ", " debug ", " dev ", " fs ", " kernel ", " net ", " proc ", "
2781 .\"O .IR rxrpc ", " sunrpc " and " vm
2782 .\"O that each contain more files and subdirectories.
2783 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê (1.3.57 °Ê¹ß¤Ë¸ºß) ¤Ï¥«¡¼¥Í¥ëÊÑ¿ô¤ËÂбþ¤¹¤ë¤¤¤¯¤Ä¤«¤Î
2784 ¥Õ¥¡¥¤¥ë¤È¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤à¡£
2785 ¤³¤ì¤é¤ÎÊÑ¿ô¤ÏÆɤ߽Ф·²Äǽ¤Ç¤¢¤ë¡£
2786 ¤Þ¤¿¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï \fI/proc\fP ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ä¡¢
2787 (Èó¿ä¾©¤Î) ¥·¥¹¥Æ¥à¥³¡¼¥ë
2788 .BR sysctl (2)
2789 ¤òÍѤ¤¤Æ½ñ¤­´¹¤¨¤ë¤³¤È¤â¤Ç¤­¤ë¡£
2790 ¤¤¤Þ¤Î¤È¤³¤í
2791 .IR abi ", " debug ", " dev ", " fs ", " kernel ", " net ", " proc ", "
2792 .IR rxrpc ", " sunrpc ", " vm
2793 ¤È¤¤¤¦¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤Ã¤Æ¡¢
2794 ¤½¤ì¤¾¤ì¤¬¥Õ¥¡¥¤¥ë¤È¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤ë¡£
2795 .TP
2796 .\"O .IR /proc/sys/abi " (since Linux 2.4.10)"
2797 .IR /proc/sys/abi " (Linux 2.4.10 °Ê¹ß)"
2798 .\"O This directory may contain files with application binary information.
2799 .\"O .\" On some systems, it is not present.
2800 .\"O See the kernel source file
2801 .\"O .I Documentation/sysctl/abi.txt
2802 .\"O for more information.
2803 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¾ðÊó¤¬Æþ¤Ã¤¿¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤ë¡£
2804 .\" ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
2805 ¹¹¤Ë¾Ü¤·¤¤¾ðÊó¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
2806 .I Documentation/sysctl/abi.txt
2807 ¤ò»²¾È¤¹¤ë¤³¤È¡£
2808 .TP
2809 .I /proc/sys/debug
2810 .\"O This directory may be empty.
2811 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¶õ¤Î¾ì¹ç¤â¤¢¤ë¡£
2812 .TP
2813 .I /proc/sys/dev
2814 .\"O This directory contains device-specific information (e.g.,
2815 .\"O .IR dev/cdrom/info ).
2816 .\"O On
2817 .\"O some systems, it may be empty.
2818 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Ç¥Ð¥¤¥¹ÆÃÍ­¤Î¾ðÊó (¤¿¤È¤¨¤Ð
2819 .IR dev/cdrom/info )
2820 ¤¬´Þ¤Þ¤ì¤ë¡£
2821 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¶õ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
2822 .TP
2823 .I /proc/sys/fs
2824 .\"O This contains the subdirectories
2825 .\"O .IR binfmt_misc ", " epoll ", " inotify ", and " mqueue ,
2826 .\"O and files
2827 .\"O .IR dentry-state ", " dir-notify-enable ", " dquot-nr ", " file-max ", "
2828 .\"O .IR file-nr ", " inode-max ", " inode-nr ", " inode-state ", "
2829 .\"O .IR lease-break-time ", " leases-enable ", "
2830 .\"O .IR overflowgid ", " overflowuid ", "
2831 .\"O .IR suid_dumpable ", "
2832 .\"O .IR super-max ", and " super-nr .
2833 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê
2834 .IR binfmt_misc ", " epoll ", " inotify ", " mqueue
2835 ¤È°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ë:
2836 .IR dentry-state ", " dir-notify-enable ", " dquot-nr ", " file-max ", "
2837 .IR file-nr ", " inode-max ", " inode-nr ", " inode-state ", "
2838 .IR lease-break-time ", " leases-enable ", "
2839 .IR overflowgid ", " overflowuid ", "
2840 .IR suid_dumpable ", "
2841 .IR super-max ", " super-nr .
2842 .TP
2843 .I /proc/sys/fs/binfmt_misc
2844 .\"O Documentation for files in this directory can be found
2845 .\"O in the kernel sources in
2846 .\"O .IR Documentation/binfmt_misc.txt .
2847 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Î¥É¥­¥å¥á¥ó¥È¤Ï¡¢
2848 ¥«¡¼¥Í¥ë¥½¡¼¥¹¤Î
2849 .I Documentation/binfmt_misc.txt
2850 ¤Ë¤¢¤ë¡£
2851 .TP
2852 .\"O .IR /proc/sys/fs/dentry-state " (since Linux 2.2)"
2853 .IR /proc/sys/fs/dentry-state " (Linux 2.2 °Ê¹ß)"
2854 .\"O This file contains information about the status of the
2855 .\"O directory cache (dcache).
2856 .\"O The file contains six numbers,
2857 .\"O .IR nr_dentry ", " nr_unused ", " age_limit " (age in seconds), "
2858 .\"O .I want_pages
2859 .\"O (pages requested by system) and two dummy values.
2860 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥£¥ì¥¯¥È¥ê¥­¥ã¥Ã¥·¥å (dcache) ¤Î¾õÂ֤˴ؤ¹¤ë¾ðÊó¤¬
2861 Æþ¤Ã¤Æ¤¤¤ë¡£¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
2862 .IR nr_dentry ", " nr_unused ", " age_limit " (ÉÃñ°Ì¤Î age), " want_pages
2863 (¥·¥¹¥Æ¥à¤¬¥ê¥¯¥¨¥¹¥È¤·¤¿¥Ú¡¼¥¸¿ô), ¥À¥ß¡¼¤Î 2 ¤Ä¤ÎÃÍ¡¢
2864 ¤È¤¤¤¦ 6 ¤Ä¤Î¿ô»ú¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2865 .RS
2866 .IP * 2
2867 .\"O .I nr_dentry
2868 .\"O is the number of allocated dentries (dcache entries).
2869 .\"O This field is unused in Linux 2.2.
2870 .I nr_dentry
2871 ¤Ï³ä¤êÅö¤Æ¤é¤ì¤¿ dentry (dcache ¥¨¥ó¥È¥ê) ¤Î¿ô¤Ç¤¢¤ë¡£
2872 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï Linux 2.2 ¤Ç¤Ï»ÈÍѤµ¤ì¤Ê¤¤¡£
2873 .IP *
2874 .\"O .I nr_unused
2875 .\"O is the number of unused dentries.
2876 .I nr_unused
2877 ¤Ï̤»ÈÍѤΠdentry ¿ô¤Ç¤¢¤ë¡£
2878 .IP *
2879 .\"O .I age_limit
2880 .\"O .\" looks like this is unused in kernels 2.2 to 2.6
2881 .\"O is the age in seconds after which dcache entries
2882 .\"O can be reclaimed when memory is short.
2883 .I age_limit
2884 ¤Ï¡¢¥á¥â¥ê¤¬ÉÔ­¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¼¡¤Ë dcache entry ¤òºÆÍ×µá¤Ç¤­¤ë¤è¤¦¤Ë
2885 ¤Ê¤ë¤Þ¤Ç¤Î»Ä¤ê»þ´Ö (Éÿô) ¤Ç¤¢¤ë¡£
2886 .IP *
2887 .\"O .I want_pages
2888 .\" looks like this is unused in kernels 2.2 to 2.6
2889 .\"O is nonzero when the kernel has called shrink_dcache_pages() and the
2890 .\"O dcache isn't pruned yet.
2891 .I want_pages
2892 ¤Ï¡¢¥«¡¼¥Í¥ë¤¬ shrink_dcache_pages() ¤ò¸Æ¤Ó½Ð¤·¤¿¤¬
2893 dcache ¤¬¤Þ¤À½Ì¾®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¡¢0 °Ê³°¤ÎÃͤȤʤ롣
2894 .RE
2895 .TP
2896 .I /proc/sys/fs/dir-notify-enable
2897 .\"O This file can be used to disable or enable the
2898 .\"O .I dnotify
2899 .\"O interface described in
2900 .\"O .BR fcntl (2)
2901 .\"O on a system-wide basis.
2902 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
2903 .BR fcntl (2)
2904 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë
2905 .I dnotify
2906 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò¥·¥¹¥Æ¥àÁ´ÂΤÇ̵¸ú¤Ë¤·¤¿¤êÍ­¸ú¤Ë¤·¤¿¤ê¤¹¤ë¡£
2907 .\"O A value of 0 in this file disables the interface,
2908 .\"O and a value of 1 enables it.
2909 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬Ìµ¸ú¤Ë¤Ê¤ê¡¢
2910 ÃÍ 1 ¤Î¾ì¹ç¤ÏÍ­¸ú¤Ë¤Ê¤ë¡£
2911 .TP
2912 .I /proc/sys/fs/dquot-max
2913 .\"O This file shows the maximum number of cached disk quota entries.
2914 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥­¥ã¥Ã¥·¥å¤µ¤ì¤ë¥Ç¥£¥¹¥¯ quota ¥¨¥ó¥È¥ê¤ÎºÇÂç¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2915 .\"O On some (2.4) systems, it is not present.
2916 (2.4 ·Ï¤Î) ¥·¥¹¥Æ¥à¤ÎÃæ¤Ë¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¤â¤Î¤â¤¢¤ë¡£
2917 .\"O If the number of free cached disk quota entries is very low and
2918 .\"O you have some awesome number of simultaneous system users,
2919 .\"O you might want to raise the limit.
2920 ¥­¥ã¥Ã¥·¥å¤µ¤ì¤ë¥Ç¥£¥¹¥¯ quota ¥¨¥ó¥È¥ê¤Î¶õ¤­¤¬Èó¾ï¤Ë¾¯¤Ê¤¯¡¢
2921 ¤È¤Æ¤â¿¤¯¤Î¥·¥¹¥Æ¥à¥æ¡¼¥¶¡¼¤¬Æ±»þ¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢
2922 ¤³¤ÎÀ©¸Â¤ò¾å¤²¤ë¤È¤¤¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
2923 .TP
2924 .I /proc/sys/fs/dquot-nr
2925 .\"O This file shows the number of allocated disk quota
2926 .\"O entries and the number of free disk quota entries.
2927 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Ç¥£¥¹¥¯ quota ¤Î¥¨¥ó¥È¥ê¿ô¤È¡¢
2928 ¶õ¤¤¤Æ¤¤¤ë¥Ç¥£¥¹¥¯ quota ¤Î¥¨¥ó¥È¥ê¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2929 .TP
2930 .\"O .IR /proc/sys/fs/epoll " (since Linux 2.6.28)"
2931 .IR /proc/sys/fs/epoll " (Linux 2.6.28 °Ê¹ß)"
2932 .\"O This directory contains the file
2933 .\"O .IR max_user_watches ,
2934 .\"O which can be used to limit the amount of kernel memory consumed by the
2935 .\"O .I epoll
2936 .\"O interface.
2937 .\"O For further details, see
2938 .\"O .BR epoll (7).
2939 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë
2940 .I max_user_watches
2941 ¤¬¤¢¤ë¡£
2942 ¤³¤ì¤é¤Ï¡¢
2943 .I epoll
2944 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¾ÃÈñ¤¹¤ë¥«¡¼¥Í¥ë¥á¥â¥êÎ̤òÀ©¸Â¤¹¤ë¤Î¤Ë»ÈÍѤǤ­¤ë¡£
2945 ¾ÜºÙ¤Ï
2946 .BR epoll (7)
2947 ¤ò»²¾È¡£
2948 .TP
2949 .I /proc/sys/fs/file-max
2950 .\"O This file defines
2951 .\"O a system-wide limit on the number of open files for all processes.
2952 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥àÁ´ÂÎ¤Ç¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤Ç¤­¤ë
2953 ¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¤òÄêµÁ¤¹¤ë¡£
2954 .\"O (See also
2955 .\"O .BR setrlimit (2),
2956 .\"O which can be used by a process to set the per-process limit,
2957 .\"O .BR RLIMIT_NOFILE ,
2958 .\"O on the number of files it may open.)
2959 (³Æ¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¤ò
2960 .B RLIMIT_NOFILE
2961 ¤Ë¤è¤Ã¤ÆÀßÄꤹ¤ë
2962 .BR setrlimit (2)
2963 ¤â»²¾È¤¹¤ë¤³¤È¡£)
2964 .\"O If you get lots
2965 .\"O of error messages about running out of file handles,
2966 .\"O try increasing this value:
2967 ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò»È¤¤²Ì¤¿¤·¤ÆÂçÎ̤˥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¾ì¹ç¤Ï¡¢
2968 °Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤³¤ÎÃͤòÁý²Ã¤µ¤»¤Æ¤ß¤è:
2969 .br
2970
2971 .br
2972 .nf
2973 .ft CW
2974 echo 100000 > /proc/sys/fs/file-max
2975 .fi
2976 .ft
2977
2978 .\"O The kernel constant
2979 .\"O .B NR_OPEN
2980 .\"O imposes an upper limit on the value that may be placed in
2981 .\"O .IR file-max .
2982 .I file-max
2983 ¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÃͤϡ¢¥«¡¼¥Í¥ëÄê¿ô
2984 .B NR_OPEN
2985 ¤ËÀ©¸Â¤µ¤ì¤ë¡£
2986
2987 .\"O If you increase
2988 .\"O .IR /proc/sys/fs/file-max ","
2989 .\"O be sure to increase
2990 .\"O .I /proc/sys/fs/inode-max
2991 .\"O to 3-4 times the new
2992 .\"O value of
2993 .\"O .IR /proc/sys/fs/file-max ","
2994 .\"O or you will run out of inodes.
2995 .I /proc/sys/fs/file-max
2996 ¤òÁý¤ä¤·¤¿¾ì¹ç¤Ï¡¢
2997 .I /proc/sys/fs/inode-max
2998 ¤ò¿·¤·¤¤
2999 .I /proc/sys/fs/file-max
3000 ¤ÎÃͤΠ3-4 ÇܤËÁý¤ä¤·¤Æ¤ª¤¯¤³¤È¡£
3001 ¤³¤¦¤·¤Ê¤¤¤È inode ¤ò»È¤¤²Ì¤¿¤·¤Æ¤·¤Þ¤¦¤À¤í¤¦¡£
3002 .TP
3003 .I /proc/sys/fs/file-nr
3004 .\"O This (read-only) file gives the number of files presently opened.
3005 (¤³¤Î¥Õ¥¡¥¤¥ë¤ÏÆɤ߽Ф·ÀìÍѤÇ) Æɤ߽Ф¹¤È
3006 ¸½ºß¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¿ô¤¬ÆÀ¤é¤ì¤ë¡£
3007 .\"O It contains three numbers: the number of allocated file handles;
3008 .\"O the number of free file handles; and the maximum number of file handles.
3009 .\"O The kernel allocates file handles dynamically, but it
3010 .\"O doesn't free them again.
3011 .\"O If the number of allocated files is close to the
3012 .\"O maximum, you should consider increasing the maximum.
3013 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¡¦
3014 ¶õ¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¡¦¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¤ÎºÇÂçÃÍ¡¢
3015 ¤È¤¤¤¦ 3 ¤Ä¤Î¿ôÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3016 ¥«¡¼¥Í¥ë¤Ï¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤òưŪ¤Ë³ä¤êÅö¤Æ¤ë¤¬¡¢
3017 ¤½¤ì¤òºÆ¤Ó²òÊü¤·¤Ê¤¤¡£
3018 ³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¿ô¤¬ºÇÂçÃͤ˶á¤Å¤¤¤¿¾ì¹ç¤Ï¡¢
3019 ºÇÂçÃͤòÂ礭¤¯¤¹¤ë¤³¤È¤ò¹Íθ¤¹¤Ù¤­¤Ç¤¢¤ë¡£
3020 .\"O When the number of free file handles is
3021 .\"O large, you've encountered a peak in your usage of file
3022 .\"O handles and you probably don't need to increase the maximum.
3023 ¶õ¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¤¬Â¿¤¤¾ì¹ç¤Ï¡¢
3024 ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Î»ÈÍѤΥԡ¼¥¯¤ò·Ð¸³¤·¤¿¤³¤È¤¬¤¢¤ê¡¢
3025 ºÇÂçÃͤòÂ礭¤¯¤¹¤ëɬÍפϤʤ¤¤À¤í¤¦¡£
3026 .TP
3027 .I /proc/sys/fs/inode-max
3028 .\"O This file contains the maximum number of in-memory inodes.
3029 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥á¥â¥êÆâ inode ¤ÎºÇÂçÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3030 .\"O On some (2.4) systems, it may not be present.
3031 .\"O This value should be 3-4 times larger
3032 .\"O than the value in
3033 .\"O .IR file-max ,
3034 .\"O since \fIstdin\fP, \fIstdout\fP
3035 .\"O and network sockets also need an inode to handle them.
3036 .\"O When you regularly run out of inodes, you need to increase this value.
3037 (2.4 ·Ï¤Î) ¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
3038 ¤³¤ÎÃͤÏ
3039 .I file-max
3040 ¤ÎÃͤΠ3-4 Çܤˤ¹¤Ù¤­¤Ç¤¢¤ë¡£
3041 ¤³¤ì¤Ï \fIstdin\fP, \fIstdout\fP, ¥Í¥Ã¥È¥ï¡¼¥¯¥½¥±¥Ã¥È¤ò°·¤¦¤Ë¤â
3042 inode ¤¬É¬Íפʤ¿¤á¤Ç¤¢¤ë¡£
3043 Æü¾ïŪ¤Ë inode ¤ò»È¤¤²Ì¤¿¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤³¤ÎÃͤòÁý¤ä¤¹É¬Íפ¬¤¢¤ë¡£
3044 .TP
3045 .I /proc/sys/fs/inode-nr
3046 .\"O This file contains the first two values from
3047 .\"O .IR inode-state .
3048 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
3049 .I inode-state
3050 ¤ÎºÇ½é¤Î 2 ¤Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3051 .TP
3052 .I /proc/sys/fs/inode-state
3053 .\"O This file
3054 .\"O contains seven numbers:
3055 .\"O .IR nr_inodes ,
3056 .\"O .IR nr_free_inodes ,
3057 .\"O .IR preshrink ,
3058 .\"O and four dummy values.
3059 .\"O .I nr_inodes
3060 .\"O is the number of inodes the system has allocated.
3061 .\"O This can be slightly more than
3062 .\"O .I inode-max
3063 .\"O because Linux allocates them one page full at a time.
3064 .\"O .I nr_free_inodes
3065 .\"O represents the number of free inodes.
3066 .\"O .I preshrink
3067 .\"O is nonzero when the
3068 .\"O .I nr_inodes
3069 .\"O >
3070 .\"O .I inode-max
3071 .\"O and the system needs to prune the inode list instead of allocating more.
3072 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï 7 ¸Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë:
3073 .IR nr_inodes,
3074 .IR nr_free_inodes ,
3075 .IR preshrink
3076 ¤È 4 ¤Ä¤Î¥À¥ß¡¼¤ÎÃͤǤ¢¤ë¡£
3077 .I nr_inodes
3078 ¤Ï¥·¥¹¥Æ¥à¤¬³ÎÊݤ¹¤ë inode ¤Î¿ô¤Ç¤¢¤ë¡£
3079 Linux ¤Ï 1 Å٤ˠ1 ¥Ú¡¼¥¸Ê¬¤¤¤Ã¤Ñ¤¤¤Ë nr_inode ¤ò³ÎÊݤ¹¤ë¤Î¤Ç¡¢¤³¤ÎÃͤ¬
3080 .I inode-max
3081 ¤è¤ê´öʬÂ礭¤¯¤Ê¤ë¤³¤È¤â¤¢¤ë¡£
3082 .\"Osato: pageful ¤Î°ÕÌ£¤¬¤è¤¯Ê¬¤«¤é¤Ê¤¤¡£
3083 .I nr_free_inodes
3084 ¤Ï¶õ¤¤¤Æ¤¤¤ë inode ¤Î¿ô¤òɽ¤¹¡£
3085 .IR nr_inodes " > " inode-max
3086 ¤Î¾ì¹ç¡¢
3087 .I preshrink
3088 ¤Ï 0 °Ê³°¤ÎÃͤˤʤ롣
3089 ¤³¤Î¾ì¹ç¥·¥¹¥Æ¥à¤Ï inode ¤ò¤µ¤é¤Ë³ÎÊݤ¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
3090 inode ¥ê¥¹¥È¤òÀÚ¤êµÍ¤á¤ëɬÍפ¬¤¢¤ë¡£
3091 .TP
3092 .\"O .IR /proc/sys/fs/inotify " (since Linux 2.6.13)"
3093 .IR /proc/sys/fs/inotify " (Linux 2.6.13 °Ê¹ß)"
3094 .\"O This directory contains files
3095 .\"O .IR max_queued_events ", " max_user_instances ", and " max_user_watches ,
3096 .\"O that can be used to limit the amount of kernel memory consumed by the
3097 .\"O .I inotify
3098 .\"O interface.
3099 .\"O For further details, see
3100 .\"O .BR inotify (7).
3101 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë
3102 .IR max_queued_events ", " max_user_instances ", and " max_user_watches
3103 ¤¬¤¢¤ë¡£¤³¤ì¤é¤Ï¡¢
3104 .I inotify
3105 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¾ÃÈñ¤¹¤ë¥«¡¼¥Í¥ë¥á¥â¥êÎ̤òÀ©¸Â¤¹¤ë¤Î¤ËÍøÍѤǤ­¤ë¡£
3106 ¾ÜºÙ¤Ï
3107 .BR inotify (7)
3108 ¤ò»²¾È¡£
3109 .TP
3110 .I /proc/sys/fs/lease-break-time
3111 .\"O This file specifies the grace period that the kernel grants to a process
3112 .\"O holding a file lease
3113 .\"O .RB ( fcntl (2))
3114 .\"O after it has sent a signal to that process notifying it
3115 .\"O that another process is waiting to open the file.
3116 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤òÊÝ»ý¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤ËÂФ·¤Æ
3117 ¥«¡¼¥Í¥ë¤¬¥·¥°¥Ê¥ë¤òÁ÷¤ê¡¢
3118 ¾¤Î¥×¥í¥»¥¹¤¬¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥ª¡¼¥×¥ó¤¹¤ë¤Î¤òÂԤäƤ¤¤ë¤³¤È¤òÄÌÃΤ·¤Æ¤«¤é¡¢
3119 ¤½¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ¥«¡¼¥Í¥ë¤¬¥Õ¥¡¥¤¥ë¤Î¥ê¡¼¥¹ (lease, Âߤ·½Ð¤·)
3120 .RB ( fcntl (2)
3121 ¤ò»²¾È) ¤òµö¤¹Í±Í½´ü´Ö¤ò»ØÄꤹ¤ë¡£
3122 .\"O If the lease holder does not remove or downgrade the lease within
3123 .\"O this grace period, the kernel forcibly breaks the lease.
3124 ¥ê¡¼¥¹¥Û¥ë¥À (lease holder: ¥Õ¥¡¥¤¥ë¤ÎÂߤ·½Ð¤·¤ò¼õ¤±¤Æ¤¤¤ë¥×¥í¥»¥¹) ¤¬
3125 ͱͽ´ü´ÖÃæ¤Ë¥ê¡¼¥¹¤òºï½ü¤¹¤ë¤«³¬µé¤òÄ㤯¤·¤Ê¤¤¾ì¹ç¡¢
3126 ¥«¡¼¥Í¥ë¤Ï¥Õ¥¡¥¤¥ë¤Î¥ê¡¼¥¹¤ò¶¯À©Åª¤Ë»ß¤á¤ë¡£
3127 .TP
3128 .I /proc/sys/fs/leases-enable
3129 .\"O This file can be used to enable or disable file leases
3130 .\"O .RB ( fcntl (2))
3131 .\"O on a system-wide basis.
3132 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥àÁ´ÂΤǤΥե¡¥¤¥ë¥ê¡¼¥¹
3133 .RB ( fcntl (2)
3134 ¤ò»²¾È) ¤òÍ­¸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
3135 .\"O If this file contains the value 0, leases are disabled.
3136 .\"O A nonzero value enables leases.
3137 ¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤¬½ñ¤­¹þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥ê¡¼¥¹¤Ï̵¸ú¤Ç¤¢¤ë¡£
3138 0 °Ê³°¤Î¾ì¹ç¤Ë¤Ï¥ê¡¼¥¹¤ÏÍ­¸ú¤Ç¤¢¤ë¡£
3139 .TP
3140 .\"O .IR /proc/sys/fs/mqueue " (since Linux 2.6.6)"
3141 .IR /proc/sys/fs/mqueue " (Linux 2.6.6 °Ê¹ß)"
3142 .\"O This directory contains files
3143 .\"O .IR msg_max ", " msgsize_max ", and " queues_max ,
3144 .\"O controlling the resources used by POSIX message queues.
3145 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Õ¥¡¥¤¥ë
3146 .IR msg_max ", " msgsize_max ", and " queues_max
3147 ¤¬¤¢¤ë¡£¤³¤ì¤é¤Ï POSIX ¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤Ç»ÈÍѤµ¤ì¤ë¥ê¥½¡¼¥¹¤Î
3148 À©¸æ¤ò¹Ô¤¦¡£
3149 .\"O See
3150 .\"O .BR mq_overview (7)
3151 .\"O for details.
3152 ¾ÜºÙ¤Ï
3153 .BR mq_overview (7)
3154 ¤ò»²¾È¡£
3155 .TP
3156 .\"O .IR /proc/sys/fs/overflowgid " and " /proc/sys/fs/overflowuid
3157 .IR /proc/sys/fs/overflowgid " ¤È " /proc/sys/fs/overflowuid
3158 .\"O These files
3159 .\"O allow you to change the value of the fixed UID and GID.
3160 .\"O The default is 65534.
3161 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤è¤ê¡¢¥æ¡¼¥¶¡¼¤Ï¸ÇÄê UID ¤È¸ÇÄê GID ¤ÎÃͤòÊѹ¹¤Ç¤­¤ë¡£
3162 ¥Ç¥Õ¥©¥ë¥È¤Ï 65534 ¤Ç¤¢¤ë¡£
3163 .\"O Some file systems only support 16-bit UIDs and GIDs, although in Linux
3164 .\"O UIDs and GIDs are 32 bits.
3165 .\"O When one of these file systems is mounted
3166 .\"O with writes enabled, any UID or GID that would exceed 65535 is translated
3167 .\"O to the overflow value before being written to disk.
3168 Linux ¤Î UID ¤È GID ¤Ï 32 ¥Ó¥Ã¥È¤Ç¤¢¤ë¤¬¡¢
3169 16 ¥Ó¥Ã¥È¤Î UID ¤È GID ¤·¤«¥µ¥Ý¡¼¥È¤·¤Ê¤¤¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
3170 ¤³¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬½ñ¤­¹þ¤ß¤òµö²Ä¤·¤Æ¥Þ¥¦¥ó¥È¤µ¤ì¤¿¾ì¹ç¡¢
3171 65535 ¤òĶ¤¨¤ë UID ¤È GID ¤Ï¡¢
3172 ¥Ç¥£¥¹¥¯¤Ë½ñ¤­¹þ¤Þ¤ì¤ëÁ°¤Ë¥ª¡¼¥Ð¡¼¥Õ¥í¡¼ÃͤËÊÑ´¹¤µ¤ì¤ë¡£
3173 .TP
3174 .\"O .IR /proc/sys/fs/suid_dumpable " (since Linux 2.6.13)"
3175 .IR /proc/sys/fs/suid_dumpable " (Linux 2.6.13 °Ê¹ß)"
3176 .\"O .\" The following is based on text from Documentation/sysctl/kernel.txt
3177 .\"O The value in this file determines whether core dump files are
3178 .\"O produced for set-user-ID or otherwise protected/tainted binaries.
3179 .\"O Three different integer values can be specified:
3180 .\" °Ê²¼¤Ï Documentation/sysctl/kernel.txt ¤ÎÆâÍƤ˴𤤤Ƥ¤¤ë¡£
3181 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤˤè¤ê¡¢set-user-ID ¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¤ä¡¢
3182 Êݸ¤«¤«¤Ã¤¿ (protected) ¥Ð¥¤¥Ê¥ê / tainted ¤Ê (±øÀ÷¤µ¤ì¤¿;
3183 ¥é¥¤¥»¥ó¥¹¤¬¥«¡¼¥Í¥ë¤ÈŬ¹ç¤·¤Ê¤¤) ¥Ð¥¤¥Ê¥ê¤ËÂФ·¤Æ¡¢¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤ò
3184 À¸À®¤¹¤ë¤«¤É¤¦¤«¤¬·èÄꤵ¤ì¤ë¡£
3185 °Ê²¼¤Î 3¤Ä¤ÎÃͤò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë:
3186 .sp
3187 \fI0\ (default)\fP
3188 .\"O This provides the traditional (pre-Linux 2.6.13) behavior.
3189 .\"O A core dump will not be produced for a process which has
3190 .\"O changed credentials (by calling
3191 .\"O .BR seteuid (2),
3192 .\"O .BR setgid (2),
3193 .\"O or similar, or by executing a set-user-ID or set-group-ID program)
3194 .\"O or whose binary does not have read permission enabled.
3195 ¤³¤ÎÃͤò»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸ (Linux 2.6.13 ¤è¤êÁ°¤Î) Æ°ºî¤ò¤¹¤ë¡£
3196 .RB ( seteuid (2),
3197 .BR setgid (2)
3198 ¤Ê¤É¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤ä¡¢set-user-ID ¤ä set-group-ID ¤µ¤ì¤¿¥×¥í¥°¥é¥à¤ò
3199 ¼Â¹Ô¤¹¤ë¤³¤È¤Ç) »ñ³Ê¾ðÊó (credentials) ¤¬Êѹ¹¤µ¤ì¤Æ¤¤¤ë¥×¥í¥»¥¹¤ä¡¢
3200 ¥×¥í¥»¥¹¤Î¼Â¹Ô¥Ð¥¤¥Ê¥ê¤ÎÆɤ߽Ф·µö²Ä¤¬¤Ê¤¤¥×¥í¥»¥¹¤ËÂФ·¤Æ¡¢
3201 ¥³¥¢¥À¥ó¥×¤òÀ¸À®¤·¤Ê¤¤¡£
3202 .sp
3203 \fI1\ ("debug")\fP
3204 .\"O All processes dump core when possible.
3205 .\"O The core dump is owned by the file system user ID of the dumping process
3206 .\"O and no security is applied.
3207 .\"O This is intended for system debugging situations only.
3208 .\"O Ptrace is unchecked.
3209 ¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤Ç¡¢²Äǽ¤Ç¤¢¤ì¤Ð¥³¥¢¥À¥ó¥×¤ò¹Ô¤¦¡£
3210 ¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤Î½êÍ­¼Ô¤Ï¡¢¥À¥ó¥×¤ò¹Ô¤¦¥×¥í¥»¥¹¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à UID
3211 ¤È¤Ê¤ê¡¢¥»¥­¥å¥ê¥Æ¥£¾å¤Î¹Íθ¤Ï¹Ô¤ï¤ì¤Ê¤¤¡£
3212 ¤³¤ÎÃͤϡ¢¥·¥¹¥Æ¥à¥Ç¥Ð¥Ã¥°¤Î¾ìÌ̤À¤±¤òÁÛÄꤷ¤ÆÀߤ±¤é¤ì¤Æ¤¤¤ë¡£
3213 ptrace ¤Î¥Á¥§¥Ã¥¯¤â¹Ô¤ï¤ì¤Ê¤¤¡£
3214 .sp
3215 \fI2\ ("suidsafe")\fP
3216 .\"O Any binary which normally would not be dumped (see "0" above)
3217 .\"O is dumped readable by root only.
3218 .\"O This allows the user to remove the core dump file but not to read it.
3219 .\"O For security reasons core dumps in this mode will not overwrite one
3220 .\"O another or other files.
3221 .\"O This mode is appropriate when administrators are
3222 .\"O attempting to debug problems in a normal environment.
3223 .\"O
3224 .\"Omotoki: "overwrite one another or other files" ¤ÎÌõ¤Ë¼«¿®¤Ê¤·¡£
3225 .\"O
3226 Ä̾ï¤Ï¥À¥ó¥×¤µ¤ì¤Ê¤¤¤è¤¦¤Ê¥Ð¥¤¥Ê¥ê (¾åµ­¤Î "0" »²¾È) ¤ò
3227 root ¤À¤±¤¬Æɤ߽Ф·²Äǽ¤Ê·Á¤Ç¥À¥ó¥×¤¹¤ë¡£
3228 ¤³¤Î¾ì¹ç¡¢¥æ¡¼¥¶¤Ï¤½¤Î¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¤³¤È¤Ï¤Ç¤­¤ë¤¬¡¢
3229 Æɤळ¤È¤Ï¤Ç¤­¤Ê¤¤¡£
3230 ¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤«¤é¡¢¤³¤Î¥â¡¼¥É¤Î¥³¥¢¥À¥ó¥×¤Ç¤Ï¡¢
3231 ´û¸¤Î¥À¥ó¥×¥Õ¥¡¥¤¥ë¤ä¾¤Î¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤­¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
3232 ¤³¤Î¥â¡¼¥É¤Ï¡¢´ÉÍý¼Ô¤¬Ä̾ï¤Î´Ä¶­¤ÇÌäÂê¤ò²òÀϤ·¤è¤¦¤È¤¹¤ëºÝ¤Ë
3233 Ŭ¤·¤Æ¤¤¤ë¡£
3234 .TP
3235 .\"O .I /proc/sys/fs/super-max
3236 .\"O This file
3237 .\"O controls the maximum number of superblocks, and
3238 .\"O thus the maximum number of mounted file systems the kernel
3239 .\"O can have.
3240 .\"O You only need to increase
3241 .\"O .I super-max
3242 .\"O if you need to mount more file systems than the current value in
3243 .\"O .I super-max
3244 .\"O allows you to.
3245 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥¹¡¼¥Ñ¥Ö¥í¥Ã¥¯¤ÎÃͤòÀ©¸æ¤¹¤ë¡£
3246 ¤³¤ÎÃͤϥ«¡¼¥Í¥ë¤¬¥Þ¥¦¥ó¥È¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎºÇÂçÃͤˤʤ롣
3247 ¸½ºß¡¢
3248 .I super-max
3249 ¤Çµö²Ä¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¿ô°Ê¾å¤Ë
3250 ¥Þ¥¦¥ó¥È¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤ÎÃͤòÁý²Ã¤µ¤»¤ë¤À¤±¤Ç¤è¤¤¡£
3251 .TP
3252 .I /proc/sys/fs/super-nr
3253 .\"O This file
3254 .\"O contains the number of file systems currently mounted.
3255 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¸½ºß¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3256 .TP
3257 .I /proc/sys/kernel
3258 .\"O This directory contains files controlling a range of kernel parameters,
3259 .\"O as described below.
3260 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢°Ê²¼¤ÇÀâÌÀ¤¹¤ëÍÍ¡¹¤Ê¥«¡¼¥Í¥ë¥Ñ¥é¥á¡¼¥¿¤ò
3261 À©¸æ¤¹¤ë¤¿¤á¤Î¥Õ¥¡¥¤¥ë¤¬ÇÛÃÖ¤µ¤ì¤Æ¤¤¤ë¡£
3262 .TP
3263 .I /proc/sys/kernel/acct
3264 .\"O This file
3265 .\"O contains three numbers:
3266 .\"O .IR highwater ,
3267 .\"O .IR lowwater ,
3268 .\"O and
3269 .\"O .IR frequency .
3270 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï 3 ¤Ä¤ÎÃͤ¬´Þ¤Þ¤ì¤Æ¤¤¤ë:
3271 .IR highwater ,
3272 .IR lowwater ,
3273 .IR frequency
3274 ¤Ç¤¢¤ë¡£
3275 .\"O If BSD-style process accounting is enabled these values control
3276 .\"O its behavior.
3277 .\"O If free space on file system where the log lives goes below
3278 .\"O .I lowwater
3279 .\"O percent accounting suspends.
3280 .\"O If free space gets above
3281 .\"O .I highwater
3282 .\"O percent accounting resumes.
3283 .\"O .I frequency
3284 .\"O determines
3285 .\"O how often the kernel checks the amount of free space (value is in
3286 .\"O seconds).
3287 .\"O Default values are 4, 2 and 30.
3288 BSD-style process accounting ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
3289 ¤³¤ì¤é 3 ¤Ä¤ÎÃͤ¬Æ°ºî¤òÀ©¸æ¤¹¤ë¡£
3290 ¥í¥°¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¶õ¤­Îΰ褬
3291 .I lowwater
3292 ¥Ñ¡¼¥»¥ó¥È°Ê²¼¤Ë¤Ê¤Ã¤¿¾ì¹ç¤Ï¡¢¥í¥°µ­Ï¿¤ò°ì»þÄä»ß¤¹¤ë¡£
3293 ¶õ¤­Îΰ褬
3294 .I highwater
3295 ¥Ñ¡¼¥»¥ó¥È°Ê¾å¤Ë¤Ê¤Ã¤¿¾ì¹ç¤Ë¡¢¥í¥°µ­Ï¿¤òºÆ³«¤¹¤ë¡£
3296 .I frequency
3297 ¤Ï¥«¡¼¥Í¥ë¤¬¶õ¤­Îΰè¤Î¥Á¥§¥Ã¥¯¤ò¤¹¤ëÉÑÅ٤Ǥ¢¤ë (ñ°Ì¤ÏÉÃ)¡£
3298 ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϡ¢4, 2, 30 ¤Ç¤¢¤ë¡£
3299 .\"O That is, suspend accounting if 2% or less space is free; resume it
3300 .\"O if 4% or more space is free; consider information about amount of free space
3301 .\"O valid for 30 seconds.
3302 ¤Ä¤Þ¤ê¡¢¶õ¤­Îΰ褬 2% °Ê²¼¤Ë¤Ê¤ë¤È¥í¥°µ­Ï¿¤ò°ì»þÄä»ß¤·¡¢
3303 ¶õ¤­Îΰ褬 4% °Ê¾å¤È¤Ê¤Ã¤¿¤È¤­¤ËºÆ³«¤¹¤ë¡£
3304 ¶õ¤­Îΰè¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï 30 ÉôÖÍ­¸ú¤Ç¤¢¤ëÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
3305 .TP
3306 .\"O .IR /proc/sys/kernel/cap-bound " (from Linux 2.2 to 2.6.24)"
3307 .IR /proc/sys/kernel/cap-bound " (Linux 2.2 to 2.6.24 °Ê¹ß)"
3308 .I /proc/sys/kernel/cap-bound
3309 .\"O This file holds the value of the kernel
3310 .\"O .I "capability bounding set"
3311 .\"O (expressed as a signed decimal number).
3312 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥«¡¼¥Í¥ë¤Î
3313 .I "capability bounding set"
3314 (Éä¹æÉÕ¤­ 10 ¿Ê¿ôɽ¸½) ¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3315 .\"O This set is ANDed against the capabilities permitted to a process
3316 .\"O during
3317 .\"O .BR execve (2).
3318 .BR execve (2)
3319 Ãæ¤Ï¡¢¤³¤Î¥»¥Ã¥È¤È¥×¥í¥»¥¹¤Ëµö²Ä¤µ¤ì¤Æ¤¤¤ë¸¢¸Â¤Î AND ¤¬¤È¤é¤ì¤ë¡£
3320 .\"O Starting with Linux 2.6.25,
3321 .\"O the system-wide capability bounding set disappeared,
3322 .\"O and was replaced by a per-thread bounding set; see
3323 .\"O .BR capabilities (7).
3324 Linux 2.6.25 °Ê¹ß¤Ç¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤΥ±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È¤Ï
3325 ¤Ê¤¯¤Ê¤ê¡¢¥¹¥ì¥Ã¥Éñ°Ì¤Î¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È¤ËÃÖ¤­´¹¤¨¤é¤ì¤¿¡£
3326 .BR capabilities (7)
3327 ¤ò»²¾È¡£
3328 .TP
3329 .I /proc/sys/kernel/core_pattern
3330 .\"O See
3331 .\"O .BR core (5).
3332 .BR core (5)
3333 »²¾È¡£
3334 .TP
3335 .I /proc/sys/kernel/core_uses_pid
3336 .\"O See
3337 .\"O .BR core (5).
3338 .BR core (5)
3339 »²¾È¡£
3340 .TP
3341 .I /proc/sys/kernel/ctrl-alt-del
3342 .\"O This file
3343 .\"O controls the handling of Ctrl-Alt-Del from the keyboard.
3344 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥­¡¼¥Ü¡¼¥É¤Î Ctrl-Alt-Del ¤Î°·¤¤¤òÀ©¸æ¤¹¤ë¡£
3345 .\"O When the value in this file is 0, Ctrl-Alt-Del is trapped and
3346 .\"O sent to the
3347 .\"O .BR init (8)
3348 .\"O program to handle a graceful restart.
3349 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤¢¤ëÃͤ¬ 0 ¤Î¾ì¹ç¡¢
3350 Ctrl-Alt-Del ¤¬Ê᪤µ¤ì¤ë¤È
3351 .BR init (8)
3352 ¥×¥í¥°¥é¥à¤ËÁ÷¤é¤ì¤Æ¡¢Àµ¤·¤¯ºÆµ¯Æ°¤µ¤ì¤ë¡£
3353 .\"O When the value is greater than zero, Linux's reaction to a Vulcan
3354 .\"O Nerve Pinch (tm) will be an immediate reboot, without even
3355 .\"O syncing its dirty buffers.
3356 Ãͤ¬ 0 ¤è¤êÂ礭¤¤¾ì¹ç¡¢Vulcan Nerve Pinch (tm) ¤ËÈ¿±þ¤·¤Æ¡¢
3357 Linux ¤Ï¥À¡¼¥Æ¥£¥Ð¥Ã¥Õ¥¡¤òƱ´ü¤µ¤»¤ë¤³¤È¤Ê¤¯¡¢¤¹¤°¤ËºÆµ¯Æ°¤ò¹Ô¤¦¡£
3358 .\"O Note: when a program (like dosemu) has the keyboard in "raw"
3359 .\"O mode, the ctrl-alt-del is intercepted by the program before it
3360 .\"O ever reaches the kernel tty layer, and it's up to the program
3361 .\"O to decide what to do with it.
3362 Ãí°Õ: ¥×¥í¥°¥é¥à (dosemu ¤Ê¤É) ¤Ë "raw" ¥â¡¼¥É¤Î¥­¡¼¥Ü¡¼¥É¤¬¤¢¤ë¾ì¹ç¡¢
3363 ctrl-alt-del ¤Ï¥«¡¼¥Í¥ë¤Î tty ¥ì¥¤¥ä¡¼¤ËÅþ㤹¤ëÁ°¤Ë
3364 ¥×¥í¥°¥é¥à¤Ë¼×ÃǤµ¤ì¡¢
3365 ¥×¥í¥°¥é¥à¤ËÁ÷¤é¤ì¤Æ¤É¤Î¤è¤¦¤Ë°·¤¦¤«¤¬·è¤á¤é¤ì¤ë¡£
3366 .TP
3367 .I /proc/sys/kernel/hotplug
3368 .\"O This file
3369 .\"O contains the path for the hotplug policy agent.
3370 .\"O The default value in this file is
3371 .\"O .IR /sbin/hotplug .
3372 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥Û¥Ã¥È¥×¥é¥°¡¦¥Ý¥ê¥·¡¼¡¦¥¨¡¼¥¸¥§¥ó¥È¤Î¥Ñ¥¹¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3373 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3374 .I /sbin/hotplug
3375 ¤Ç¤¢¤ë¡£
3376 .TP
3377 .\"O .IR /proc/sys/kernel/domainname " and " /proc/sys/kernel/hostname
3378 .IR /proc/sys/kernel/domainname " ¤È " /proc/sys/kernel/hostname
3379 .\"O can be used to set the NIS/YP domainname and the
3380 .\"O hostname of your box in exactly the same way as the commands
3381 .\"O .BR domainname (1)
3382 .\"O and
3383 .\"O .BR hostname (1),
3384 .\"O that is:
3385 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥³¥Þ¥ó¥É
3386 .BR domainname (1),
3387 .BR hostname (1)
3388 ¤ÈÁ´¤¯Æ±¤¸ÊýË¡¤Ç¡¢
3389 ¥Þ¥·¥ó¤Î NIS/YP ¥É¥á¥¤¥ó̾¤È¥Û¥¹¥È̾¤ÎÀßÄê¤Ë»È¤¨¤ë¡£
3390 ¤¹¤Ê¤ï¤Á
3391
3392 .in +4n
3393 .nf
3394 .RB "#" " echo \(aqdarkstar\(aq > /proc/sys/kernel/hostname"
3395 .RB "#" " echo \(aqmydomain\(aq > /proc/sys/kernel/domainname"
3396 .fi
3397 .in
3398
3399 .\"O has the same effect as
3400 ¤Ï¡¢°Ê²¼¤ÈƱ¤¸¸ú²Ì¤¬¤¢¤ë¡£
3401
3402 .in +4n
3403 .nf
3404 .RB "#" " hostname \(aqdarkstar\(aq"
3405 .RB "#" " domainname \(aqmydomain\(aq"
3406 .fi
3407 .in
3408
3409 .\"O Note, however, that the classic darkstar.frop.org has the
3410 .\"O hostname "darkstar" and DNS (Internet Domain Name Server)
3411 .\"O domainname "frop.org", not to be confused with the NIS (Network
3412 .\"O Information Service) or YP (Yellow Pages) domainname.
3413 .\"O These two
3414 .\"O domain names are in general different.
3415 .\"O For a detailed discussion
3416 .\"O see the
3417 .\"O .BR hostname (1)
3418 .\"O man page.
3419 Ãí°Õ: Åµ·¿Åª¤Ê darkstar.frop.org ¤È¤¤¤¦Ì¾Á°¤Ë¤Ï¡¢
3420 ¥Û¥¹¥È̾ "darkstar" ¤È DNS (Internet Domain Name Server)
3421 ¥É¥á¥¤¥ó̾ "frop.org" ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤¬¡¢DNS ¥É¥á¥¤¥ó̾¤È
3422 NIS (Network Information Service) ¤Þ¤¿¤Ï
3423 YP (Yellow Pages) ¤Î¥É¥á¥¤¥ó̾¤òº®Æ±¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
3424 °ìÈ̤ˤ³¤ì¤é 2 ¤Ä¤Î¥É¥á¥¤¥ó̾¤Ï°Û¤Ê¤ë¡£
3425 ¾ÜºÙ¤ÊµÄÏÀ¤Ï¡¢
3426 .BR hostname (1)
3427 ¤Î man ¥Ú¡¼¥¸¤ò»²¾È¤¹¤ë¤³¤È¡£
3428 .TP
3429 .I /proc/sys/kernel/htab-reclaim
3430 .\"O (PowerPC only) If this file is set to a nonzero value,
3431 .\"O the PowerPC htab
3432 .\"O (see kernel file
3433 .\"O .IR Documentation/powerpc/ppc_htab.txt )
3434 .\"O is pruned
3435 .\"O each time the system hits the idle loop.
3436 (PowerPC ¤Î¤ß) ¤³¤Î¥Õ¥¡¥¤¥ë¤ò 0 °Ê³°¤ÎÃͤËÀßÄꤹ¤ë¤È¡¢
3437 PowerPC htab
3438 (¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3439 .I Documentation/powerpc/ppc_htab.txt
3440 »²¾È) ¤ò¡¢¥·¥¹¥Æ¥à¤¬¥¢¥¤¥É¥ë¥ë¡¼¥×¤Ë¤Ê¤ë¤¿¤Ó¤ËÀÚ¤êµÍ¤á¤ë¡£
3441 .TP
3442 .I /proc/sys/kernel/l2cr
3443 .\"O (PowerPC only) This file
3444 .\"O contains a flag that controls the L2 cache of G3 processor
3445 .\"O boards.
3446 .\"O If 0, the cache is disabled.
3447 .\"O Enabled if nonzero.
3448 (PowerPC ¤Î¤ß) ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï G3 ¥×¥í¥»¥Ã¥µ¥Ü¡¼¥É¤Î
3449 L2 ¥­¥ã¥Ã¥·¥å¤òÀ©¸æ¤¹¤ë¥Õ¥é¥°¤¬´Þ¤Þ¤ì¤ë¡£
3450 0 ¤Î¾ì¹ç¡¢¥­¥ã¥Ã¥·¥å¤Ï̵¸ú¤Ë¤Ê¤ë¡£
3451 0 °Ê³°¤Î¾ì¹ç¤ÏÍ­¸ú¤Ë¤Ê¤ë¡£
3452 .TP
3453 .I /proc/sys/kernel/modprobe
3454 .\"O This file contains the path for the kernel module loader.
3455 .\"O The default value is
3456 .\"O .IR /sbin/modprobe .
3457 .\"O The file is only present if the kernel is built with the
3458 .\"O .B CONFIG_KMOD
3459 .\"O option enabled.
3460 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¥í¡¼¥À¤Ø¤Î¥Ñ¥¹¤¬´Þ¤Þ¤ì¤ë¡£
3461 ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤÏ
3462 .I /sbin/modprobe
3463 ¤Ç¤¢¤ë¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
3464 .B CONFIG_KMOD
3465 ¥ª¥×¥·¥ç¥ó¤òÍ­¸ú¤Ë¤·¤Æ¥«¡¼¥Í¥ë¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß¸ºß¤¹¤ë¡£
3466 .\"O It is described by the kernel source file
3467 .\"O .I Documentation/kmod.txt
3468 .\"O (only present in kernel 2.4 and earlier).
3469 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3470 .I Documentation/kmod.txt
3471 (¥«¡¼¥Í¥ë 2.4 °ÊÁ°¤Î¤ß¤Ë¸ºß) ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
3472 .TP
3473 .I /proc/sys/kernel/msgmax
3474 .\"O This file defines
3475 .\"O a system-wide limit specifying the maximum number of bytes in
3476 .\"O a single message written on a System V message queue.
3477 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢System V ¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤Ë½ñ¤­¹þ¤Þ¤ì¤ë 1 ¤Ä¤Î¥á¥Ã¥»¡¼¥¸¤Î
3478 ºÇÂç¥Ð¥¤¥È¿ô¤ò¡¢¥·¥¹¥Æ¥àÁ´ÂΤÇÀ©¸Â¤¹¤ë¡£
3479 .TP
3480 .I /proc/sys/kernel/msgmni
3481 .\"O This file defines the system-wide limit on the number of
3482 .\"O message queue identifiers.
3483 .\"O (This file is only present in Linux 2.4 onwards.)
3484 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¼±Ê̻ҤκÇÂç¿ô¤ò¥·¥¹¥Æ¥àÁ´ÂΤÇÀ©¸Â¤¹¤ë¡£
3485 (¤³¤Î¥Õ¥¡¥¤¥ë¤Ï Linux 2.4 °Ê¹ß¤Ë¤·¤«Â¸ºß¤·¤Ê¤¤)¡£
3486 .TP
3487 .I /proc/sys/kernel/msgmnb
3488 .\"O This file defines a system-wide parameter used to initialize the
3489 .\"O .I msg_qbytes
3490 .\"O setting for subsequently created message queues.
3491 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
3492 .I msg_qbytes
3493 ¤ÎÀßÄê¤ò½é´ü²½¤¹¤ë¥·¥¹¥Æ¥àÁ´ÂΤΥѥé¥á¡¼¥¿¤Ç¤¢¤ë¡£
3494 .I msg_qbytes
3495 ¤Ï°Ê¹ß¤ÇºîÀ®¤µ¤ì¤ë¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤Ç»È¤ï¤ì¤ë¡£
3496 .\"O The
3497 .\"O .I msg_qbytes
3498 .\"O setting specifies the maximum number of bytes that may be written to the
3499 .\"O message queue.
3500 .I msg_qbytes
3501 ÀßÄê¤Ç¤Ï¡¢¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤Ë½ñ¤­¹þ¤Þ¤ì¤ëºÇÂç¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£
3502 .TP
3503 .\"O .IR /proc/sys/kernel/ostype " and " /proc/sys/kernel/osrelease
3504 .IR /proc/sys/kernel/ostype " ¤È " /proc/sys/kernel/osrelease
3505 .\"O These files
3506 .\"O give substrings of
3507 .\"O .IR /proc/version .
3508 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ïʸ»úÎó
3509 .I /proc/version
3510 ¤Î³ÆÉôʬ¤òÍ¿¤¨¤ë¡£
3511 .TP
3512 .\"O .IR /proc/sys/kernel/overflowgid " and " /proc/sys/kernel/overflowuid
3513 .IR /proc/sys/kernel/overflowgid " ¤È " /proc/sys/kernel/overflowuid
3514 .\"O These files duplicate the files
3515 .\"O .I /proc/sys/fs/overflowgid
3516 .\"O and
3517 .\"O .IR /proc/sys/fs/overflowuid .
3518 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï
3519 .I /proc/sys/fs/overflowgid
3520 ¤È
3521 .I /proc/sys/fs/overflowuid
3522 ¤òÊ£À½¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
3523 .TP
3524 .I /proc/sys/kernel/panic
3525 .\"O This file gives read/write access to the kernel variable
3526 .\"O .IR panic_timeout .
3527 .\"O If this is zero, the kernel will loop on a panic; if nonzero
3528 .\"O it indicates that the kernel should autoreboot after this number
3529 .\"O of seconds.
3530 .\"O When you use the
3531 .\"O software watchdog device driver, the recommended setting is 60.
3532 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥«¡¼¥Í¥ëÊÑ¿ô
3533 .I panic_timeout
3534 ¤Ø¤ÎÆɤ߽Ф·¤È½ñ¤­¹þ¤ß¤Î¥¢¥¯¥»¥¹¤òÍ¿¤¨¤ë¡£
3535 ¤³¤ÎÃͤ¬ 0 ¤Ê¤é¤Ð¡¢¥Ñ¥Ë¥Ã¥¯»þ¤Ë¥«¡¼¥Í¥ë¤Ï (̵¸Â) ¥ë¡¼¥×¤ËÆþ¤ë¡£
3536 0 ¤Ç¤Ê¤±¤ì¤Ð¡¢¤½¤ÎÉÿô¤À¤±ÂԤäƤ«¤é¼«Æ°Åª¤ËºÆµ¯Æ°¤¹¤ë¡£
3537 ¥½¥Õ¥È¥¦¥§¥¢ watchdog ¥É¥é¥¤¥Ð¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
3538 ¿ä¾©¤µ¤ì¤ëÀßÄê¤Ï 60 ¤Ç¤¢¤ë¡£
3539 .TP
3540 .\"O .IR /proc/sys/kernel/panic_on_oops " (since Linux 2.5.68)"
3541 .IR /proc/sys/kernel/panic_on_oops " (Linux 2.5.68 °Ê¹ß)"
3542 .\"O This file controls the kernel's behavior when an oops
3543 .\"O or BUG is encountered.
3544 .\"O If this file contains 0, then the system
3545 .\"O tries to continue operation.
3546 .\"O If it contains 1, then the system
3547 .\"O delays a few seconds (to give klogd time to record the oops output)
3548 .\"O and then panics.
3549 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢oops ¤ä BUG ¤¬µ¯¤³¤Ã¤¿¾ì¹ç¤Î¥«¡¼¥Í¥ë¤ÎÆ°ºî¤òÀ©¸æ¤¹¤ë¡£
3550 ¥Õ¥¡¥¤¥ë¤Ë 0 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à¤ÏÁàºî¤ò³¹Ô¤·¤è¤¦¤È¤¹¤ë¡£
3551 1 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à¤Ï
3552 (klogd ¤¬ oops ½ÐÎϤòµ­Ï¿¤¹¤ë»þ´Ö¤òÍ¿¤¨¤ë¤¿¤á¤Ë) ¿ôÉôÖÃٱ䤷¤¿¸å¡¢
3553 panic ¤òµ¯¤³¤¹¡£
3554 .\"O If the
3555 .\"O .I /proc/sys/kernel/panic
3556 .\"O file is also nonzero then the machine will be rebooted.
3557 .I /proc/sys/kernel/panic
3558 ¥Õ¥¡¥¤¥ë¤â 0 ¤Ç¤Ê¤¤¾ì¹ç¡¢¥Þ¥·¥ó¤ÏºÆµ¯Æ°¤µ¤ì¤ë¡£
3559 .TP
3560 .\"O .IR /proc/sys/kernel/pid_max " (since Linux 2.5.34)"
3561 .IR /proc/sys/kernel/pid_max " (Linux 2.5.34 °Ê¹ß)"
3562 .\"O This file specifies the value at which PIDs wrap around
3563 .\"O (i.e., the value in this file is one greater than the maximum PID).
3564 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢PID ¤ò¤¤¤¯¤Ä¤Ç½ªÎ»¤Ë¤¹¤ë¤«¤ò»ØÄꤹ¤ë
3565 (¤¹¤Ê¤ï¤Á¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤϺÇÂç PID ¤è¤ê 1 Â礭¤¤)¡£
3566 .\"O The default value for this file, 32768,
3567 .\"O results in the same range of PIDs as on earlier kernels.
3568 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϠ32768 ¤Ç¤¢¤ê¡¢
3569 ¤½¤Î¾ì¹ç¤Ë¤Ï°ÊÁ°¤Î¥«¡¼¥Í¥ë¤ÈƱ¤¸ PID ¤ÎÈϰϤˤʤ롣
3570 .\"O On 32-bit platforms, 32768 is the maximum value for
3571 .\"O .IR pid_max .
3572 .\"O On 64-bit systems,
3573 .\"O .I pid_max
3574 .\"O can be set to any value up to 2^22
3575 .\"O .RB ( PID_MAX_LIMIT ,
3576 .\"O approximately 4 million).
3577 32¥Ó¥Ã¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢
3578 .I pid_max
3579 ¤ÎºÇÂçÃͤϠ32768 ¤Ç¤¢¤ë¡£
3580 64¥Ó¥Ã¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢
3581 2^22
3582 .RB ( PID_MAX_LIMIT ,
3583 Ìó 4,000,000) ¤Þ¤Ç¤ÎǤ°Õ¤ÎÃͤòÀßÄê¤Ç¤­¤ë¡£
3584 .\" Prior to 2.6.10, pid_max could also be raised above 32768 on 32-bit
3585 .\" platforms, but this broke /proc/[pid]
3586 .\" See http://marc.theaimsgroup.com/?l=linux-kernel&m=109513010926152&w=2
3587 .TP
3588 .\"O .IR /proc/sys/kernel/powersave-nap " (PowerPC only)"
3589 .IR /proc/sys/kernel/powersave-nap " (PowerPC ¤Î¤ß)"
3590 .\"O This file contains a flag.
3591 .\"O If set, Linux-PPC will use the "nap" mode of
3592 .\"O powersaving,
3593 .\"O otherwise the "doze" mode will be used.
3594 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥Õ¥é¥°¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3595 ¥Õ¥é¥°¤¬ÀßÄꤵ¤ì¤ë¤È¡¢Linux-PPC ¤Ï
3596 ¾ÊÅÅÎϤΠ"nap" ¥â¡¼¥É¤ò»È¤¦¡£
3597 ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢"doze" ¥â¡¼¥É¤¬»È¤ï¤ì¤ë¡£
3598 .TP
3599 .I /proc/sys/kernel/printk
3600 .\"O The four values in this file are
3601 .\"O .IR console_loglevel ,
3602 .\"O .IR default_message_loglevel ,
3603 .\"O .IR minimum_console_level ,
3604 .\"O and
3605 .\"O .IR default_console_loglevel .
3606 .\"O These values influence
3607 .\"O .I printk()
3608 .\"O behavior when printing or logging error messages.
3609 .\"O See
3610 .\"O .BR syslog (2)
3611 .\"O for more info on the different loglevels.
3612 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë 4 ¤Ä¤ÎÃͤϡ¢
3613 .IR console_loglevel ,
3614 .IR default_message_loglevel ,
3615 .IR minimum_console_loglevel ,
3616 .IR default_console_loglevel
3617 ¤Ç¤¢¤ë¡£
3618 .\"Osato:
3619 .\"Osato: minimum_console_level ¤Ï minimum_console_loglevel ¤Î´Ö°ã¤¤¡©
3620 .\"Osato:
3621 ¤³¤ì¤é¤ÎÃͤϥ¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤¿¤êµ­Ï¿¤·¤¿¤ê¤¹¤ë
3622 .I printk()
3623 ¤ÎÆ°ºî¤Ë±Æ¶Á¤¹¤ë¡£
3624 ³Æ loglevel ¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢
3625 .BR syslog (2)
3626 ¤ò»²¾È¤¹¤ë¤³¤È¡£
3627 .\"O Messages with a higher priority than
3628 .\"O .I console_loglevel
3629 .\"O will be printed to the console.
3630 .\"O Messages without an explicit priority will be printed with priority
3631 .\"O .IR default_message_level .
3632 .\"O .I minimum_console_loglevel
3633 .\"O is the minimum (highest) value to which
3634 .\"O .I console_loglevel
3635 .\"O can be set.
3636 .\"O .I default_console_loglevel
3637 .\"O is the default value for
3638 .\"O .IR console_loglevel .
3639 Í¥ÀèÅÙ¤¬
3640 .I console_loglevel
3641 °Ê¾å¤Î¥á¥Ã¥»¡¼¥¸¤Ï¡¢¥³¥ó¥½¡¼¥ë¤Ëɽ¼¨¤µ¤ì¤ë¡£
3642 Í¥ÀèÅÙ¤¬ÌÀ¼¨¤µ¤ì¤Æ¤¤¤Ê¤¤¥á¥Ã¥»¡¼¥¸¤Ï¡¢Í¥ÀèÅÙ¤¬
3643 .I default_message_level
3644 ¤Î¤È¤­¤Ëɽ¼¨¤µ¤ì¤ë¡£
3645 .I minimum_console_loglevel
3646 ¤Ï
3647 .I console_loglevel
3648 ¤ËÀßÄê¤Ç¤­¤ëºÇ¾® (ºÇ¹â) ¤ÎÃͤǤ¢¤ë¡£
3649 .I default_console_loglevel
3650 ¤Ï
3651 .I console_loglevel
3652 ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤǤ¢¤ë¡£
3653 .TP
3654 .\"O .IR /proc/sys/kernel/pty " (since Linux 2.6.4)"
3655 .IR /proc/sys/kernel/pty " (Linux 2.6.4 °Ê¹ß)"
3656 .\"O This directory contains two files relating to the number of Unix 98
3657 .\"O pseudo-terminals (see
3658 .\"O .BR pts (4))
3659 .\"O on the system.
3660 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢Unix 98 µ¿»÷üËö
3661 .RB ( pts (4)
3662 ¤ò»²¾È) ¤Î¿ô¤Ë´ØÏ¢¤¹¤ë 2 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡£
3663 .TP
3664 .I /proc/sys/kernel/pty/max
3665 .\"O This file defines the maximum number of pseudo-terminals.
3666 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ïµ¿»÷üËö¤ÎºÇÂç¿ô¤òÄêµÁ¤¹¤ë¡£
3667 .TP
3668 .I /proc/sys/kernel/pty/nr
3669 .\"O This read-only file
3670 .\"O indicates how many pseudo-terminals are currently in use.
3671 ¤³¤ÎÆɤ߽Ф·ÀìÍѤΥե¡¥¤¥ë¤Ï¡¢¸½ºß¤¤¤¯¤Ä¤Îµ¿»÷üËö¤¬»È¤ï¤ì¤Æ¤¤¤ë¤«¤òɽ¤¹¡£
3672 .TP
3673 .I /proc/sys/kernel/random
3674 .\"O This directory
3675 .\"O .I random
3676 .\"O contains various parameters controlling the operation of the file
3677 .\"O .IR /dev/random .
3678 .\"O See
3679 .\"O .BR random (4)
3680 .\"O for further information.
3681 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢¥Õ¥¡¥¤¥ë
3682 .I /dev/random
3683 ¤ÎÁàºî¤òÀ©¸æ¤¹¤ëÍÍ¡¹¤Ê¥Ñ¥é¥á¡¼¥¿¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3684 ¾ÜºÙ¤Ï
3685 .BR random (4)
3686 ¤ò»²¾È¡£
3687 .TP
3688 .I /proc/sys/kernel/real-root-dev
3689 .\"O This file is documented in the kernel source file
3690 .\"O .IR Documentation/initrd.txt .
3691 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3692 .I Documentation/initrd.txt
3693 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
3694 .TP
3695 .\"O .IR /proc/sys/kernel/reboot-cmd " (Sparc only) "
3696 .IR /proc/sys/kernel/reboot-cmd " (Sparc ¤Î¤ß) "
3697 .\"O This file seems to be a way to give an argument to the SPARC
3698 .\"O ROM/Flash boot loader.
3699 .\"O Maybe to tell it what to do after
3700 .\"O rebooting?
3701 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï SPARC ROM/Flash ¥Ö¡¼¥È¥í¡¼¥À¤Ë°ú¤­¿ô¤òÅϤ¹ÊýË¡¤ò
3702 Ä󶡤·¤Æ¤¤¤ë¤è¤¦¤Ë»×¤ï¤ì¤ë¡£
3703 ºÆµ¯Æ°¸å¤Ë²¿¤ò¤¹¤ë¤«¤ò»ØÄꤷ¤Æ¤¤¤ë¤Î¤À¤í¤¦¤«¡©
3704 .TP
3705 .I /proc/sys/kernel/rtsig-max
3706 .\"O (Only in kernels up to and including 2.6.7; see
3707 .\"O .BR setrlimit (2))
3708 (2.6.7 ¤Þ¤Ç¤Î¥«¡¼¥Í¥ë¤Ë¤Î¤ß¸ºß¤¹¤ë¡£
3709 .BR setrlimit (2)
3710 ¤ò»²¾È¤¹¤ë¤³¤È)
3711 .\"O This file can be used to tune the maximum number
3712 .\"O of POSIX real-time (queued) signals that can be outstanding
3713 .\"O in the system.
3714 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¤Çȯ¹Ô¤µ¤ì¤ë POSIX real-time (queued) signal ¤Î
3715 ºÇÂç¿ô¤òÄ´À°¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¡£
3716 .TP
3717 .I /proc/sys/kernel/rtsig-nr
3718 .\"O (Only in kernels up to and including 2.6.7.)
3719 (2.6.7 ¤Þ¤Ç¤Î¥«¡¼¥Í¥ë¤Ë¤Î¤ß¸ºß¤¹¤ë)
3720 .\"O This file shows the number POSIX real-time signals currently queued.
3721 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¥­¥å¡¼¤ËÆþ¤Ã¤Æ¤¤¤ë POSIX real-time signal ¤Î¿ô¤òɽ¤¹¡£
3722 .TP
3723 .\"O .IR /proc/sys/kernel/sem " (since Linux 2.4)"
3724 .IR /proc/sys/kernel/sem " (Linux 2.4 °Ê¹ß)"
3725 .\"O This file contains 4 numbers defining limits for System V IPC semaphores.
3726 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï System V IPC ¥»¥Þ¥Õ¥©¤òÀ©¸Â¤¹¤ë 4 ¤Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3727 .\"O These fields are, in order:
3728 ¤³¤ì¤é¤Î¥Õ¥£¡¼¥ë¥É¤Ï¼¡¤Î½çÈÖ¤Ëʤó¤Ç¤¤¤ë:
3729 .RS
3730 .IP SEMMSL 8
3731 .\"O The maximum semaphores per semaphore set.
3732 ¥»¥Þ¥Õ¥©½¸¹ç¤´¤È¤Î¥»¥Þ¥Õ¥©¿ô¤ÎºÇÂçÃÍ¡£
3733 .IP SEMMNS 8
3734 .\"O A system-wide limit on the number of semaphores in all semaphore sets.
3735 ¥·¥¹¥Æ¥àÁ´ÂΤǤΡ¢Á´¤Æ¤Î¥»¥Þ¥Õ¥©½¸¹ç¤Ë¤ª¤±¤ë¥»¥Þ¥Õ¥©¿ô¤ÎÀ©¸Â¡£
3736 .IP SEMOPM 8
3737 .\"O The maximum number of operations that may be specified in a
3738 .\"O .BR semop (2)
3739 .\"O call.
3740 .BR semop (2)
3741 ¥³¡¼¥ë¤Ë»ØÄꤵ¤ì¤ë¥ª¥Ú¥ì¡¼¥·¥ç¥ó¿ô¤ÎºÇÂçÃÍ¡£
3742 .IP SEMMNI 8
3743 .\"O A system-wide limit on the maximum number of semaphore identifiers.
3744 ¥·¥¹¥Æ¥àÁ´ÂΤǤΥ»¥Þ¥Õ¥©¼±Ê̻ҤκÇÂçÃÍ¡£
3745 .RE
3746 .TP
3747 .I /proc/sys/kernel/sg-big-buff
3748 .\"O This file
3749 .\"O shows the size of the generic SCSI device (sg) buffer.
3750 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢ÈÆÍÑ SCSI ¥Ç¥Ð¥¤¥¹ (sg) ¤Î¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º¤ÎºÇÂçÃͤòɽ¤¹¡£
3751 .\"O You can't tune it just yet, but you could change it at
3752 .\"O compile time by editing
3753 .\"O .I include/scsi/sg.h
3754 .\"O and changing
3755 .\"O the value of
3756 .\"O .BR SG_BIG_BUFF .
3757 .\"O However, there shouldn't be any reason to change this value.
3758 º£¤Ï¤³¤ì¤òÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤¬¡¢
3759 ¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
3760 .I include/scsi/sg.h
3761 ¤òÊÔ½¸¤·¤Æ
3762 .B SG_BIG_BUFF
3763 ¤ÎÃͤòÊѤ¨¤ì¤ÐÊѹ¹¤Ç¤­¤ë¡£
3764 ¤¿¤À¤·¡¢¤³¤ÎÃͤòÊѹ¹¤¹¤ëÍýͳ¤Ï¤Ê¤¤¤À¤í¤¦¡£
3765 .TP
3766 .I /proc/sys/kernel/shmall
3767 .\"O This file
3768 .\"O contains the system-wide limit on the total number of pages of
3769 .\"O System V shared memory.
3770 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï System V ¶¦Í­¥á¥â¥ê¤ÎÁí¥Ú¡¼¥¸¿ô¤Î
3771 ¥·¥¹¥Æ¥àÁ´ÂΤǤÎÀ©¸Â¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3772 .TP
3773 .I /proc/sys/kernel/shmmax
3774 .\"O This file
3775 .\"O can be used to query and set the run-time limit
3776 .\"O on the maximum (System V IPC) shared memory segment size that can be
3777 .\"O created.
3778 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÄ̤¸¤Æ¡¢(System V IPC) ¶¦Í­¥á¥â¥ê¥»¥°¥á¥ó¥È¤òºîÀ®¤¹¤ë¤È¤­¤Î
3779 ºÇÂ祵¥¤¥º¤Î¼Â¹Ô»þ¾å¸Â (run-time limit) ¤ò¼èÆÀ¤Þ¤¿¤ÏÀßÄê¤Ç¤­¤ë¡£
3780 .\"O Shared memory segments up to 1GB are now supported in the
3781 .\"O kernel.
3782 .\"O This value defaults to
3783 .\"O .BR SHMMAX .
3784 ¸½ºß¤Ï 1GB ¤Þ¤Ç¤Î¶¦Í­¥á¥â¥ê¥»¥°¥á¥ó¥È¤¬
3785 ¥«¡¼¥Í¥ë¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
3786 ¤³¤ÎÃͤΥǥե©¥ë¥È¤Ï
3787 .B SHMMAX
3788 ¤Ç¤¢¤ë¡£
3789 .TP
3790 .I /proc/sys/kernel/shmmni
3791 .\"O (available in Linux 2.4 and onwards)
3792 (Linux 2.4 °Ê¹ß¤Ç»ÈÍѲÄǽ)
3793 .\"O This file
3794 .\"O specifies the system-wide maximum number of System V shared memory
3795 .\"O segments that can be created.
3796 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤǺîÀ®²Äǽ¤Ê
3797 System V ¶¦Í­¥á¥â¥ê¥»¥°¥á¥ó¥È¿ô¤ò»ØÄꤹ¤ë¡£
3798 .TP
3799 .I /proc/sys/kernel/sysrq
3800 .\"O This file controls the functions allowed to be invoked by the SysRq key.
3801 .\"O By default,
3802 .\"O the file contains 1 meaning that every possible SysRq request is allowed
3803 .\"O (in older kernel versions, SysRq was disabled by default,
3804 .\"O and you were required to specifically enable it at run-time,
3805 .\"O but this is not the case any more).
3806 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢SysRq ¥­¡¼¤Ë¤è¤êµ¯Æ°¤¬µö²Ä¤µ¤ì¤Æ¤¤¤ë´Ø¿ô·²¤òÀ©¸æ¤¹¤ë
3807 ¤â¤Î¤Ç¤¢¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤ÎÆâÍƤϠ1 ¤Ç¤¢¤ê¡¢
3808 ¤³¤ì¤Ïµ¯¤³¤êÆÀ¤ëÁ´¤Æ¤Î SysRq ¥ê¥¯¥¨¥¹¥È¤¬µö²Ä¤µ¤ì¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë
3809 (¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¡¢SysRq ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤ª¤ê¡¢
3810 ¼Â¹Ô»þ¤ËÌÀ¼¨Åª¤ËÍ­¸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤Ã¤¿¤¬¡¢º£¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤)¡£
3811 .\"O Possible values in this file are:
3812 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç»ØÄê²Äǽ¤ÊÃͤϰʲ¼¤ÎÄ̤ꡣ
3813
3814 .\"O    0 - disable sysrq completely
3815 .\"O    1 - enable all functions of sysrq
3816 .\"O   >1 - bitmask of allowed sysrq functions, as follows:
3817 .\"O           2 - enable control of console logging level
3818 .\"O           4 - enable control of keyboard (SAK, unraw)
3819 .\"O           8 - enable debugging dumps of processes etc.
3820 .\"O          16 - enable sync command
3821 .\"O          32 - enable remount read-only
3822 .\"O          64 - enable signalling of processes (term, kill, oom-kill)
3823 .\"O         128 - allow reboot/poweroff
3824 .\"O         256 - allow nicing of all real-time tasks
3825    0 - sysrq ¤ò´°Á´¤Ë̵¸ú¤Ë¤¹¤ë
3826    1 - sysrq ¤ÎÁ´¤Æ¤Î´Ø¿ô¤òÍ­¸ú¤Ë¤¹¤ë
3827   >1 - µö²Ä¤¹¤ë sysrq ´Ø¿ô¤Î¥Ó¥Ã¥È¥Þ¥¹¥¯¡£ÆâÌõ¤Ï°Ê²¼¤ÎÄ̤ꡣ
3828           2 - ¥³¥ó¥½¡¼¥ë¤Î¥í¥°¡¦¥ì¥Ù¥ë¤ÎÀ©¸æ¤òÍ­¸ú¤Ë¤¹¤ë
3829           4 - ¥­¡¼¥Ü¡¼¥É¤ÎÀ©¸æ¤òÍ­¸ú¤Ë¤¹¤ë (SAK, unraw)
3830           8 - ¥×¥í¥»¥¹¤Ê¤É¤Î¥Ç¥Ð¥Ã¥°¡¦¥À¥ó¥×¤òÍ­¸ú¤Ë¤¹¤ë
3831          16 - sync ¥³¥Þ¥ó¥É¤òÍ­¸ú¤Ë¤¹¤ë
3832          32 - Æɤ߽Ф·ÀìÍѤǤκƥޥ¦¥ó¥È¤òÍ­¸ú¤Ë¤¹¤ë
3833          64 - ¥×¥í¥»¥¹¤Ø¤Î¥·¥°¥Ê¥ëȯ¹Ô¤òÍ­¸ú¤Ë¤¹¤ë (term, kill, oom-kill)
3834         128 - ¥ê¥Ö¡¼¥È/ÅŸ»¥ª¥Õ¤òµö²Ä¤¹¤ë
3835         256 - Á´¤Æ¤Î¥ê¥¢¥ë¥¿¥¤¥à¡¦¥¿¥¹¥¯¤Î nice ÃͤÎÊѹ¹¤òµö²Ä¤¹¤ë
3836
3837 .\"O This file is only present if the
3838 .\"O .B CONFIG_MAGIC_SYSRQ
3839 .\"O kernel configuration option is enabled.
3840 .\"O For further details see the kernel source file
3841 .\"O .IR Documentation/sysrq.txt .
3842 ¥«¡¼¥Í¥ëÀßÄꥪ¥×¥·¥ç¥ó
3843 .B CONFIG_MAGIC_SYSRQ
3844 ¤¬Í­¸ú¤Ê¾ì¹ç¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
3845 ¾ÜºÙ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3846 .I Documentation/sysrq.txt
3847 ¤ò»²¾È¤Î¤³¤È¡£
3848 .TP
3849 .I /proc/sys/kernel/version
3850 .\"O This file contains a string like:
3851 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Êʸ»úÎ󤬽ñ¤«¤ì¤Æ¤¤¤ë:
3852
3853     #5 Wed Feb 25 21:49:24 MET 1998
3854
3855 .\"O The "#5" means that
3856 .\"O this is the fifth kernel built from this source base and the
3857 .\"O date behind it indicates the time the kernel was built.
3858 \&"#5" ¤Ï¤³¤Î¥½¡¼¥¹¤Ç¹½ÃÛ¤µ¤ì¤¿ 5 ÈÖÌܤΥ«¡¼¥Í¥ë¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
3859 ¤½¤Î¸å¤Ë¤¢¤ëÆüÉդϥ«¡¼¥Í¥ë¤¬¹½ÃÛ¤µ¤ì¤¿»þ¹ï¤òɽ¤¹¡£
3860 .TP
3861 .\"O .IR /proc/sys/kernel/threads-max " (since Linux 2.3.11)"
3862 .IR /proc/sys/kernel/threads-max " (Linux 2.3.11 °Ê¹ß)"
3863 .\"O This file specifies the system-wide limit on the number of
3864 .\"O threads (tasks) that can be created on the system.
3865 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤǺîÀ®²Äǽ¤Ê¥¹¥ì¥Ã¥É¿ô
3866 (¥¿¥¹¥¯¿ô) ¤Î¾å¸Â¤ò»ØÄꤹ¤ë¡£
3867 .TP
3868 .\"O .IR /proc/sys/kernel/zero-paged " (PowerPC only) "
3869 .IR /proc/sys/kernel/zero-paged " (PowerPC ¤Î¤ß) "
3870 .\"O This file
3871 .\"O contains a flag.
3872 .\"O When enabled (nonzero), Linux-PPC will pre-zero pages in
3873 .\"O the idle loop, possibly speeding up get_free_pages.
3874 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥Õ¥é¥°¤ò´Þ¤à¡£
3875 (0 °Ê³°¤ÎÃͤÇ) Í­¸ú¤µ¤ì¤¿¾ì¹ç¡¢Linux-PPC ¤Ï¥¢¥¤¥É¥ë¥ë¡¼¥×¤Ç
3876 pre-zero page ¤ò¹Ô¤¦¤Î¤Ç¡¢get_free_pages ¤Î®ÅÙ¤¬¸þ¾å¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
3877 .\"Osato:
3878 .\"Osato: pre-zero page ¤ÎÌõ¸ì¤¬Ê¬¤«¤é¤Ê¤¤¡£
3879 .\"Osato:
3880 .TP
3881 .I /proc/sys/net
3882 .\"O This directory contains networking stuff.
3883 .\"O Explanations for some of the files under this directory can be found in
3884 .\"O .BR tcp (7)
3885 .\"O and
3886 .\"O .BR ip (7).
3887 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Í¥Ã¥È¥ï¡¼¥¯´Ø·¸¤Î¾ðÊó¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
3888 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Î¤¤¤¯¤Ä¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢
3889 .BR tcp (7)
3890 ¤ä
3891 .BR ip (7)
3892 ¤ËÀâÌÀ¤¬¤¢¤ë¡£
3893 .TP
3894 .I /proc/sys/net/core/somaxconn
3895 .\"O This file defines a ceiling value for the
3896 .\"O .I backlog
3897 .\"O argument of
3898 .\"O .BR listen (2);
3899 .\"O see the
3900 .\"O .BR listen (2)
3901 .\"O manual page for details.
3902 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
3903 .BR listen (2)
3904 ¤Î
3905 .I backlog
3906 °ú¤­¿ô¤Î¾å¸ÂÃͤòµ¬Äꤹ¤ë¡£
3907 ¾ÜºÙ¤Ï
3908 .BR listen (2)
3909 ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¡£
3910 .TP
3911 .I /proc/sys/proc
3912 .\"O This directory may be empty.
3913 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¤¿¤Ö¤ó¶õ¤Ç¤¢¤ë¡£
3914 .TP
3915 .I /proc/sys/sunrpc
3916 .\"O This directory supports Sun remote procedure call for network file system
3917 .\"O (NFS).
3918 .\"O On some systems, it is not present.
3919 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à (NFS) ¤Ø¤Î
3920 Sun remote procedure call (±ó³Ö¼ê³¤­¸Æ¤Ó½Ð¤·) ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£
3921 ¤³¤ì¤¬Â¸ºß¤·¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
3922 .TP
3923 .I /proc/sys/vm
3924 .\"O This directory contains files for memory management tuning, buffer and
3925 .\"O cache management.
3926 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥á¥â¥ê´ÉÍý¤ÎÄ´À°¡¢¥Ð¥Ã¥Õ¥¡¤ä¥­¥ã¥Ã¥·¥å´ÉÍý¤Î¤¿¤á¤Î
3927 ¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¡£
3928 .TP
3929 .\"O .IR /proc/sys/vm/drop_caches " (since Linux 2.6.16)"
3930 .IR /proc/sys/vm/drop_caches " (Linux 2.6.16 °Ê¹ß)"
3931 .\"O Writing to this file causes the kernel to drop clean caches, dentries and
3932 .\"O inodes from memory, causing that memory to become free.
3933 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤ß¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥¯¥ê¡¼¥ó¤Ê¥­¥ã¥Ã¥·¥å¡¢dentry¡¢
3934 inode ¤ò¥á¥â¥ê¾å¤«¤é³°¤·¡¢¤½¤Î¥á¥â¥ê¤ò²òÊü¤¹¤ë¡£
3935
3936 .\"O To free pagecache, use
3937 .\"O .IR "echo 1 > /proc/sys/vm/drop_caches" ;
3938 .\"O to free dentries and inodes, use
3939 .\"O .IR "echo 2 > /proc/sys/vm/drop_caches" ;
3940 .\"O to free pagecache, dentries and inodes, use
3941 .\"O .IR "echo 3 > /proc/sys/vm/drop_caches" .
3942 ¥Ú¡¼¥¸¥­¥ã¥Ã¥·¥å¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3943 .I "echo 1 > /proc/sys/vm/drop_caches"
3944 ¤È¤¹¤ë¡£ dentry¡¢inode ¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3945 .I "echo 2 > /proc/sys/vm/drop_caches"
3946 ¤È¤¹¤ë¡£¥Ú¡¼¥¸¥­¥ã¥Ã¥·¥å¡¢dentry¡¢inode ¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3947 .IR "echo 3 > /proc/sys/vm/drop_caches"
3948 ¤È¤¹¤ë¡£
3949
3950 .\"O Because this is a nondestructive operation and dirty objects
3951 .\"O are not freeable, the
3952 .\"O user should run
3953 .\"O .BR sync (8)
3954 .\"O first.
3955 ¤³¤ÎÁàºî¤ÏÈóÇ˲õŪ¤ÊÁàºî¤Ç¡¢¥À¡¼¥Æ¥£¤Ê (dirty) ¥ª¥Ö¥¸¥§¥¯¥È¤Ï
3956 ²òÊü¤µ¤ì¤Ê¤¤¤Î¤Ç¡¢¤³¤ÎÁàºî¤ò¹Ô¤¦ºÝ¤ÏºÇ½é¤Ë
3957 .BR sync (8)
3958 ¤ò¼Â¹Ô¤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¢¤ë¡£
3959 .TP
3960 .IR /proc/sys/vm/swappiness
3961 .\" The following is from Documentation/sysctl/vm.txt
3962 .\"O The value in this file controls how aggressively the kernel will swap
3963 .\"O memory pages.
3964 .\"O Higher values increase aggressiveness, lower values
3965 .\"O descrease aggressiveness.
3966 .\"O The default value is 60.
3967 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤˤè¤ê¡¢¥«¡¼¥Í¥ë¤¬¤É¤ÎÄøÅٷ㤷¤¯¥á¥â¥ê¥Ú¡¼¥¸¤Î
3968 ¥¹¥ï¥Ã¥×¤ò¹Ô¤¦¤«¤¬À©¸æ¤µ¤ì¤ë¡£
3969 Â礭¤ÊÃͤۤɥ¹¥ï¥Ã¥×¤¬·ã¤·¤¯¤Ê¤ê¡¢¾®¤µ¤¤Ãͤۤɷ㤷¤¯¤Ê¤¯¤Ê¤ë¡£
3970 ¥Ç¥Õ¥©¥ë¥ÈÃͤϠ60 ¤Ç¤¢¤ë¡£
3971 .TP
3972 .\"O .IR /proc/sys/vm/legacy_va_layout " (since Linux 2.6.9)"
3973 .IR /proc/sys/vm/legacy_va_layout " (Linux 2.6.9 °Ê¹ß)"
3974 .\"O .\" The following is from Documentation/filesystems/proc.txt
3975 .\"O If nonzero, this disables the new 32-bit memory-mapping layout;
3976 .\"O the kernel will use the legacy (2.4) layout for all processes.
3977 .\" °Ê²¼¤Îµ­½Ò¤Ï Documentation/filesystems/proc.txt ¤«¤é¤Î°úÍѤǤ¢¤ë¡£
3978 0 °Ê³°¤Î¾ì¹ç¡¢¿·¤·¤¤ 32¥Ó¥Ã¥È¥á¥â¥ê¥Þ¥Ã¥Ô¥ó¥°ÇÛÃÖ¤¬Ìµ¸ú¤Ë¤Ê¤ê¡¢
3979 ¥«¡¼¥Í¥ë¤ÏÁ´¤Æ¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ½¾Íè¤Î (¥«¡¼¥Í¥ë 2.4 ¤Î) ÇÛÃÖÊýË¡¤ò
3980 »ÈÍѤ¹¤ë¡£
3981 .TP
3982 .\"O .IR /proc/sys/vm/oom_dump_tasks " (since Linux 2.6.25)"
3983 .IR /proc/sys/vm/oom_dump_tasks " (Linux 2.6.25 °Ê¹ß)"
3984 .\" The following is from Documentation/sysctl/vm.txt
3985 .\"O Enables a system-wide task dump (excluding kernel threads) to be
3986 .\"O produced when the kernel performs an OOM-killing.
3987 ¥«¡¼¥Í¥ë¤¬ OOM-killing ¤ò¼Â¹Ô¤¹¤ëºÝ¤Ë¡¢¥·¥¹¥Æ¥àÁ´ÂΤΥ¿¥¹¥¯¡¦¥À¥ó¥×
3988 (¥«¡¼¥Í¥ë¥¹¥ì¥Ã¥É¤ò½ü¤¯) ¤òÀ¸À®¤¹¤ë¤«¤òÀ©¸æ¤¹¤ë¡£
3989 .\"O The dump includes the following information
3990 .\"O for each task (thread, process):
3991 .\"O thread ID, real user ID, thread group ID (process ID),
3992 .\"O virtual memory size, resident set size,
3993 .\"O the CPU that the task is scheduled on,
3994 .\"O oom_adj score (see the description of
3995 .\"O .IR /proc/[pid]/oom_adj ),
3996 .\"O and command name.
3997 ¥À¥ó¥×¤Ë¤Ï¡¢¥¿¥¹¥¯ (¥¹¥ì¥Ã¥É¡¢¥×¥í¥»¥¹) Ëè¤Ë°Ê²¼¤Î¾ðÊ󤬽ÐÎϤµ¤ì¤ë:
3998 ¥¹¥ì¥Ã¥É ID¡¢¼Â¥æ¡¼¥¶ ID¡¢¥¹¥ì¥Ã¥É¥°¥ë¡¼¥× ID (¥×¥í¥»¥¹ ID)¡¢
3999 ²¾ÁÛ¥á¥â¥ê¥µ¥¤¥º¡¢Resident Set Size (¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º)¡¢
4000 ¥¿¥¹¥¯¤¬¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿ CPU¡¢
4001 oom_adj ¥¹¥³¥¢
4002 .RI ( /proc/[pid]/oom_adj
4003 ¤ÎÀâÌÀ¤ò»²¾È)¡¢¥³¥Þ¥ó¥É̾¡£
4004 .\"O This is helpful to determine why the OOM-killer was invoked
4005 .\"O and to identify the rogue task that caused it.
4006 ¤³¤Î¥À¥ó¥×¾ðÊó¤Ï¡¢¤Ê¤¼ OOM-killer ¤¬µ¯Æ°¤µ¤ì¤¿¤«¤òÃΤꡢ
4007 ¤½¤Î¸¶°ø¤È¤Ê¤Ã¤¿¤Ê¤é¤º¼Ô¤Î¥¿¥¹¥¯¤òÆÃÄꤹ¤ë¤Î¤ËÌò¤ËΩ¤Ä¡£
4008
4009 .\"O If this contains the value zero, this information is suppressed.
4010 .\"O On very large systems with thousands of tasks,
4011 .\"O it may not be feasible to dump the memory state information for each one.
4012 .\"O Such systems should not be forced to incur a performance penalty in
4013 .\"O OOM situations when the information may not be desired.
4014 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬ÃÍ 0 ¤Î¾ì¹ç¡¢¥À¥ó¥×¾ðÊó¤Î½ÐÎϤϹԤï¤ì¤Ê¤¤¡£
4015 ¥¿¥¹¥¯¤¬²¿Àé¤â¤¢¤ëÈó¾ï¤ËµðÂç¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
4016 ³Æ¡¹¤Î¥¿¥¹¥¯¤Ë¤Ä¤¤¤Æ¥á¥â¥ê¾õÂÖ¤ò¥À¥ó¥×¤¹¤ë¤Î¤ÏŬÀڤǤʤ¤¤«¤â¤·¤ì¤Ê¤¤¡£
4017 ¤½¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¥À¥ó¥×¾ðÊó¤¬É¬ÍפǤâ¤Ê¤¤¤È¤­¤Ë
4018 ¥á¥â¥êÉÔ­ (OOM) ¤Î¾õ¶·¤ÇÀ­Ç½Ì̤ÎÉÔÍø±×¤¬µ¯¤³¤é¤Ê¤¤¤è¤¦¤Ë¤¹¤Ù¤­¤À¤í¤¦¡£
4019
4020 .\"O If this is set to nonzero, this information is shown whenever the
4021 .\"O OOM-killer actually kills a memory-hogging task.
4022 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬ 0 °Ê³°¤Î¾ì¹ç¡¢
4023 OOM-killer ¤¬¼ÂºÝ¤Ë¥á¥â¥ê¤òÀêÍ­¤·¤¿¥¿¥¹¥¯¤ò kill ¤¹¤ëÅÙ¤Ë
4024 ¥À¥ó¥×¾ðÊ󤬽ÐÎϤµ¤ì¤ë¡£
4025
4026 .\"O The default value is 0.
4027 ¥Ç¥Õ¥©¥ë¥ÈÃͤϠ0 ¤Ç¤¢¤ë¡£
4028 .TP
4029 .\"O .IR /proc/sys/vm/oom_kill_allocating_task " (since Linux 2.6.24)"
4030 .IR /proc/sys/vm/oom_kill_allocating_task " (Linux 2.6.24 °Ê¹ß)"
4031 .\" The following is from Documentation/sysctl/vm.txt
4032 .\"O This enables or disables killing the OOM-triggering task in
4033 .\"O out-of-memory situations.
4034 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥á¥â¥êÉÔ­ (OOM) ¤Î¾õ¶·¤¬µ¯¤³¤Ã¤¿ºÝ¤Ë¡¢
4035 ¥á¥â¥êÉÔ­¤Î¤­¤Ã¤«¤±¤È¤Ê¤Ã¤¿¥¿¥¹¥¯¤ò kill ¤¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤¹¤ë¡£
4036
4037 .\"O If this is set to zero, the OOM-killer will scan through the entire
4038 .\"O tasklist and select a task based on heuristics to kill.
4039 .\"O This normally selects a rogue memory-hogging task that
4040 .\"O frees up a large amount of memory when killed.
4041 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬ 0 ¤ËÀßÄꤵ¤ì¤¿¾ì¹ç¡¢
4042 OOM-killer ¤Ï¥¿¥¹¥¯¥ê¥¹¥ÈÁ´ÂΤò¥¹¥­¥ã¥ó¤·¡¢·Ð¸³Â§¤Ë´ð¤Å¤­
4043 kill ¤¹¤ë¥¿¥¹¥¯¤òÁªÂò¤¹¤ë¡£
4044 Ä̾ï¤Ï¡¢kill ¤·¤¿¾ì¹ç¤Ë¿¤¯¤Î¥á¥â¥ê¤¬²òÊü¤Ç¤­¤ë¡¢
4045 ¤Ê¤é¤º¼Ô¤Î¥á¥â¥êÀêÍ­¥¿¥¹¥¯¤¬ÁªÂò¤µ¤ì¤ë¡£
4046
4047 .\"O If this is set to nonzero, the OOM-killer simply kills the task that
4048 .\"O triggered the out-of-memory condition.
4049 .\"O This avoids a possibly expensive tasklist scan.
4050 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬ 0 °Ê³°¤ËÀßÄꤵ¤ì¤¿¾ì¹ç¡¢
4051 OOM-killer ¤Ï¥á¥â¥êÉÔ­¤Î¾õ¶·¤¬È¯À¸¤¹¤ë¤­¤Ã¤«¤±¤È¤Ê¤Ã¤¿¥¿¥¹¥¯¤ò
4052 ñ½ã¤Ë kill ¤¹¤ë¤À¤±¤Ç¤¢¤ë¡£
4053 ¤³¤ì¤Ë¤è¤ê¡¢¤¿¤¤¤Æ¤¤¤Ï½Å¤¤½èÍý¤È¤Ê¤ë¥¿¥¹¥¯¥ê¥¹¥È¤Î¥¹¥­¥ã¥ó¤ò²óÈò¤Ç¤­¤ë¡£
4054
4055 .\"O If
4056 .\"O .I /proc/sys/vm/panic_on_oom
4057 .\"O is nonzero, it takes precedence over whatever value is used in
4058 .\"O .IR /proc/sys/vm/oom_kill_allocating_task .
4059 .I /proc/sys/vm/panic_on_oom
4060 ¤¬ 0 °Ê³°¤Î¾ì¹ç¡¢
4061 .I /proc/sys/vm/oom_kill_allocating_task
4062 ¤Ë¤É¤Î¤è¤¦¤ÊÃͤ¬Æþ¤Ã¤Æ¤¤¤¿¤È¤·¤Æ¤â¡¢
4063 .I /proc/sys/vm/panic_on_oom
4064 ¤ÎÊý¤¬Í¥À褵¤ì¤ë¡£
4065
4066 .\"O The default value is 0.
4067 ¥Ç¥Õ¥©¥ë¥ÈÃͤϠ0 ¤Ç¤¢¤ë¡£
4068 .TP
4069 .I /proc/sys/vm/overcommit_memory
4070 .\"O This file contains the kernel virtual memory accounting mode.
4071 .\"O Values are:
4072 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥«¡¼¥Í¥ë²¾ÁÛ¥á¥â¥ê¤Î¥¢¥«¥¦¥ó¥È¥â¡¼¥É¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
4073 Ãͤϰʲ¼¤ÎÄ̤ê:
4074 .RS
4075 .IP
4076 .\"O 0: heuristic overcommit (this is the default)
4077 0: È¯¸«Åª¤Ê¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È (heuristic overcommit) (¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë)
4078 .br
4079 .\"O 1: always overcommit, never check
4080 1: ¾ï¤Ë¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È¤·¡¢¥Á¥§¥Ã¥¯¤·¤Ê¤¤¡£
4081 .br
4082 .\"O 2: always check, never overcommit
4083 2: ¾ï¤Ë¥Á¥§¥Ã¥¯¤·¡¢¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È¤·¤Ê¤¤¡£
4084 .RE
4085 .IP
4086 .\"O In mode 0, calls of
4087 .\"O .BR mmap (2)
4088 .\"O with
4089 .\"O .B MAP_NORESERVE
4090 .\"O are not checked, and the default check is very weak,
4091 .\"O leading to the risk of getting a process "OOM-killed".
4092 ¥â¡¼¥É 0 ¤Ç¤Ï¡¢
4093 .B MAP_NORESERVE
4094 ¤òÀßÄꤷ¤Æ¸Æ¤Ó½Ð¤µ¤ì¤¿
4095 .BR mmap (2)
4096 ¤Ï¥Á¥§¥Ã¥¯¤µ¤ì¤Ê¤¤¡£
4097 ¤Þ¤¿¥Ç¥Õ¥©¥ë¥È¤Î¥Á¥§¥Ã¥¯¤Ï¤È¤Æ¤âÀȼå¤Ç¡¢
4098 ¥×¥í¥»¥¹¤ò "OOM-kill" ¤·¤Æ¤·¤Þ¤¦¥ê¥¹¥¯¤ò°ú¤­µ¯¤³¤¹¡£
4099 .\"O Under Linux 2.4 any nonzero value implies mode 1.
4100 Linux 2.4 ¤Ç¤Ï 0 °Ê³°¤ÎÃͤϥ⡼¥É 1 ¤ò°ÕÌ£¤¹¤ë¡£
4101 .\"O In mode 2 (available since Linux 2.6), the total virtual address space
4102 .\"O on the system is limited to (SS + RAM*(r/100)),
4103 .\"O where SS is the size of the swap space, and RAM
4104 .\"O is the size of the physical memory, and r is the contents of the file
4105 .\"O .IR /proc/sys/vm/overcommit_ratio .
4106 (Linux 2.6 °Ê¹ß¤ÇÍøÍѲÄǽ¤Ê) ¥â¡¼¥É 2 ¤Ç¤Ï¡¢
4107 ¥·¥¹¥Æ¥à¾å¤Î²¾ÁÛ¥¢¥É¥ì¥¹¶õ´Ö¤Î¹ç·×¤¬ (SS + RAM*(r/100)) ¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë¡£
4108 ¤³¤³¤Ç¡¢SS ¤Ï¥¹¥ï¥Ã¥×¶õ´Ö¤Î¥µ¥¤¥º¡¢
4109 RAM ¤ÏʪÍý¥á¥â¥ê¤Î¥µ¥¤¥º¡¢r ¤Ï¥Õ¥¡¥¤¥ë
4110 .I /proc/sys/vm/overcommit_ratio
4111 ¤ÎÆâÍƤǤ¢¤ë¡£
4112 .TP
4113 .I /proc/sys/vm/overcommit_ratio
4114 .\"O See the description of
4115 .\"O .IR /proc/sys/vm/overcommit_memory .
4116 .I /proc/sys/vm/overcommit_memory
4117 ¤ÎÀâÌÀ¤ò»²¾È¤¹¤ë¤³¤È¡£
4118 .TP
4119 .\"O .IR /proc/sys/vm/panic_on_oom " (since Linux 2.6.18)"
4120 .IR /proc/sys/vm/panic_on_oom " (Linux 2.6.18 °Ê¹ß)"
4121 .\" The following is adapted from Documentation/sysctl/vm.txt
4122 .\"O This enables or disables a kernel panic in
4123 .\"O an out-of-memory situation.
4124 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥á¥â¥êÉÔ­»þ¤Ë¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ò
4125 µ¯¤³¤¹¤«µ¯¤³¤µ¤Ê¤¤¤«¤òÀ©¸æ¤¹¤ë¡£
4126
4127 .\"O If this file is set to the value 0,
4128 .\"O the kernel's OOM-killer will kill some rogue process.
4129 .\"O Usually, the OOM-killer is able to kill a rogue process and the
4130 .\"O system will survive.
4131 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤òÀßÄꤹ¤ë¤È¡¢
4132 ¥«¡¼¥Í¥ë¤Î OOM-killer ¤¬¤Ê¤é¤º¼Ô¤Î¥×¥í¥»¥¹¤ò kill ¤¹¤ë¡£
4133 ÉáÄ̤ϡ¢OOM-killer ¤¬¤Ê¤é¤º¼Ô¤Î¥×¥í¥»¥¹¤ò kill ¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢
4134 ¥·¥¹¥Æ¥à¤Ï²¿¤È¤«Æ°¤­Â³¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
4135
4136 .\"O If this file is set to the value 1,
4137 .\"O then the kernel normally panics when out-of-memory happens.
4138 .\"O However, if a process limits allocations to certain nodes
4139 .\"O using memory policies
4140 .\"O .RB ( mbind  (2)
4141 .\"O .BR MPOL_BIND )
4142 .\"O or cpusets
4143 .\"O .RB ( cpuset (7))
4144 .\"O and those nodes reach memory exhaustion status,
4145 .\"O one process may be killed by the OOM-killer.
4146 .\"O No panic occurs in this case:
4147 .\"O because other nodes' memory may be free,
4148 .\"O this means the system as a whole may not have reached
4149 .\"O an out-of-memory situation yet.
4150 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 1 ¤òÀßÄꤹ¤ë¤È¡¢
4151 ¥á¥â¥êÉÔ­¤Î¾õ¶·¤¬È¯À¸¤¹¤ë¤È¡¢¥«¡¼¥Í¥ë¤ÏÉáÄ̤ϥѥ˥寤¹¤ë¡£
4152 ¤·¤«¤·¤Ê¤¬¤é¡¢¥×¥í¥»¥¹¤¬
4153 ¥á¥â¥ê¥Ý¥ê¥·¡¼
4154 .RB ( mbind (2)
4155 ¤Î
4156 .BR MPOL_BIND )
4157 ¤ä cpusets
4158 .RB ( cpuset (7))
4159 ¤ò»È¤Ã¤ÆÆÃÄê¤Î¥Î¡¼¥É¤Ø¤Î¥á¥â¥ê³ä¤êÅö¤Æ¤òÀ©¸Â¤·¤Æ¤¤¤Æ¡¢
4160 ¤½¤ì¤é¤Î¥Î¡¼¥É¤Ç¥á¥â¥ê¸Ï³é¾õÂ֤˻ê¤Ã¤¿¾ì¹ç¤Ï¡¢
4161 °ì¤Ä¤Î¥×¥í¥»¥¹¤¬ OOM-killer ¤Ë¤è¤ê kill ¤µ¤ì¤ë¤À¤±¤«¤â¤·¤ì¤Ê¤¤¡£
4162 ¤³¤Î¾ì¹ç¤Ë¤Ï¡¢¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ÏȯÀ¸¤·¤Ê¤¤¡£
4163 ¤Ê¤¼¤Ê¤é¡¢Â¾¤Î¥Î¡¼¥É¤Î¥á¥â¥ê¤Ë¤Ï¶õ¤­¤¬¤¢¤ë¤«¤â¤·¤ì¤º¡¢
4164 ¤·¤¿¤¬¤Ã¤Æ¡¢¥·¥¹¥Æ¥àÁ´ÂΤȤ·¤Æ¤Ï¥á¥â¥êÉÔ­¤Î¾õ¶·¤Ë¤Þ¤À㤷¤Æ¤¤¤Ê¤¤¤«¤â
4165 ¤·¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
4166
4167 .\"O If this file is set to the value 2,
4168 .\"O the kernel always panics when an out-of-memory condition occurs.
4169 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 2 ¤òÀßÄꤹ¤ë¤È¡¢
4170 ¥á¥â¥êÉÔ­¤Î¾õ¶·¤¬È¯À¸¤¹¤ë¤È¥«¡¼¥Í¥ë¤Ï¾ï¤Ë¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤¹¡£
4171
4172 .\"O The default value is 0.
4173 .\"O 1 and 2 are for failover of clustering.
4174 .\"O Select either according to your policy of failover.
4175 ¥Ç¥Õ¥©¥ë¥ÈÃͤϠ0 ¤Ç¤¢¤ë¡£
4176 1 ¤È 2 ¤Ï¥¯¥é¥¹¥¿¥ê¥ó¥°¤Î¥Õ¥§¥¤¥ë¥ª¡¼¥Ð¡¼ÍѤǤ¢¤ë¡£
4177 ¥Õ¥§¥¤¥ë¥ª¡¼¥Ð¡¼¤ÎÊý¿Ë¤Ë±þ¤¸¤Æ¤É¤Á¤é¤«¤ÎÃͤòÁªÂò¤¹¤ë¤³¤È¡£
4178 .TP
4179 .\"O .IR /proc/sysrq-trigger " (since Linux 2.4.21)"
4180 .IR /proc/sysrq-trigger " (Linux 2.4.21 °Ê¹ß)"
4181 .\"O Writing a character to this file triggers the same SysRq function as
4182 .\"O typing ALT-SysRq-<character> (see the description of
4183 .\"O .IR /proc/sys/kernel/sysrq ).
4184 .\"O This file is normally only writable by
4185 .\"O .IR root .
4186 .\"O For further details see the kernel source file
4187 .\"O .IR Documentation/sysrq.txt .
4188 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ëʸ»ú character ¤ò½ñ¤­¹þ¤à¤È¡¢
4189 ¥­¡¼¥Ü¡¼¥É¤«¤é ALT-SysRq-<character> ¤òÆþÎϤ·¤¿¾ì¹ç¤È
4190 Ʊ¤¸ SysRq ´Ø¿ô¤¬µ¯Æ°¤µ¤ì¤ë
4191 .RI ( /proc/sys/kernel/sysrq
4192 ¤ÎÀâÌÀ¤ò»²¾È)¡£
4193 Ä̾¤³¤Î¥Õ¥¡¥¤¥ë¤Ø½ñ¤­¹þ¤ß¤¬¤Ç¤­¤ë¤Î¤Ï
4194 .I root
4195 ¤À¤±¤Ç¤¢¤ë¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î
4196 .I Documentation/sysrq.txt
4197 ¤ò»²¾È¤Î¤³¤È¡£
4198 .TP
4199 .I /proc/sysvipc
4200 .\"O Subdirectory containing the pseudo-files
4201 .\"O .IR msg ", "  sem " and "  shm "."
4202 µ¿»÷¥Õ¥¡¥¤¥ë
4203 .IR msg ", "  sem ", "  shm
4204 ¤ò´Þ¤à¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
4205 .\"O These files list the System V Interprocess Communication (IPC) objects
4206 .\"O (respectively: message queues, semaphores, and shared memory)
4207 .\"O that currently exist on the system,
4208 .\"O providing similar information to that available via
4209 .\"O .BR ipcs (1).
4210 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¸½ºß¥·¥¹¥Æ¥à¾å¤Ë¸ºß¤¹¤ë
4211 System V ¥×¥í¥»¥¹´ÖÄÌ¿® (Interprocess Communication, IPC) ¥ª¥Ö¥¸¥§¥¯¥È
4212 (¤½¤ì¤¾¤ì: ¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¡¢¥»¥Þ¥Õ¥©¡¢¶¦Í­¥á¥â¥ê)
4213 ¤Î¥ê¥¹¥È¤Ç¤¢¤ê¡¢
4214 .BR ipcs (1)
4215 ¤Ç¼èÆÀ¤Ç¤­¤ë¾ðÊó¤ÈƱ¤¸¤â¤Î¤òÄ󶡤¹¤ë¡£
4216 .\"O These files have headers and are formatted (one IPC object per line)
4217 .\"O for easy understanding.
4218 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥Ø¥Ã¥À¤¬¤¢¤ê¡¢Íý²ò¤·¤ä¤¹¤¤¤è¤¦¤Ë
4219 (1 ¹Ô¤Ë¤Ä¤­ 1 ¸Ä¤Î IPC ¥ª¥Ö¥¸¥§¥¯¥È¤Î·Á¼°¤Ç) ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¡£
4220 .\"O .BR svipc (7)
4221 .\"O provides further background on the information shown by these files.
4222 .BR svipc (7)
4223 ¤Ë¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤«¤éʬ¤«¤ë¾ðÊó¤Î¾ÜºÙ¤ÊÇطʤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
4224 .TP
4225 .I /proc/tty
4226 .\"O Subdirectory containing the pseudo-files and subdirectories for
4227 .\"O tty drivers and line disciplines.
4228 µ¿»÷¥Õ¥¡¥¤¥ë¤ò´Þ¤à¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
4229 tty ¥É¥é¥¤¥Ð¤È¥é¥¤¥óÀßÄê (line discipline) ¤Î½ñ¤«¤ì¤¿
4230 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤â´Þ¤Þ¤ì¤ë¡£
4231 .TP
4232 .I /proc/uptime
4233 .\"O This file contains two numbers: the uptime of the system (seconds),
4234 .\"O and the amount of time spent in idle process (seconds).
4235 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï
4236 ¥·¥¹¥Æ¥àµ¯Æ°»þ¤«¤é·Ð²á¤·¤¿»þ´Ö (ÉÃ) ¤È
4237 ¥¢¥¤¥É¥ë (idle) ¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤¬¾ÃÈñ¤·¤¿»þ´Ö (ÉÃ) ¤Î 2 ¤Ä¤Î¿ô¤ò´Þ¤à¡£
4238 .TP
4239 .I /proc/version
4240 .\"O This string identifies the kernel version that is currently running.
4241 .\"O It includes the contents of
4242 .\"O .IR /proc/sys/kernel/ostype ,
4243 .\"O .I /proc/sys/kernel/osrelease
4244 .\"O and
4245 .\"O .IR /proc/sys/kernel/version .
4246 .\"O For example:
4247 ¸½ºß²ÔƯ¤·¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¼±Ê̻ҤǤ¢¤ëʸ»úÎó¡£
4248 ¤³¤ì¤Ë¤Ï
4249 .IR /proc/sys/ostype ,
4250 .IR /proc/sys/osrelease ,
4251 .I /proc/sys/version
4252 ¤ÎÆâÍƤ¬´Þ¤Þ¤ì¤ë¡£
4253 ¤¿¤È¤¨¤Ð¤³¤Î¤è¤¦¤Ë:
4254 .nf
4255 .in -2
4256 .ft CW
4257 Linux version 1.0.9 (quinlan@phaze) #1 Sat May 14 01:51:54 EDT 1994
4258 .ft
4259 .in +2
4260 .fi
4261 .\" FIXME Document /proc/timer_list
4262 .\" .TP
4263 .\" .IR /proc/timer_list " (since Linux 2.6.21)"
4264 .\" See the 2.6.21 Change log
4265 .\" FIXME Document /proc/timer_stats
4266 .\" .TP
4267 .\" .IR /proc/timer_stats " (since Linux 2.6.21)"
4268 .\" See the 2.6.21 Change log
4269 .TP
4270 .\"O .IR /proc/vmstat " (since Linux 2.6)"
4271 .IR /proc/vmstat " (Linux 2.6 °Ê¹ß)"
4272 .\"O This file displays various virtual memory statistics.
4273 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï²¾ÁÛ¥á¥â¥ê¤ÎÍÍ¡¹¤ÊÅý·×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
4274 .TP
4275 .\"O .IR /proc/zoneinfo " (since Linux 2.6.13)"
4276 .IR /proc/zoneinfo " (Linux 2.6.13 °Ê¹ß)"
4277 .\"O This file display information about memory zones.
4278 .\"O This is useful for analyzing virtual memory behavior.
4279 .\"O .\" FIXME more should be said about /proc/zoneinfo
4280 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥á¥â¥ê¤Î¥¾¡¼¥ó (memory zone) ¤Ë´Ø¤¹¤ë¾ðÊó¤òɽ¼¨¤¹¤ë¡£
4281 ²¾ÁÛ¥á¥â¥ê¤Î¿¶Éñ¤¤¤òʬÀϤ¹¤ë¤Î¤ËÌòΩ¤Ä¡£
4282 .\" FIXME -- /proc/zoneinfo ¤Ë¤Ä¤¤¤Æ¤â¤Ã¤ÈÀâÌÀ¤¬É¬ÍפÀ
4283 .\"O .SH NOTES
4284 .SH Ãí°Õ
4285 .\"O Many strings (i.e., the environment and command line) are in
4286 .\"O the internal format, with subfields terminated by null bytes (\(aq\\0\(aq),
4287 .\"O so you
4288 .\"O may find that things are more readable if you use \fIod \-c\fP or \fItr
4289 .\"O "\\000" "\\n"\fP to read them.
4290 ¤Û¤È¤ó¤É¤Îʸ»úÎó (¤¿¤È¤¨¤Ð´Ä¶­ÊÑ¿ô¤ä¥³¥Þ¥ó¥É¹Ô) ¤ÏÆâÉôɽ¸½¤Î¤Þ¤Þ¤Ê¤Î¤Ç¡¢
4291 ³Æ¥Õ¥£¡¼¥ë¥É¤Ï NULL ¥Ð¥¤¥È (\(aq\\0\(aq) ¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤ë¡£
4292 ¤À¤«¤é¡¢\fIod \-c\fP ¤ä \fItr "\\000" "\\n"\fP ¤ò»È¤¨¤Ð¡¢
4293 ¤½¤ì¤é¤Ï¤è¤êÆɤߤ䤹¤¯¤Ê¤ë¡£
4294 .\"O Alternatively, \fIecho \`cat <file>\`\fP works well.
4295 ¤Þ¤¿ \fIecho \`cat <file>\`\fP ¤Ç¤â¤è¤¤¡£
4296
4297 .\"O This manual page is incomplete, possibly inaccurate, and is the kind
4298 .\"O of thing that needs to be updated very often.
4299 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤ÏÉÔ´°Á´¤Ç¤¢¤ê¡¢¤¿¤Ö¤óÉÔÀµ³Î¤Ç¡¢¤·¤Ð¤·¤Ð¹¹¿·¤µ¤ì¤ëɬÍפ¬¤¢¤ë¡£
4300 .\"O .\" .SH ACKNOWLEDGEMENTS
4301 .\" .SH ¼Õ¼­
4302 .\"O .\" The material on /proc/sys/fs and /proc/sys/kernel is closely based on
4303 .\"O .\" kernel source documentation files written by Rik van Riel.
4304 .\" /proc/sys/fs ¤È /proc/sys/kernel ¤Î»ñÎÁ¤Ï¡¢
4305 .\" Rik van Riel ¤¬½ñ¤¤¤¿¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î¥É¥­¥å¥á¥ó¥È¤Ë
4306 .\" Ì©Àܤ˴ð¤Å¤¤¤Æ¤¤¤ë¡£
4307 .\"O .SH SEE ALSO
4308 .SH ´ØÏ¢¹àÌÜ
4309 .BR cat (1),
4310 .BR dmesg (1),
4311 .BR find (1),
4312 .BR free (1),
4313 .BR ps (1),
4314 .BR tr (1),
4315 .BR uptime (1),
4316 .BR chroot (2),
4317 .BR mmap (2),
4318 .BR readlink (2),
4319 .BR syslog (2),
4320 .BR slabinfo (5),
4321 .BR hier (7),
4322 .BR time (7),
4323 .BR arp (8),
4324 .BR hdparm (8),
4325 .BR ifconfig (8),
4326 .BR init (8),
4327 .BR lsmod (8),
4328 .BR lspci (8),
4329 .BR mount (8),
4330 .BR netstat (8),
4331 .BR procinfo (8),
4332 .BR route (8)
4333 .br
4334 .\"O The kernel source files:
4335 ¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¥Õ¥¡¥¤¥ë:
4336 .IR Documentation/filesystems/proc.txt ,
4337 .IR Documentation/sysctl/vm.txt