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>
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.
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.
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.
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,
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
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
57 .\" FIXME cross check against Documentation/filesystems/proc.txt
58 .\" to see what information could be imported from that file
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
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 ¥³¥ó¥Æ¥¯¥¹¥È¡¦¥¹¥¤¥Ã¥Á
109 .TH PROC 5 2009-09-30 "Linux" "Linux Programmer's Manual"
112 .\"O proc \- process information pseudo-file system
113 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
122 .\"O Most of it is read-only, but some files allow kernel variables to be
125 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ïµ¼»÷Ū¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¢¤ê¡¢
126 ¥«¡¼¥Í¥ëÆâ¤Î¥Ç¡¼¥¿¤Ø¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤È¤·¤Æ»ÈÍѤµ¤ì¤ë¡£
130 ÂçÉôʬ¤Î¥Õ¥¡¥¤¥ë¤ÏÆɤ߽Ф·ÀìÍÑ (read-only) ¤Ç¤¢¤ë¤¬¡¢
131 ¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¤Ï½ñ¤¹þ¤ß²Äǽ¤Ç¤¢¤ê¡¢
132 ¤½¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤á¤Ð¥«¡¼¥Í¥ë¤ÎÆâÉôÊÑ¿ô¤òÊѹ¹¤Ç¤¤ë¡£
134 .\"O The following outline gives a quick tour through the
139 ³¬ÁؤδÊñ¤Ê¤¢¤é¤Þ¤·¤Ç¤¢¤ë¡£
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
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
174 .\" FIXME Describe /proc/[pid]/clear_refs
176 .\" "Clears page referenced bits shown in smaps output"
178 .\" CONFIG_PROC_PAGE_MONITOR
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) ¤¬°ì¤ÄÃÖ¤«¤ì¤ë¡£
198 .\"O .IR /proc/[pid]/coredump_filter " (since kernel 2.6.23)"
199 .IR /proc/[pid]/coredump_filter " (kernel 2.6.23 °Ê¹ß)"
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
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 ¼¡¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¡£
223 .RB "$" " cd /proc/20/cwd; /bin/pwd"
229 .\"O command is often a shell built-in, and might
230 .\"O not work properly.
234 .\"O .IR "pwd\ \-P" .
236 ¥³¥Þ¥ó¥É¤Ï¥·¥§¥ë¤ÎÆâÉô¥³¥Þ¥ó¥É¤Î¤³¤È¤¬¤è¤¯¤¢¤ê¡¢
237 ¤¦¤Þ¤¯Æ°ºî¤·¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
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 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
253 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
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 ¼¡¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¡£
269 .RB "$" " (cat /proc/1/environ; echo) | tr \(aq\e000\(aq \(aq\en\(aq"
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
285 ¤³¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÏÄ̾ï¤Î¤è¤¦¤Ëé¤ë¤³¤È¤¬¤Ç¤¤ë;
286 ¤³¤ì¤ò¥ª¡¼¥×¥ó¤¹¤ë¤È¼Â¹Ô²Äǽ¥Õ¥¡¥¤¥ë¤¬¥ª¡¼¥×¥ó¤µ¤ì¤ë¡£
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 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
301 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
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.
308 .\"O .BR readlink (2)
309 .\"O call on this file under Linux 2.0 returns a string in the format:
315 ¤Ï¼Â¹Ô¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¡¢¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î¤è¤¦¤Ë¸«¤¨¤ë¡£
316 Linux 2.0 °ÊÁ°¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ
320 [¥Ç¥Ð¥¤¥¹ÈÖ¹æ]:i¥Î¡¼¥ÉÈÖ¹æ
322 ¤È¤¤¤¦¥Õ¥©¡¼¥Þ¥Ã¥È¤Îʸ»úÎó¤¬Ê֤롣
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 ¤Ç¤¢¤ë¡£
333 .\"O option can be used to locate the file.
337 ¤ò»È¤¦¤È¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Î½êºß¤òõ¤¹¤³¤È¤¬¤Ç¤¤ë¡£
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 ¤Ïɸ½à¥¨¥é¡¼½ÐÎÏ¡¢¤Ê¤É¤È¤Ê¤ë¡£
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 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
359 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
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
370 .\"O is the flag designating an input file and
372 .\"O is the flag designating an output file:
373 ¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤¿ô¤È¤·¤Æ¥Õ¥¡¥¤¥ë̾¤ò¼õ¤±¼è¤ë¤¬¡¢°ú¤¿ô¤¬
374 ÅϤµ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ëɸ½àÆþÎϤ«¤éÆþÎϤò¼õ¤±¼è¤é¤Ê¤¤¤è¤¦¤Ê¥×¥í¥°¥é¥à¤ä¡¢
375 ¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤¿ô¤È¤·¤Æ½ñ¤¹þ¤ß¥Õ¥¡¥¤¥ë¤ò¼õ¤±¼è¤ë¤¬¡¢°ú¤¿ô¤¬
376 ÅϤµ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ëɸ½à½ÐÎϤ˽ÐÎϤò¹Ô¤ï¤Ê¤¤¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ç¤¢¤Ã¤Æ¤â¡¢
378 ¤ò»È¤¦¤³¤È¤Çɸ½àÆþÎϤäɸ½à½ÐÎϤò»ÈÍѤǤ¤ë¤è¤¦¤Ë¤Ê¤ë¡£
381 ¤òÆþÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¥Õ¥é¥°¡¢
383 ¤ò½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¥Õ¥é¥°¤È²¾Äꤹ¤ë¤È¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò
384 ¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¥Õ¥£¥ë¥¿¤È¤·¤ÆÆ°ºî¤µ¤»¤ë¤³¤È¤¬¤Ç¤¤ë¡£
388 .RB "$" " foobar \-i /proc/self/fd/0 \-o /proc/self/fd/1 ..."
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 .\" ¤³¤ÎÊýË¡¤Ï¥Õ¥¡¥¤¥ë¤ò¥·¡¼¥¯¤¹¤ë¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ç¤Ï¤¦¤Þ¤¯Æ¯¤«¤Ê¤¤¡£
402 .\"O .I /proc/self/fd/N
403 .\"O is approximately the same as
405 .\"O in some Unix and Unix-like systems.
406 .\"O Most Linux MAKEDEV scripts symbolically link
409 .\"O .IR /proc/self/fd ,
412 ¤Ï¡¢¤¢¤ë¼ï¤Î Unix ¤ä Unix É÷¤Î¥·¥¹¥Æ¥à¤Ë¤¢¤ë
414 ¤È¤À¤¤¤¿¤¤Æ±¤¸¤Ç¤¢¤ë¡£
415 »ö¼Â Linux ¤Î¤¿¤¤¤Æ¤¤¤Î MAKEDEV ¥¹¥¯¥ê¥×¥È¤Ï¡¢
419 ¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ë¤·¤Æ¤¤¤ë¡£
421 .\"O Most systems provide symbolic links
422 .\"O .IR /dev/stdin ,
423 .\"O .IR /dev/stdout ,
425 .\"O .IR /dev/stderr ,
426 .\"O which respectively link to the files
432 .\"O .IR /proc/self/fd .
433 ¤Û¤È¤ó¤É¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯
437 ¤¬Ä󶡤µ¤ì¤Æ¤ª¤ê¡¢¤½¤ì¤¾¤ì
444 .\"O Thus the example command above could be written as:
445 ¤·¤¿¤¬¤Ã¤Æ¡¢¾å½Ò¤Î¥µ¥ó¥×¥ë¥³¥Þ¥ó¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤â½ñ¤¯¤³¤È¤¬¤Ç¤¤ë¡£
449 .RB "$" " foobar \-i /dev/stdin \-o /dev/stdout ..."
452 .\" FIXME Describe /proc/[pid]/loginuid
453 .\" Added in 2.6.11; updating requires CAP_AUDIT_CONTROL
454 .\" CONFIG_AUDITSYSCALL
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 ¾ðÊó¤òÆÀ¤ë¤³¤È¤¬¤Ç¤¤ë¡£°Ê²¼¤ËÎã¤ò¼¨¤¹¡£
469 .RB "$" " cat /proc/12015/fdinfo/4"
477 .\"O field is a decimal number showing the current file offset.
480 .\"O field is an octal number that displays the
481 .\"O file access mode and file status flags (see
484 ¥Õ¥£¡¼¥ë¥É¤Ï 10 ¿Ê¿ô¤Ç¡¢¸½ºß¤Î¥Õ¥¡¥¤¥ë¥ª¥Õ¥»¥Ã¥È¤ò¼¨¤¹¡£
486 ¥Õ¥£¡¼¥ë¥É¤Ï 8 ¿Ê¿ô¤Ç¡¢
487 ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹¥â¡¼¥É¤È¥Õ¥¡¥¤¥ë¾õÂ֥ե饰¤ò¼¨¤¹
491 .\"O The files in this directory are readable only by the owner of the process.
492 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î½êͼԤÀ¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤¤ë¡£
493 .\" FIXME document /proc/[pid]/io
495 .\" .IR /proc/[pid]/io " (since kernel 2.6.20)"
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 ¥½¥Õ¥È¡¦¥ê¥ß¥Ã¥È¡¢¥Ï¡¼¥É¡¦¥ê¥ß¥Ã¥È¡¢·×–°Ì¤òɽ¼¨¤¹¤ë
507 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î¼Â UID ¤ò»ý¤Ä¤â¤Î¤À¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤¤ë¡£
510 .\"O A file containing the currently mapped memory regions and their access
512 ¸½ºß¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ë¥á¥â¥êÎΰè¤È¤½¤Î¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò´Þ¤à¡£
515 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
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
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" ¤Ï¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Î¥»¥Ã¥È¤Ç¤¢¤ë¡£
543 p = private (copy on write)
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 ¥Î¡¼¥É¤â³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤ë¡£
557 .\"O Under Linux 2.0 there is no field giving pathname.
558 Linux 2.0 ¤Ç¤Ï¥Ñ¥¹Ì¾¤ò½ñ¤¤¤¿¥Õ¥£¡¼¥ë¥É¤¬¤Ê¤¤¡£
561 .\"O This file can be used to access the pages of a process's memory through
570 ¤òÄ̤·¤Æ¡¢¥×¥í¥»¥¹¤Î¥á¥â¥ê¤Î¥Ú¡¼¥¸¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
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 °Ê²¼¤Î¤è¤¦¤Ê·Á¼°¤Î¹Ô¤«¤é¹½À®¤µ¤ì¤ë¡£
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)
587 .\"O The numbers in parentheses are labels for the descriptions below:
588 ³ç¸ÌÉÕ¤¤Î¿ô»ú¤Ï¡¢°Ê²¼¤ÎÀâÌÀ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ë¡£
592 .\"O mount ID: unique identifier of the mount (may be reused after
593 .\"O .BR umount (2)).
594 ¥Þ¥¦¥ó¥È ID: ¥Þ¥¦¥ó¥È¤Î°ì°Õ¤Ê¼±ÊÌ»Ò
596 ¤Î¸å¤ÏºÆÍøÍѤµ¤ì¤ë¤«¤â¤·¤ì¤Ê¤¤)¡£
599 .\"O parent ID: ID of parent mount (or of self for the top of the mount tree).
600 parent ID: ¿Æ¥Þ¥¦¥ó¥È¤Î ID
601 (¥Þ¥¦¥ó¥È¥Ä¥ê¡¼¤ÎºÇ¾å°Ì¤Î¾ì¹ç¤Ï¼«Ê¬¼«¿È¤Î ID ¤È¤Ê¤ë)¡£
604 .\"O major:minor: value of
606 .\"O for files on file system (see
608 major:minor: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Î¥Õ¥¡¥¤¥ë¤Î
615 .\"O root: root of the mount within the file system.
616 ¥ë¡¼¥È: ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àÆâ¤Î¥Þ¥¦¥ó¥È¤Î¥ë¡¼¥È¡£
619 .\"O mount point: mount point relative to the process's root.
620 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È: ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¤½¤Î¥×¥í¥»¥¹¤Î¥ë¡¼¥È¤«¤é¤ÎÁêÂХѥ¹¡£
623 .\"O mount options: per-mount options.
624 ¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó: ³Æ¥Þ¥¦¥ó¥È¤Î¥ª¥×¥·¥ç¥ó¡£
627 .\"O optional fields: zero or more fields of the form "tag[:value]".
628 ¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É: "tag[:value]" ·Á¼°¤Î¥Õ¥£¡¼¥ë¥É¤¬ 0 ¸Ä°Ê¾åʤ֡£
631 .\"O separator: marks the end of the optional fields.
632 ¥»¥Ñ¥ì¡¼¥¿: ¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤Î½ª¤ï¤ê¤ò¼¨¤¹¡£
635 .\"O file system type: name of file system in the form "type[.subtype]".
636 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¼ïÊÌ: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î̾Á°¡£
637 "type[.subtype]" ¤È¤¤¤¦·Á¼°¤È¤Ê¤ë¡£
640 .\"O mount source: file system-specific information or "none".
641 ¥Þ¥¦¥ó¥È¸µ: ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¸ÇͤξðÊ󡣤ʤ¤¾ì¹ç¤Ï "none" ¤È¤Ê¤ë¡£
644 .\"O super options: per-super block options.
645 super options: ¥¹¡¼¥Ñ¡¼¥Ö¥í¥Ã¥¯Ã±°Ì¤Î¥ª¥×¥·¥ç¥ó¡£
648 .\"O Parsers should ignore all unrecognized optional fields.
649 .\"O Currently the possible optional fields are:
650 ²ò¼á¤¹¤ë¦¤Ïǧ¼±¤Ç¤¤Ê¤¤¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤ÏÁ´¤Æ̵»ë¤¹¤Ù¤¤Ç¤¢¤ë¡£
651 ¸½ºß¤Î¤È¤³¤í¡¢¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤È¤·¤Æ¤Ï°Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ë¡£
655 .\"O mount is shared in peer group X
656 ¥Þ¥¦¥ó¥È¤Ï¥Ô¥¢¥°¥ë¡¼¥× (peer group) X ¤Ç¶¦Í¤µ¤ì¤Æ¤¤¤ë¡£
659 .\"O mount is slave to peer group X
660 ¥Þ¥¦¥ó¥È¤Ï¥Ô¥¢¥°¥ë¡¼¥× (peer group) X ¤Î¥¹¥ì¡¼¥Ö¤Ç¤¢¤ë¡£
663 .\"O mount is slave and receives propagation from peer group X (*)
664 ¥Þ¥¦¥ó¥È¤Ï¥¹¥ì¡¼¥Ö¤Ç¤¢¤ê¡¢¥Ô¥¢¥°¥ë¡¼¥× X (*) ¤«¤é
665 mount propagation ¤ò¼õ¿®¤¹¤ë¡£
668 .\"O mount is unbindable
669 ¥Þ¥¦¥ó¥È¤Ï unbind ¤Ç¤¤Ê¤¤¡£
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" ¥Õ¥£¡¼¥ë¥É¤Ï¸ºß¤·¤Ê¤¤¡£
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
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
696 ¤½¤Î¥×¥í¥»¥¹¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤Ë¸½ºß¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë
697 Á´¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ê¥¹¥È¡£
698 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
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
705 .\"O to mark the file descriptor as readable, and
708 .\"O .BR epoll_wait (2)
709 .\"O mark the file as having an error condition.
710 ¥«¡¼¥Í¥ë 2.6.15 °Ê¹ß¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò´Æ»ë¤¹¤ë¤³¤È¤¬¤Ç¤¤ë (pollable)¡£
711 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф·ÍѤ˥ª¡¼¥×¥ó¤·¤¿¸å¤Ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ËÊѹ¹¤¬¤¢¤ë¤È
712 (¤Ä¤Þ¤ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Þ¥¦¥ó¥È¤ä¥¢¥ó¥Þ¥¦¥ó¥È¤¬¤¢¤ë¤È)¡¢
714 ¤Ç¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ÏÆɤ߽Ф·²Äǽ¤È¤Ê¤ê¡¢
718 ¤Ç¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤Ï¥¨¥é¡¼¾õÂ֤Ȥ·¤ÆÄÌÃΤµ¤ì¤ë¡£
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 ¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Ï°Ê²¼¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë¡£
730 device /dev/sda7 mounted on /home with fstype ext3 [statistics]
734 .\"O The fields in each line are:
735 ³Æ¹Ô¤Î¥Õ¥£¡¼¥ë¥É¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
739 .\"O The name of the mounted device
740 .\"O (or "nodevice" if there is no corresponding device).
741 ¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Ç¥Ð¥¤¥¹Ì¾
742 (Âбþ¤¹¤ë¥Ç¥Ð¥¤¥¹¤¬¤Ê¤¤¾ì¹ç¤Ï "nodevice" ¤È¤Ê¤ë)¡£
745 .\"O The mount point within the file system tree.
746 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥Ä¥ê¡¼¤Ë¤ª¤±¤ë¥Ñ¥¹Ì¾¡£
749 .\"O The file system type.
750 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¼ïÊÌ¡£
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 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤À¤±¤Ç¤¢¤ë¡£
761 .\"O This file is only readable by the owner of the process.
762 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥×¥í¥»¥¹¤Î½êͼԤÀ¤±¤¬Æɤ߽Ф¹¤³¤È¤¬¤Ç¤¤ë¡£
764 .\"O .IR /proc/[pid]/numa_maps " (since Linux 2.6.14)"
765 .IR /proc/[pid]/numa_maps " (Linux 2.6.14 °Ê¹ß)"
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
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 ¥«¡¼¥Í¥ë¤Ï¡¢¥×¥í¥»¥¹¤Î
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
799 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 0 ¤Ç¤¢¤ë¡£
800 ¿·¤·¤¤¥×¥í¥»¥¹¤Ï¿Æ¥×¥í¥»¥¹¤Î
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 ¤ò»ý¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
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
829 .\"O whether the process creates a lot of children using
832 ¤½¤Î¥×¥í¥»¥¹¤¬Â¿¤¯¤Î»Ò¥×¥í¥»¥¹¤ò
834 ¤ò»È¤Ã¤ÆºîÀ®¤·¤Æ¤¤¤ë¤« (+)¡£
836 .\"O whether the process has been running a long time,
837 .\"O or has used a lot of CPU time (\-);
838 ¤½¤Î¥×¥í¥»¥¹¤¬Ä¹»þ´Ö¼Â¹Ô¤µ¤ì¤ÆÍ褿¤«¡¢¤â¤·¤¯¤Ï
839 ¿¤¯¤Î CPU »þ´Ö¤ò»ÈÍѤ·¤Æ¤¤¤ë¤« (\-)¡£
841 .\"O whether the process has a low nice value (i.e., > 0) (+);
842 ¤½¤Î¥×¥í¥»¥¹¤¬Ä㤤 nice ÃÍ (> 0) ¤ò»ý¤Ã¤Æ¤¤¤ë¤« (+)¡£
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 ¤ò»ý¤Ã¤Æ¤¤¤ë¤«¡£
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 ¤ò»ý¤Ã¤Æ¤¤¤ë¤«¡£
857 .\"O also reflects the bit-shift adjustment specified by the
859 .\"O setting for the process.
863 ÀßÄê¤Çµ¬Äꤵ¤ì¤ë¥Ó¥Ã¥È¥·¥Õ¥ÈÄ´À°¤Ë¤â±Æ¶Á¤òÍ¿¤¨¤ë¡£
864 .\" FIXME Describe /proc/[pid]/pagemap
866 .\" CONFIG_PROC_PAGE_MONITOR
869 .\"O Unix and Linux support the idea of a per-process root of the
870 .\"O file system, set by the
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.
876 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È (/) ¤ò¥×¥í¥»¥¹¤´¤È¤ËÊÌ¡¹¤Ë¤Ç¤¤ë¡£
880 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥×¥í¥»¥¹¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò»Ø¤¹¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç¡¢
881 exe ¤ä fd/* ¤Ê¤É¤ÈƱ¤¸¤è¤¦¤ÊÆ°ºî¤ò¤¹¤ë¡£
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 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
893 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
894 .\" FIXME Describe /proc/[pid]/seccomp
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
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
907 .\" CONFIG_SCHEDSTATS
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 ¥Þ¥Ã¥Ô¥ó¥°¤Î¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ¡¢°Ê²¼¤Î¤è¤¦¤ÊÆâÍƤ¬É½¼¨¤µ¤ì¤ë¡£
919 08048000-080bc000 r-xp 00000000 03:02 13130 /bin/bash
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.
938 ¤Çɽ¼¨¤µ¤ì¤ë¥Þ¥Ã¥Ô¥ó¥°¤ÈƱ¤¸¾ðÊó¤¬É½¼¨¤µ¤ì¤ë¡£
939 »Ä¤ê¤Î¹Ô¤Ë¤Ï¡¢¥Þ¥Ã¥Ô¥ó¥°¤Î¥µ¥¤¥º¡¢¸½ºß RAM ¾å¤Ë¸ºß¤¹¤ë¥Þ¥Ã¥Ô¥ó¥°¤ÎÎÌ¡¢
940 ¥Þ¥Ã¥Ô¥ó¥°Æâ¤Î¶¦Í¥Ú¡¼¥¸¤Î¤¦¤Á¥¯¥ê¡¼¥ó¤Ê¥Ú¡¼¥¸¿ô¡¢¥À¡¼¥Æ¥£¤Ê¥Ú¡¼¥¸¿ô¡¢
941 ¥Þ¥Ã¥Ô¥ó¥°Æâ¤Î¥×¥é¥¤¥Ù¡¼¥È¥Ú¡¼¥¸¤Î¤¦¤Á¥¯¥ê¡¼¥ó¤Ê¥Ú¡¼¥¸¿ô¡¢
942 ¥À¡¼¥Æ¥£¤Ê¥Ú¡¼¥¸¿ô¡¢¤ò¼¨¤¹¡£
944 .\"O This file is only present if the
946 .\"O kernel configuration
947 .\"O option is enabled.
948 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤Î¤Ï¡¢¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥®¥å¥ì¡¼¥·¥ç¥ó¡¦¥ª¥×¥·¥ç¥ó
950 ¤ò͸ú¤Ë¤·¤¿¾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
953 .\"O Status information about the process.
956 .\"O It is defined in
957 .\"O .IR /usr/src/linux/fs/proc/array.c "."
958 ¥×¥í¥»¥¹¤Î¾õÂ֤ˤĤ¤¤Æ¤Î¾ðÊó¡£
962 .I /usr/src/linux/fs/proc/array.c
965 .\"O The fields, in order, with their proper
967 .\"O format specifiers, are:
968 ³Æ¥Õ¥£¡¼¥ë¥É¤ò½çÈ֤ˡ¢
970 ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È»ØÄê»ÒÉÕ¤¤Ç°Ê²¼¤Ë¼¨¤¹¡£
978 .\"O The filename of the executable, in parentheses.
979 .\"O This is visible whether or not the executable is swapped out.
980 ³ç¸Ì¤Ç¤¯¤¯¤é¤ì¤¿¼Â¹Ô·Á¼°¤Î¥Õ¥¡¥¤¥ë̾¡£
981 ¼Â¹Ô·Á¼°¤¬¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë¤è¤é¤º¡¢¸«¤ë¤³¤È¤¬¤Ç¤¤ë¡£
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) ¤òɽ¤·¤Æ¤¤¤ë¡£
999 .\"O The PID of the parent.
1003 .\"O The process group ID of the process.
1004 ¥×¥í¥»¥¹¤Î¥×¥í¥»¥¹¥°¥ë¡¼¥× ID¡£
1007 .\"O The session ID of the process.
1008 ¥×¥í¥»¥¹¤Î¥»¥Ã¥·¥ç¥ó ID¡£
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.)
1016 (¥Þ¥¤¥Ê¡¼¡¦¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¥Ó¥Ã¥È 31¡Á20 ¤È 7¡Á0 ¤Ë¤Þ¤¿¤¬¤Ã¤Æ³ÊǼ¤µ¤ì¡¢
1017 ¥á¥¸¥ã¡¼¡¦¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¥Ó¥Ã¥È 15¡Á8 ¤Ë³ÊǼ¤µ¤ì¤ë)¡£
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¡£
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 ¥×¥í¥»¥¹¤Î¥«¡¼¥Í¥ë¥Õ¥é¥°¥ï¡¼¥É¡£
1036 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë PF_* ¤ò»²¾È¤¹¤ë¤³¤È¡£
1037 ¾ÜºÙ¤Ï¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë°Í¸¤¹¤ë¡£
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 ¥á¥â¥ê¥Ú¡¼¥¸¤Ø¤Î¥í¡¼¥É¤òɬÍפȤ·¤Ê¤¤¥Õ¥©¡¼¥ë¥È) ¤Î²ó¿ô¡£
1047 .\"O The number of minor faults that the process's
1048 .\"O waited-for children have made.
1049 (¤½¤Î¥×¥í¥»¥¹¤¬½ªÎ»¤òÂԤäƤ¤¤ë)
1050 »Ò¥×¥í¥»¥¹¤¬°ú¤µ¯¤³¤·¤¿¥Þ¥¤¥Ê¡¼¥Õ¥©¡¼¥ë¥È¤Î²ó¿ô¡£
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 ¥á¥â¥ê¥Ú¡¼¥¸¤Ø¤Î¥í¡¼¥É¤òɬÍפȤ¹¤ë¥Õ¥©¡¼¥ë¥È) ¤Î²ó¿ô¡£
1059 .\"O The number of major faults that the process's
1060 .\"O waited-for children have made.
1061 (¤½¤Î¥×¥í¥»¥¹¤¬½ªÎ»¤òÂԤäƤ¤¤ë)
1062 »Ò¥×¥í¥»¥¹¤¬°ú¤µ¯¤³¤·¤¿¥á¥¸¥ã¡¼¥Õ¥©¡¼¥ë¥È¤Î²ó¿ô¡£
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 ¤Ë¤ª¤¤¤Æ¡¢¥²¥¹¥È»þ´Öʬ¤ò·×»»¤ËÆþ¤ì»¤Í¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ç¤¢¤ë¡£
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 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
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) .
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 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1107 ¤³¤ÎÃͤˤϥ²¥¹¥È»þ´Ö \fIcguest_time\fP
1108 (²¾ÁÛ CPU ¤ò¼Â¹Ô¤¹¤ë¤Î¤Ë¾ÃÈñ¤·¤¿»þ´Ö¡¢²¼µ»²¾È) ¤â´Þ¤Þ¤ì¤ë¡£
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 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1123 .\"O (Explanation for Linux 2.6)
1124 (Linux 2.6 ¤Î¾ì¹ç¤ÎÀâÌÀ)
1125 .\"O For processes running a real-time scheduling policy
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 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¥Ý¥ê¥·¡¼
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))
1151 ¥«¡¼¥Í¥ë¤Ï nice Ãͤò 0 (¹â) ¤«¤é 39 (Äã) ¤ÎÈϰϤÎÃͤȤ·¤ÆÊÝ»ý¤·¤Æ¤ª¤ê¡¢
1152 ¤½¤ì¤¾¤ì¥æ¡¼¥¶¤Ë¸«¤¨¤ë nice ÃͤΠ\-20 ¤«¤é 19 ¤ËÂбþ¤¹¤ë¡£
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.
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).
1165 .RB ( setpriority (2)
1167 19 (ºÇÄãÍ¥Àè) ¤«¤é \-20 (ºÇ¹âÍ¥Àè) ¤ÎÈϰϤÎÃͤǤ¢¤ë¡£
1168 .\" Back in kernel 1.2 days things were different.
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 .\" ¤Þ¤¿¤Ï¸½ºß¤Î¥¿¥¤¥à¥¹¥é¥¤¥¹¤Ë¤ª¤±¤ë»Ä¤ê»þ´Ö¤òɽ¤¹¡£
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 ¤Ë¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤Æ¤¤¤¿¡£
1192 \fIitrealvalue\fP %ld
1193 .\"O The time in jiffies before the next
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 ¥¤¥ó¥¿¡¼¥Ð¥ë¥¿¥¤¥Þ¤Ë¤è¤Ã¤Æ¡¢¼¡¤Ë
1200 ¤¬¥×¥í¥»¥¹¤ØÁ÷¤é¤ì¤ë¤Þ¤Ç¤Î»þ´Ö (ñ°Ì jiffies)¡£
1201 ¥«¡¼¥Í¥ë 2.6.17 °Ê¹ß¤Ç¤Ï¡¢¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Ê¤¯¤Ê¤ê¡¢
1202 0 ¤Ë¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤Æ¤¤¤ë¡£
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)¡£
1210 .\"O Virtual memory size in bytes.
1211 ²¾ÁÛ¥á¥â¥ê¤Î¥µ¥¤¥º¡£Ã±°Ì¤Ï¥Ð¥¤¥È¡£
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 ¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¿ô¤Ï´Þ¤ó¤Ç¤¤¤Ê¤¤¡£
1225 .\"O Current soft limit in bytes on the rss of the process;
1226 .\"O see the description of
1229 .\"O .BR getpriority (2).
1230 ¤³¤Î¥×¥í¥»¥¹¤Î rss ¤Î¸½ºß¤Î¥½¥Õ¥È¡¦¥ê¥ß¥Ã¥È (¥Ð¥¤¥Èñ°Ì)¡£
1237 .\"O The address above which program text can run.
1238 ¥×¥í¥°¥é¥à¥Æ¥¥¹¥È¤¬¼Â¹Ô²Äǽ¤Ç¤¢¤ë¤è¤¦¤ÊÎΰè¤ÎÀèƬ¥¢¥É¥ì¥¹¡£
1241 .\"O The address below which program text can run.
1242 ¥×¥í¥°¥é¥à¥Æ¥¥¹¥È¤¬¼Â¹Ô²Äǽ¤Ç¤¢¤ë¤è¤¦¤ÊÎΰè¤ÎËöÈø¥¢¥É¥ì¥¹¡£
1244 \fIstartstack\fP %lu
1245 .\"O The address of the start (i.e., bottom) of the stack.
1246 ¥¹¥¿¥Ã¥¯¤Î³«»Ï¥¢¥É¥ì¥¹ (¤¹¤Ê¤ï¤Á¡¢¥¹¥¿¥Ã¥¯¤ÎÄì)¡£
1249 .\"O The current value of ESP (stack pointer), as found in the
1250 .\"O kernel stack page for the process.
1251 ¸½ºß¤Î ESP (¥¹¥¿¥Ã¥¯¥Ý¥¤¥ó¥¿) ¤ÎÃÍ¡£
1252 ¥×¥í¥»¥¹¤Î¥«¡¼¥Í¥ë¥¹¥¿¥Ã¥¯¥Ú¡¼¥¸¤Ë¤¢¤ë¡£
1255 .\"O The current EIP (instruction pointer).
1256 ¸½ºß¤Î EIP (¥¤¥ó¥¹¥È¥é¥¯¥·¥ç¥ó¥Ý¥¤¥ó¥¿) ¤ÎÃÍ¡£
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
1264 ½èÍýÂÔ¤Á¤Î¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1265 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1266 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1267 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1269 .I /proc/[pid]/status
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
1277 ¥Ö¥í¥Ã¥¯¤µ¤ì¤¿ (blocked) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1278 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1279 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1280 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1282 .I /proc/[pid]/status
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
1290 ̵»ë¤µ¤ì¤¿ (ignored) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1291 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1292 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1293 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1295 .I /proc/[pid]/status
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
1303 Ê᪤µ¤ì¤¿ (caught) ¥·¥°¥Ê¥ë¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×¡£
1304 10 ¿Ê¿ô¤Çɽ¼¨¤µ¤ì¤ë¡£
1305 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
1306 ¥ê¥¢¥ë¥¿¥¤¥à¡¦¥·¥°¥Ê¥ë¤Ë´Ø¤¹¤ë¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
1308 .I /proc/[pid]/status
1312 .\"O This is the "channel" in which the process is waiting.
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 ,
1319 .\"O try \fIps \-l\fP to see the WCHAN field in action.)
1320 ¥×¥í¥»¥¹¤¬ÂԤäƤ¤¤ë¡Ö¥Á¥ã¥Í¥ë¡×¡£
1321 ¤³¤ì¤Ï¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î¥¢¥É¥ì¥¹¤Ç¤¢¤ê¡¢Ê¸»ú̾¤¬É¬Íפʤé¤Ð
1322 (¥¢¥É¥ì¥¹¤È¥·¥¹¥Æ¥à¥³¡¼¥ë̾¤È¤Î) Âбþɽ¤«¤é¸«¤Ä¤±¤é¤ì¤ë
1325 [ÌõÃí: ¤³¤Î¥Õ¥¡¥¤¥ë̾¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Ë¤è¤ë] ¤ò¹¹¿·¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢
1326 \fIps \-l\fP ¤·¤Æ WCHAN ¥Õ¥£¡¼¥ë¥É¤ò¸«¤è)¡£
1329 .\" nswap was added in 2.0
1330 .\"O Number of pages swapped (not maintained).
1331 ¥¹¥ï¥Ã¥×¤µ¤ì¤¿¥Ú¡¼¥¸¿ô (¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤)¡£
1334 .\" cnswap was added in 2.0
1335 .\"O Cumulative \fInswap\fP for child processes (not maintained).
1336 »Ò¥×¥í¥»¥¹¤Î \fInswap\fP ¤ÎÎß·× (¥á¥ó¥Æ¥Ê¥ó¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤)¡£
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 ¥×¥í¥»¥¹¤¬»à¤ó¤À¤È¤¤Ë¿Æ¥×¥í¥»¥¹¤ËÁ÷¤é¤ì¤ë¥·¥°¥Ê¥ë¡£
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 ¤ÎÈֹ档
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)
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)
1373 ¤Î SCHED_* Äê¿ô¤ò»È¤Ã¤Æ¥Ç¥³¡¼¥É¤¹¤ì¤Ð¤è¤¤¡£
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 ¤ÎÁíÃÙ±äÎÌ¡£
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 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
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 ¤Ç³ä¤Ã¤¿Ãͤ¬É½¼¨¤µ¤ì¤ë)¡£
1400 .I /proc/[pid]/statm
1401 .\"O Provides information about memory usage, measured in pages.
1402 (¥Ú¡¼¥¸Ã±°Ì¤Ç·×¬¤·¤¿) ¥á¥â¥ê»ÈÍÑÎ̤ˤĤ¤¤Æ¤Î¾ðÊó¤òÄ󶡤¹¤ë¡£
1403 .\"O The columns are:
1404 ³ÆÎó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
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 ¤Ç¤Ï̤»ÈÍÑ)
1433 .I /proc/[pid]/status
1434 .\"O Provides much of the information in
1435 .\"O .I /proc/[pid]/stat
1437 .\"O .I /proc/[pid]/statm
1438 .\"O in a format that's easier for humans to parse.
1441 .I /proc/[pid]/statm
1442 ¤Ë¤¢¤ë¿¤¯¤Î¾ðÊó¤ò¡¢¿Í´Ö¤¬²òÀϤ·¤ä¤¹¤¤·Á¼°¤ÇÄ󶡤¹¤ë¡£
1443 .\"O Here's an example:
1448 .RB "$" " cat /proc/$$/status"
1455 Uid: 1000 1000 1000 1000
1456 Gid: 100 100 100 100
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
1483 Mems_allowed_list: 0
1484 voluntary_ctxt_switches: 150
1485 nonvoluntary_ctxt_switches: 545
1489 .\"O The fields are as follows:
1490 ¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
1494 .\"O Command run by this process.
1495 ¤³¤Î¥×¥í¥»¥¹¤Ë¤è¤ê¼Â¹Ô¤µ¤ì¤¿¥³¥Þ¥ó¥É¡£
1498 .\"O Current state of the process. One of
1500 .\"O "S (sleeping)",
1501 .\"O "D (disk sleep)",
1503 .\"O "T (tracing stop)",
1507 ¥×¥í¥»¥¹¤Î¸½ºß¤Î¾õÂÖ¡£
1508 "R (running; ¼Â¹ÔÃæ)",
1509 "S (sleeping; µÙ̲¾õÂÖ)",
1510 "D (disk sleep; ¥Ç¥£¥¹¥¯ÂÔ¤Á¤ÎµÙ̲¾õÂÖ)",
1511 "T (stopped; Ää»ß¾õÂÖ)",
1512 "T (tracing stop; ¥È¥ì¡¼¥¹¤Ë¤è¤ëÄä»ß)",
1513 "Z (zombie; ¥¾¥ó¥Ó¾õÂÖ)",
1518 .\"O Thread group ID (i.e., Process ID).
1519 ¥¹¥ì¥Ã¥É¥°¥ë¡¼¥× ID (¤¹¤Ê¤ï¤Á¡¢¥×¥í¥»¥¹ ID)¡£
1523 .\"O .BR gettid (2)).
1529 .\"O PID of process tracing this process (0 if not being traced).
1530 ¤³¤Î¥×¥í¥»¥¹¤ò¥È¥ì¡¼¥¹¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤Î PID
1531 (¥È¥ì¡¼¥¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï 0)¡£
1534 .\"O Real, effective, saved set, and file system UIDs (GIDs).
1535 ¼Â UID/GID¡¢¼Â¸ú UID/GID¡¢Êݸ set-UID/GID¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à UID/GID¡£
1538 .\"O Number of file descriptor slots currently allocated.
1539 ¸½ºß³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Î¥¹¥í¥Ã¥È¿ô¡£
1542 .\"O Supplementary group list.
1543 Êä½õ¥°¥ë¡¼¥×¤Î¥ê¥¹¥È¡£
1546 .\"O Peak virtual memory size.
1547 ²¾ÁÛ¥á¥â¥ê¥µ¥¤¥º¤Î¥Ô¡¼¥¯ÃÍ¡£
1550 .\"O Virtual memory size.
1554 .\"O Locked memory size.
1555 ¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¥á¥â¥ê¥µ¥¤¥º¡£
1558 .\"O Peak resident set size ("high water mark").
1559 ¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º (resident set size)
1560 ¤Î¥Ô¡¼¥¯ÃÍ ("high water mark")¡£
1563 .\"O Resident set size.
1564 ¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º¡£
1566 .IR VmData ", " VmStk ", " VmExe :
1567 .\"O Size of data, stack, and text segments.
1568 ¥Ç¡¼¥¿¡¢¥¹¥¿¥Ã¥¯¡¢¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È¤Î¥µ¥¤¥º¡£
1571 .\"O Shared library code size.
1572 ¶¦Í¥é¥¤¥Ö¥é¥ê¡¦¥³¡¼¥É¤Î¥µ¥¤¥º¡£
1575 .\"O Page table entries size (since Linux 2.6.10).
1576 ¥Ú¡¼¥¸¡¦¥Æ¡¼¥Ö¥ë¡¦¥¨¥ó¥È¥ê¤Î¥µ¥¤¥º (Linux 2.6.10 °Ê¹ß)¡£
1579 .\"O Number of threads in process containing this thread.
1580 ¤³¤Î¥¹¥ì¥Ã¥É¤¬Â°¤¹¤ë¥×¥í¥»¥¹¤Î¥¹¥ì¥Ã¥É¿ô¡£
1582 .IR SigPnd ", " ShdPnd :
1583 .\"O Number of signals pending for thread and for process as a whole (see
1584 .\"O .BR pthreads (7)
1586 .\"O .BR signal (7)).
1587 ¥¹¥ì¥Ã¥É°¸¤ª¤è¤Ó¥×¥í¥»¥¹Á´Âΰ¸¤Î½èÍýÂÔ¤Á¥·¥°¥Ê¥ë¤Î¿ô
1592 .IR SigBlk ", " SigIgn ", " SigCgt :
1593 .\"O Masks indicating signals being blocked, ignored, and caught (see
1594 .\"O .BR signal (7)).
1595 ¥Ö¥í¥Ã¥¯¤µ¤ì¤ë¥·¥°¥Ê¥ë¡¢Ìµ»ë¤µ¤ì¤ë¥·¥°¥Ê¥ë¡¢ÊáªÂÔ¤Á¤Î¥·¥°¥Ê¥ë¤ò
1599 .IR CapInh ", " CapPrm ", " CapEff :
1600 .\"O Masks of capabilities enabled in inheritable, permitted, and effective sets
1602 .\"O .BR capabilities (7)).
1603 ·Ñ¾µ²Äǽ (inheritable)¡¢µö²Ä (permitted)¡¢¼Â¸ú (effective)
1604 ¤Î³Æ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥»¥Ã¥È¤Ç͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤Î¥Þ¥¹¥¯ÃÍ
1605 .RB ( capabilities (7)
1609 .\"O Capability Bounding set
1610 .\"O (since kernel 2.6.26, see
1611 .\"O .BR capabilities (7)).
1612 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¡¦¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È
1613 (¥«¡¼¥Í¥ë 2.6.26 °Ê¹ß¡¢
1614 .BR capabilities (7)
1618 .\"O Mask of CPUs on which this process may run
1619 .\"O (since Linux 2.6.24, see
1620 .\"O .BR cpuset (7)).
1621 ¤³¤Î¥×¥í¥»¥¹¤¬¼Â¹Ô¤òµö²Ä¤µ¤ì¤Æ¤¤¤ë CPU ¤Î¥Þ¥¹¥¯ÃÍ
1622 (Linux 2.6.24 °Ê¹ß¡¢
1626 .IR Cpus_allowed_list :
1627 .\"O Same as previous, but in "list format"
1628 .\"O (since Linux 2.6.26, see
1629 .\"O .BR cpuset (7)).
1630 Á°¹à¤ÈƱ¤¸¤À¤¬¡¢¡Ö¥ê¥¹¥È·Á¼°¡×¤Ç¤Îɽ¼¨
1631 (Linux 2.6.26 °Ê¹ß¡¢
1636 .\"O Mask of memory nodes allowed to this process
1637 .\"O (since Linux 2.6.24, see
1638 .\"O .BR cpuset (7)).
1639 ¤³¤Î¥×¥í¥»¥¹¤¬»ÈÍѤǤ¤ë¥á¥â¥ê¥Î¡¼¥É¤Î¥Þ¥¹¥¯ÃÍ
1640 (Linux 2.6.24 °Ê¹ß¡¢
1644 .IR Mems_allowed_list :
1645 .\"O Same as previous, but in "list format"
1646 .\"O (since Linux 2.6.26, see
1647 .\"O .BR cpuset (7)).
1648 Á°¹à¤ÈƱ¤¸¤À¤¬¡¢¡Ö¥ê¥¹¥È·Á¼°¡×¤Ç¤Îɽ¼¨
1649 (Linux 2.6.26 °Ê¹ß¡¢
1653 .IR voluntary_context_switches ", " nonvoluntary_context_switches :
1654 .\"O Number of voluntary and involuntary context switches (since Linux 2.6.23).
1655 ¼«È¯Åª/Èó¼«È¯Åª¤Ê¥³¥ó¥Æ¥¥¹¥È¥¹¥¤¥Ã¥Á¤Î²ó¿ô
1656 (Linux 2.6.23 °Ê¹ß)¡£
1659 .\"O .IR /proc/[pid]/task " (since Linux 2.6.0-test6)"
1660 .IR /proc/[pid]/task " (Linux 2.6.0-test6 °Ê¹ß)"
1661 .\"O This is a directory that contains one subdirectory
1662 .\"O for each thread in the process.
1663 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¤½¤Î¥×¥í¥»¥¹¤Î¥¹¥ì¥Ã¥É¾ðÊó¤ò´Þ¤à
1664 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬ 1 ¥¹¥ì¥Ã¥É¤Ë¤Ä¤ 1 ¤ÄÃÖ¤«¤ì¤ë¡£
1665 .\"O The name of each subdirectory is the numerical thread ID
1667 .\"O of the thread (see
1668 .\"O .BR gettid (2)).
1669 ³Æ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤Ï¥¹¥ì¥Ã¥É¤Î¥¹¥ì¥Ã¥É ID
1674 .\"O Within each of these subdirectories, there is a set of
1675 .\"O files with the same names and contents as under the
1678 ¤³¤ì¤é¤Î³Æ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢
1680 ¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤ÈƱ¤¸Ì¾Á°¤ÈÆâÍƤΥե¡¥¤¥ë·²¤¬¤¢¤ë¡£
1681 .\"O For attributes that are shared by all threads, the contents for
1682 .\"O each of the files under the
1684 .\"O subdirectories will be the same as in the corresponding
1685 .\"O file in the parent
1688 .\"O (e.g., in a multithreaded process, all of the
1689 .\"O .I task/[tid]/cwd
1690 .\"O files will have the same value as the
1691 .\"O .I /proc/[pid]/cwd
1692 .\"O file in the parent directory, since all of the threads in a process
1693 .\"O share a working directory).
1694 ¤¹¤Ù¤Æ¤Î¥¹¥ì¥Ã¥É¤Ç¶¦Í¤µ¤ì¤ë°À¤Î¾ì¹ç¡¢
1696 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î³Æ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤÏ
1699 ¤ÎÂбþ¤¹¤ë¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ë¤Ê¤ë¤³¤È¤À¤í¤¦
1700 (Î㤨¤Ð¡¢¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¡¦¥×¥í¥»¥¹¤Ç¤Ï¥Õ¥¡¥¤¥ë
1702 ¤Ï¤¤¤º¤ì¤â¿Æ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î
1704 ¤ÈƱ¤¸Ãͤò»ý¤Ä¤³¤È¤Ë¤Ê¤ë¡£¤Ê¤¼¤Ê¤é¡¢°ì¤Ä¤Î¥×¥í¥»¥¹¤Ë°¤¹¤¹¤Ù¤Æ¤Î
1705 ¥¹¥ì¥Ã¥É¤Ïºî¶È¥Ç¥£¥ì¥¯¥È¥ê¤ò¶¦Í¤¹¤ë¤«¤é¤Ç¤¢¤ë)¡£
1706 .\"O For attributes that are distinct for each thread,
1707 .\"O the corresponding files under
1709 .\"O may have different values (e.g., various fields in each of the
1710 .\"O .I task/[tid]/status
1711 .\"O files may be different for each thread).
1712 ¥¹¥ì¥Ã¥ÉËè¤ËÆÈΩ¤Ê°À¤Î¾ì¹ç¡¢
1714 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î³Æ¥Õ¥¡¥¤¥ë¤Ï°Û¤Ê¤ëÃͤò»ý¤Ä¤³¤È¤¬¤¢¤ë
1716 .I task/[tid]/status
1717 ¤Ï¥¹¥ì¥Ã¥ÉËè¤Ë°Û¤Ê¤ëÃͤò»ý¤Ä²ÄǽÀ¤¬¤¢¤ë)¡£
1719 .\"O .\" The following was still true as at kernel 2.6.13
1720 .\" °Ê²¼¤ÎÆâÍÆ¤Ï ¥«¡¼¥Í¥ë 2.6.13 ¤Ç¤Ï¤Þ¤ÀÀµ¤·¤¤¡£
1721 .\"O In a multithreaded process, the contents of the
1722 .\"O .I /proc/[pid]/task
1723 .\"O directory are not available if the main thread has already terminated
1724 .\"O (typically by calling
1725 .\"O .BR pthread_exit (3)).
1726 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥×¥í¥»¥¹¤Ç¤Ï¡¢¥á¥¤¥ó¥¹¥ì¥Ã¥É¤¬¤¹¤Ç¤Ë½ªÎ»¤·¤Æ¤¤¤ë¾ì¹ç¡¢
1728 ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤϻ²¾È¤Ç¤¤Ê¤¤
1729 (¥¹¥ì¥Ã¥É¤Î½ªÎ»¤ÏÄ̾ï
1730 .BR pthread_exit (3)
1731 ¤ò¸Æ¤Ó½Ð¤·¤Ë¤è¤ê¹Ô¤ï¤ì¤ë)¡£
1734 .\"O Advanced power management version and battery information when
1736 .\"O is defined at kernel compilation time.
1737 Advanced Power Management ¤Î¥Ð¡¼¥¸¥ç¥ó¤È¥Ð¥Ã¥Æ¥ê¾ðÊó¡£
1738 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1740 ¤òÄêµÁ¤·¤¿¤È¤¤Ë¸ºß¤¹¤ë¡£
1743 .\"O Contains subdirectories for installed busses.
1744 ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë³Æ¥Ð¥¹ÍѤ˥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ë¡£
1747 .\"O Subdirectory for PCMCIA devices when
1748 .\"O .B CONFIG_PCMCIA
1749 .\"O is set at kernel compilation time.
1750 PCMCIA ¥Ç¥Ð¥¤¥¹¤Î¾ðÊ󤬽ñ¤«¤ì¤ë¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1751 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1753 ¤òÄêµÁ¤·¤¿¤È¤¤Ë¸ºß¤¹¤ë¡£
1755 .I /proc/bus/pccard/drivers
1758 .\"O Contains various bus subdirectories and pseudo-files containing
1759 .\"O information about PCI busses, installed devices, and device
1761 .\"O Some of these files are not ASCII.
1762 ¤¤¤¯¤Ä¤«¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ê¡¢
1763 PCI ¥Ð¥¹¡¦¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥Ç¥Ð¥¤¥¹¡¦
1764 ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î¾ðÊ󤬽ñ¤«¤ì¤¿²¾ÁÛ¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¡£
1765 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¤¤¤¯¤Ä¤«¤Ï ASCII ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤Ï¤Ê¤¤¡£
1767 .I /proc/bus/pci/devices
1768 .\"O Information about PCI devices.
1769 .\"O They may be accessed through
1772 .\"O .BR setpci (8).
1773 PCI ¥Ç¥Ð¥¤¥¹¤Î¾ðÊó¡£
1777 ¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
1780 .\"O Arguments passed to the Linux kernel at boot time.
1781 .\"O Often done via a boot manager such as
1785 ¥Ö¡¼¥È»þ¤Ë Linux ¥«¡¼¥Í¥ë¤ËÅϤµ¤ì¤¿°ú¤¿ô¡£
1786 °ú¤¿ô¤Î¼õ¤±ÅϤ·¤Ï¡¢¤¿¤¤¤Æ¤¤
1790 ¤È¤¤¤Ã¤¿¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ò»È¤Ã¤Æ¹Ô¤ï¤ì¤ë¡£
1792 .\"O .IR /proc/config.gz " (since Linux 2.6)"
1793 .IR /proc/config.gz " (Linux 2.6 °Ê¹ß)"
1794 .\"O This file exposes the configuration options that were used
1795 .\"O to build the currently running kernel,
1796 .\"O in the same format as they would be shown in the
1798 .\"O file that resulted when configuring the kernel (using
1799 .\"O .IR "make xconfig" ,
1800 .\"O .IR "make config" ,
1802 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¸½ºß¼Â¹ÔÃæ¤Î¥«¡¼¥Í¥ë¤Î¹½ÃÛ»þ¤Ë»ÈÍѤµ¤ì¤¿
1803 ÀßÄꥪ¥×¥·¥ç¥ó¤ò»²¾È¤Ç¤¤ë¡£
1805 .RI ( "make xconfig" ,
1807 ¤Ê¤É¤ò»È¤Ã¤Æ) ¥«¡¼¥Í¥ë¤ÎÀßÄê¤òÊѹ¹¤·¤¿ºÝ¤ËÀ¸À®¤µ¤ì¤ë
1809 ¥Õ¥¡¥¤¥ë¤Î¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£
1810 .\"O The file contents are compressed; view or search them using
1814 .\"O As long as no changes have been made to the following file,
1815 .\"O the contents of
1816 .\"O .I /proc/config.gz
1817 .\"O are the same as those provided by :
1818 ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤϰµ½Ì¤µ¤ì¤Æ¤ª¤ê¡¢
1821 ¤Ê¤É¤ò»È¤¦¤È¡¢É½¼¨¤ä¸¡º÷¤¬¤Ç¤¤ë¡£
1822 ¥Õ¥¡¥¤¥ë¤¬Êѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¡¢
1824 ¤ÎÆâÍƤϼ¡¤Î¥³¥Þ¥ó¥É¤ÇÆÀ¤é¤ì¤ëÆâÍƤÈƱ¤¸¤Ç¤¢¤ë¡£
1828 cat /lib/modules/$(uname -r)/build/.config
1832 .\"O .I /proc/config.gz
1833 .\"O is only provided if the kernel is configured with
1834 .\"O .BR CONFIG_IKCONFIG_PROC .
1836 ¤¬Ä󶡤µ¤ì¤ë¤Î¤Ï¡¢¥«¡¼¥Í¥ë¤ÎÀßÄê¤Ç
1837 .B CONFIG_IKCONFIG_PROC
1838 ¤¬Í¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Î¤ß¤Ç¤¢¤ë¡£
1841 .\"O This is a collection of CPU and system architecture dependent items,
1842 .\"O for each supported architecture a different list.
1843 .\"O Two common entries are \fIprocessor\fP which gives CPU number and
1844 .\"O \fIbogomips\fP; a system constant that is calculated
1845 .\"O during kernel initialization.
1846 .\"O SMP machines have information for
1848 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢CPU ¤ª¤è¤Ó¥·¥¹¥Æ¥à¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ë°Í¸¤¹¤ë¹àÌܤò
1849 ½¸¤á¤¿¤â¤Î¤Ç¡¢¥ê¥¹¥È¤ÎÆâÍƤϥµ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥¢¡¼¥¥Æ¥¯¥Á¥ãËè¤Ë°Û¤Ê¤ë¡£
1850 2 ¤Ä¤À¤±¶¦Ä̤ιàÌܤ¬¤¢¤ë¡£
1851 \fIprocessor\fP ¤Ï¥×¥í¥»¥Ã¥µÈÖ¹æ¤Ç¡¢
1852 \fIbogomips\fP ¤Ï¥«¡¼¥Í¥ë¤Î½é´ü²½»þ¤Ë·×»»¤µ¤ì¤ë¥·¥¹¥Æ¥àÄê¿ô¤Ç¤¢¤ë¡£
1853 SMP ¥Þ¥·¥ó¤Ç¤Ï³Æ CPU ¤Ë¤Ä¤¤¤Æ¤Î¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤ë¡£
1856 .\"O Text listing of major numbers and device groups.
1857 .\"O This can be used by MAKEDEV scripts for consistency with the kernel.
1858 ¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤È¥Ç¥Ð¥¤¥¹¥°¥ë¡¼¥×¤Î¥Æ¥¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
1859 MAKEDEV ¥¹¥¯¥ê¥×¥È¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤Æ¡¢
1860 ¥«¡¼¥Í¥ë¤È¤ÎÀ°¹çÀ¤òÊݤĤ³¤È¤¬¤Ç¤¤ë¡£
1862 .\"O .IR /proc/diskstats " (since Linux 2.5.69)"
1863 .IR /proc/diskstats " (Linux 2.5.69 °Ê¹ß)"
1864 .\"O This file contains disk I/O statistics for each disk device.
1865 .\"O See the kernel source file
1866 .\"O .I Documentation/iostats.txt
1867 .\"O for further information.
1868 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï³Æ¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤Î¥Ç¥£¥¹¥¯ I/O Åý·×¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤ë¡£
1869 ¹¹¤Ë¾Ü¤·¤¤¾ðÊó¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
1870 .I Documentation/iostats.txt
1874 .\"O This is a list of the registered \fIISA\fP DMA (direct memory access)
1875 .\"O channels in use.
1876 ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë \fIISA\fP DMA (direct memory access) ¥Á¥ã¥Í¥ë¤Î¥ê¥¹¥È¡£
1879 .\"O Empty subdirectory.
1880 ¶õ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1882 .I /proc/execdomains
1883 .\"O List of the execution domains (ABI personalities).
1884 ¼Â¹Ô¥É¥á¥¤¥ó¤Î¥ê¥¹¥È (ABI ¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£)¡£
1887 .\"O Frame buffer information when
1889 .\"O is defined during kernel compilation.
1890 ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
1892 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡¤Î¾ðÊ󤬽ñ¤«¤ì¤ë¡£
1894 .I /proc/filesystems
1895 .\"O A text listing of the file systems which are supported by the kernel,
1896 .\"O namely file systems which were compiled into the kernel or whose kernel
1897 .\"O modules are currently loaded.
1899 .\"O .BR filesystems (5).)
1900 .\"O If a file system is marked with "nodev",
1901 .\"O this means that it does not require a block device to be mounted
1902 .\"O (e.g., virtual file system, network file system).
1903 ¥«¡¼¥Í¥ë¤¬Âбþ¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Æ¥¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
1904 ¥«¡¼¥Í¥ë¤ËÁȤ߹þ¤Þ¤ì¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤È¡¢
1905 ¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤¬¸½ºß¥í¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬Îóµó¤µ¤ì¤ë
1906 .RB ( filesystems (5)
1908 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë "nodev" ¤È¤¤¤¦°õ¤¬ÉÕ¤¤¤Æ¤¤¤ë¾ì¹ç¡¢
1909 ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤¹¤ë¤¿¤á¤Î¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤ò
1910 ɬÍפȤ·¤Ê¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë (Î㤨¤Ð¡¢
1911 ²¾ÁÛ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ê¤É)¡£
1913 .\"O Incidentally, this file may be used by
1915 .\"O when no file system is specified and it didn't manage to determine the
1916 .\"O file system type.
1917 .\"O Then file systems contained in this file are tried
1918 .\"O (excepted those that are marked with "nodev").
1919 ¤Á¤Ê¤ß¤Ë¡¢¥Þ¥¦¥ó¥È»þ¤Ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬»ØÄꤵ¤ì¤º¡¢
1920 ¤É¤¦¤ä¤Ã¤Æ¤â¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¼ïÎà¤òȽÄê¤Ç¤¤Ê¤«¤Ã¤¿ºÝ¤Ë¡¢
1923 ¤¬»ÈÍѤ¹¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
1924 ¤½¤Î¾ì¹ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬»î¤µ¤ì¤ë
1925 (¤¿¤À¤·¡¢"nodev" ¤Î°õ¤¬¤Ä¤¤¤¿¤â¤Î¤Ï½ü¤¯)¡£
1928 .\"O Empty subdirectory.
1929 ¶õ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
1933 .\"O exists on systems with the IDE bus.
1934 .\"O There are directories for each IDE channel and attached device.
1936 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï IDE ¥Ð¥¹¤ò¤â¤Ä¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡£
1937 ³Æ IDE ¥Á¥ã¥Í¥ë¤È¤½¤ì¤Ë¼è¤êÉÕ¤±¤é¤ì¤Æ¤¤¤ë³Æ¥Ç¥Ð¥¤¥¹¤´¤È¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ê¡¢
1938 °Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£
1942 .\"O cache buffer size in KB
1943 cache ¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º (KB)
1944 .\"O capacity number of sectors
1946 .\"O driver driver version
1947 driver ¥É¥é¥¤¥Ð¤Î¥Ð¡¼¥¸¥ç¥ó
1948 .\"O geometry physical and logical geometry
1949 geometry ʪÍý¥¸¥ª¥á¥È¥ê¤ÈÏÀÍý¥¸¥ª¥á¥È¥ê
1950 .\"O identify in hexadecimal
1951 identify 16 ¿Ê¿ôɽµ
1952 .\"O media media type
1953 media ¥á¥Ç¥£¥¢¤Î¥¿¥¤¥×
1954 .\"O model manufacturer's model number
1955 model À½Â¤¼Ô¤Î¥â¥Ç¥ëÈÖ¹æ
1956 .\"O settings drive settings
1957 settings ¥É¥é¥¤¥Ö¤ÎÀßÄê
1958 .\"O smart_thresholds in hexadecimal
1959 smart_thresholds 16 ¿Ê¿ôɽµ
1960 .\"O smart_values in hexadecimal
1961 smart_values 16 ¿Ê¿ôɽµ
1967 .\"O utility provides access to this information in a friendly format.
1969 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢Ê¬¤«¤ê¤ä¤¹¤¤·Á¼°¤Ç
1970 ¤³¤Î¾ðÊó¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î¼êÃʤòÄ󶡤¹¤ë¡£
1973 .\"O This is used to record the number of interrupts per CPU per IO device.
1974 .\"O Since Linux 2.6.24,
1975 .\"O for the i386 and x86_64 architectures, at least, this also includes
1976 .\"O interrupts internal to the system (that is, not associated with a device
1977 .\"O as such), such as NMI (nonmaskable interrupt), LOC (local timer interrupt),
1978 .\"O and for SMP systems, TLB (TLB flush interrupt), RES (rescheduling
1979 .\"O interrupt), CAL (remote function call interrupt), and possibly others.
1980 .\"O Very easy to read formatting, done in ASCII.
1981 IO ¥Ç¥Ð¥¤¥¹Ëè¤Î CPU Ê̤γä¤ê¹þ¤ß²ó¿ô¤ÎµÏ¿¤Ë»È¤ï¤ì¤ë¡£
1982 Linux 2.6.24 °Ê¹ß¡¢¾¯¤Ê¤¯¤È¤â i386 ¤È x86_64 ¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤Ï¡¢
1983 (¥Ç¥Ð¥¤¥¹¤È´ØÏ¢¤¬¤Ê¤¤) ¥·¥¹¥Æ¥àÆâÉô¤Î³ä¤ê¹þ¤ß¤Ë¤Ä¤¤¤Æ¤âµÏ¿¤µ¤ì¤ë¡£
1984 ¥·¥¹¥Æ¥àÆâÉô¤Î³ä¤ê¹þ¤ß¤Ë¤Ï¡¢NMI (nonmaskable interrupt),
1985 LOC (local timer interrupt) ¤ä¡¢SMP ¥·¥¹¥Æ¥à¤Ç¤Ï TLB (TLB flush interrupt),
1986 RES (rescheduling interrupt), CAL (remote function call interrupt)
1988 ´Êñ¤ËÆɤळ¤È¤Î¤Ç¤¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¡¢ASCII ¤Çɽµ¤µ¤ì¤Æ¤¤¤ë¡£
1991 .\"O I/O memory map in Linux 2.4.
1992 Linux 2.4 ¤Ë¤ª¤±¤ë I/O ¥á¥â¥ê¥Þ¥Ã¥×¡£
1995 .\"O This is a list of currently registered Input-Output port regions that
1997 ¸½ºßÅÐÏ¿¤µ¤ì»È¤ï¤ì¤Æ¤¤¤ë I/O ¥Ý¡¼¥ÈÎΰè¤Î¥ê¥¹¥È¡£
1999 .\"O .IR /proc/kallsyms " (since Linux 2.5.71)"
2000 .IR /proc/kallsyms " (Linux 2.5.71 °Ê¹ß)"
2001 .\"O This holds the kernel exported symbol definitions used by the
2002 .\"O .BR modules (X)
2003 .\"O tools to dynamically link and bind loadable modules.
2004 ¥«¡¼¥Í¥ë¤Î³°Éô¥·¥ó¥Ü¥ëÄêµÁ¤òÊÝ»ý¤¹¤ë¡£
2006 ´Ø·¸¤Î¥Ä¡¼¥ë¤¬¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤òưŪ¤Ë¥ê¥ó¥¯¤·¤¿¤ê
2007 ¥Ð¥¤¥ó¥É (bind) ¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
2008 .\"O In Linux 2.5.47 and earlier, a similar file with slightly different syntax
2011 Linux 2.5.47 °ÊÁ°¤Ç¤Ï¡¢Èù̯¤Ë°Û¤Ê¤ë½ñ¼°¤Î»÷¤¿¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬
2013 ¤È¤¤¤¦Ì¾Á°¤Ç¤¢¤Ã¤¿¡£
2016 .\"O This file represents the physical memory of the system and is stored
2017 .\"O in the ELF core file format.
2018 .\"O With this pseudo-file, and an unstripped
2020 .\"O .RI ( /usr/src/linux/vmlinux )
2021 .\"O binary, GDB can be used to
2022 .\"O examine the current state of any kernel data structures.
2023 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¤ÎʪÍý¥á¥â¥ê¤òɽ¸½¤·¤Æ¤ª¤ê¡¢
2024 ELF ¥³¥¢¥Õ¥¡¥¤¥ë·Á¼° (core file format) ¤ÇÊÝ»ý¤µ¤ì¤Æ¤¤¤ë¡£
2025 ¤³¤Îµ¼»÷¥Õ¥¡¥¤¥ë¤È strip ¤µ¤ì¤Æ¤¤¤Ê¤¤¥«¡¼¥Í¥ë¤Î¥Ð¥¤¥Ê¥ê
2026 .RI ( /usr/src/linux/vmlinux )
2027 [ÌõÃí: ¥Ñ¥Ã¥±¡¼¥¸¤Ë°Í¸¤¹¤ë]) ¤¬¤¢¤ì¤Ð¡¢
2028 GDB ¤Ï¥«¡¼¥Í¥ëÆâ¤ÎǤ°Õ¤Î¥Ç¡¼¥¿¹½Â¤¤Î¸½ºß¤Î¾õÂÖ¤òÄ´¤Ù¤é¤ì¤ë¡£
2030 .\"O The total length of the file is the size of physical memory (RAM) plus
2032 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÂ礤µ¤ÏʪÍý¥á¥â¥ê (RAM) ¤Î¥µ¥¤¥º¤Ë 4KB ¤ò²Ã¤¨¤¿ÃͤǤ¢¤ë¡£
2035 .\"O This file can be used instead of the
2037 .\"O system call to read kernel messages.
2038 .\"O A process must have superuser
2039 .\"O privileges to read this file, and only one process should read this
2041 .\"O This file should not be read if a syslog process is running
2044 .\"O system call facility to log kernel messages.
2047 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ç¥«¡¼¥Í¥ë¥á¥Ã¥»¡¼¥¸¤òÆɤ߽Ф¹Âå¤ê¤Ë»È¤¨¤ë¡£
2048 ¥×¥í¥»¥¹¤¬¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤि¤á¤Ë¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¸¢¸Â¤¬É¬ÍפǤ¢¤ê¡¢
2049 ¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф¹¤Î¤Ï 1 ¤Ä¤Î¥×¥í¥»¥¹¤Î¤ß¤Ë¸Â¤ë¤Ù¤¤Ç¤¢¤ë¡£
2050 ¥«¡¼¥Í¥ë¥á¥Ã¥»¡¼¥¸¤òµÏ¿¤¹¤ë¤¿¤á¤Ë¡¢
2052 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Îµ¡Ç½¤ò»È¤¦ syslog ¥×¥í¥»¥¹¤¬²ÔƯ¤·¤Æ¤¤¤ë¾ì¹ç¡¢
2053 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߽Ф¹¤Ù¤¤Ç¤Ï¤Ê¤¤¡£
2055 .\"O Information in this file is retrieved with the
2058 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¤Î¾ðÊó¤Ï
2060 ¤Ë¤è¤Ã¤Æɽ¼¨¤µ¤ì¤ë¡£
2062 .IR /proc/ksyms " (Linux 1.1.23-2.5.47)"
2064 .\"O .IR /proc/kallsyms .
2069 .\"O The first three fields in this file are load average figures
2070 .\"O giving the number of jobs in the run queue (state R)
2071 .\"O or waiting for disk I/O (state D) averaged over 1, 5, and 15 minutes.
2072 .\"O They are the same as the load average numbers given by
2074 .\"O and other programs.
2075 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î 3 ¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥í¡¼¥É¥¢¥Ù¥ì¡¼¥¸¤Î¿ôÃͤǡ¢
2076 1, 5, 15 ʬ¤¢¤¿¤ê¤Î¼Â¹Ô¥¥å¡¼Æâ (state R) ¤Þ¤¿¤Ï
2077 ¥Ç¥£¥¹¥¯ I/O ÂÔ¤Á (state D) ¤Î¥¸¥ç¥Ö¿ô¤òÍ¿¤¨¤ë¡£
2080 ¤Ê¤É¤Î¥×¥í¥°¥é¥à¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤ëÃͤÈƱ¤¸¤Ç¤¢¤ë¡£
2081 .\"O The fourth field consists of two numbers separated by a slash (/).
2082 4 ÈÖÌܤΥե£¡¼¥ë¥É¤Ï¥¹¥é¥Ã¥·¥å (/) ¤Ç¶èÀÚ¤é¤ì¤¿ 2 ¤Ä¤Î¿ôÃͤ«¤é¹½À®¤µ¤ì¤ë¡£
2083 .\"O The first of these is the number of currently executing kernel
2084 .\"O scheduling entities (processes, threads);
2085 .\"O this will be less than or equal to the number of CPUs.
2086 ¤³¤Î¿ôÃͤΤ¦¤ÁºÇ½é¤Î¤â¤Î¤Ï¡¢¸½ºß¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë
2087 ¥«¡¼¥Í¥ë¥¹¥±¥¸¥å¡¼¥ë¥¨¥ó¥Æ¥£¥Æ¥£ (¥×¥í¥»¥¹¡¢¥¹¥ì¥Ã¥É) ¤Î¿ô¤Ç¤¢¤ë¡£
2088 ¤³¤Î¿ôÃÍ¤Ï CPU ¤Î¿ô°Ê²¼¤Ë¤Ê¤ë¡£
2089 .\"O The value after the slash is the number of kernel scheduling entities
2090 .\"O that currently exist on the system.
2091 ¥¹¥é¥Ã¥·¥å¤Î¸å¤Î¿ôÃͤϡ¢¸½ºß¥·¥¹¥Æ¥à¾å¤Ë¸ºß¤¹¤ë
2092 ¥«¡¼¥Í¥ë¥¹¥±¥¸¥å¡¼¥ë¥¨¥ó¥Æ¥£¥Æ¥£¤Î¿ô¤Ç¤¢¤ë¡£
2093 .\"O The fifth field is the PID of the process that was most
2094 .\"O recently created on the system.
2095 5 ÈÖÌܤΥե£¡¼¥ë¥É¤Ï¥·¥¹¥Æ¥à¾å¤ËºÇ¤âºÇ¶áÀ¸À®¤µ¤ì¤¿¥×¥í¥»¥¹¤Î PID ¤Ç¤¢¤ë¡£
2098 .\"O This file shows current file locks
2099 .\"O .RB ( flock "(2) and " fcntl (2))
2101 .\"O .RB ( fcntl (2)).
2102 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¤Î¥Õ¥¡¥¤¥ë¥í¥Ã¥¯
2103 .RB ( flock "(2) ¤È " fcntl (2))
2108 .\"O .IR /proc/malloc " (only up to and including Linux 2.2)"
2109 .IR /proc/malloc " (Linux 2.2 °ÊÁ°¤Î¤ß)"
2110 .\" It looks like this only ever did something back in 1.0 days
2111 .\"O This file is only present if
2112 .\"O .B CONFIG_DEBUG_MALLOC
2113 .\"O was defined during compilation.
2115 .B CONFIGDEBUGMALLOC
2116 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
2119 .\"O This file reports statistics about memory usage on the system.
2122 .\"O to report the amount of free and used memory (both physical and swap)
2123 .\"O on the system as well as the shared memory and buffers used by the
2125 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¾å¤Î¥á¥â¥ê»ÈÍÑÎ̤˴ؤ¹¤ëÅý·×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
2127 ¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¡¢
2128 ¥·¥¹¥Æ¥à¤Î̤»ÈÍѤª¤è¤Ó»ÈÍÑÃæ¤Î¥á¥â¥êÎÌ (ʪÍý¥á¥â¥ê¤È¥¹¥ï¥Ã¥×) ¤È¡¢
2129 ¥«¡¼¥Í¥ë¤Ë»È¤ï¤ì¤Æ¤¤¤ë¶¦Í¥á¥â¥ê¤È¥Ð¥Ã¥Õ¥¡¤Î¾ðÊó¤òÊó¹ð¤¹¤ë¡£
2132 .\"O A text list of the modules that have been loaded by the system.
2133 ¸½ºß¥·¥¹¥Æ¥à¤Ë¥í¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥â¥¸¥å¡¼¥ë¤Î¥Æ¥¥¹¥È·Á¼°¤Î¥ê¥¹¥È¡£
2140 .\"O Before kernel 2.4.19, this file was a list
2141 .\"O of all the file systems currently mounted on the system.
2142 .\"O With the introduction of per-process mount namespaces in
2143 .\"O Linux 2.4.19, this file became a link to
2144 .\"O .IR /proc/self/mounts ,
2145 .\"O which lists the mount points of the process's own mount namespace.
2146 .\"O The format of this file is documented in
2148 ¥«¡¼¥Í¥ë 2.4.19 ¤è¤êÁ°¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¥·¥¹¥Æ¥à¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë
2149 Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ê¥¹¥È¤Ç¤¢¤Ã¤¿¡£
2150 Linux 2.4.19 ¤Ç¥×¥í¥»¥¹Ã±°Ì¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤¬Æ³Æþ¤µ¤ì¤¿¤³¤È¤Ëȼ¤¤¡¢
2152 .I /proc/self/mounts
2153 ¤Ø¤Î¥ê¥ó¥¯¤È¤Ê¤Ã¤¿¡£
2154 .I /proc/self/mounts
2155 ¤Ï¤½¤Î¥×¥í¥»¥¹¼«¿È¤Î¥Þ¥¦¥ó¥È̾Á°¶õ´Ö¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
2156 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
2161 .\"O Memory Type Range Registers.
2162 .\"O See the kernel source file
2163 .\"O .I Documentation/mtrr.txt
2165 Memory Type Range Registers¡£
2166 ¾ÜºÙ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
2167 .I Documentation/mtrr.txt
2171 .\"O various net pseudo-files, all of which give the status of some part of
2172 .\"O the networking layer.
2173 .\"O These files contain ASCII structures and are,
2174 .\"O therefore, readable with
2176 .\"O However, the standard
2177 .\"O .BR netstat (8)
2178 .\"O suite provides much cleaner access to these files.
2179 ¤µ¤Þ¤¶¤Þ¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤Ä¤¤¤Æ¤Îµ¼»÷¥Õ¥¡¥¤¥ë¤Ç¡¢
2180 ¤½¤ì¤¾¤ì¤¬¥Í¥Ã¥È¥ï¡¼¥¯ÁؤγƼï¤Î¾õÂÖ¤òÍ¿¤¨¤ë¡£
2181 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍÆ¤Ï ASCII ·Á¼°¤Ê¤Î¤Ç¡¢
2184 ¤È¤Ï¤¤¤¨´ðËÜ¥³¥Þ¥ó¥É¤Î
2186 ¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤΤè¤ê¤¹¤Ã¤¤ê¤È¤·¤¿É½¼¨¤òÄ󶡤¹¤ë¡£
2189 .\"O This holds an ASCII readable dump of the kernel ARP table used for
2190 .\"O address resolutions.
2191 .\"O It will show both dynamically learned and preprogrammed ARP entries.
2193 ¥¢¥É¥ì¥¹²ò·è¤Ë»È¤ï¤ì¤ë¥«¡¼¥Í¥ë¤Î ARP ¥Æ¡¼¥Ö¥ë¤Î
2194 ASCII ²ÄÆɤʥÀ¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2195 ưŪ·ë¹ç¤µ¤ì¤¿¤â¤Î¤È¸ÇÄê (preprogrammed) ¤ÎξÊý¤Î
2196 APP ¥¨¥ó¥È¥ê¤ò¸«¤ë¤³¤È¤¬¤Ç¤¤ë¡£¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2201 IP address HW type Flags HW address Mask Device
2202 192.168.0.50 0x1 0x2 00:50:BF:25:68:F3 * eth0
2203 192.168.0.250 0x1 0xc 00:00:00:00:00:00 * eth0
2208 .\"O Here "IP address" is the IPv4 address of the machine and the "HW type"
2209 .\"O is the hardware type of the address from RFC\ 826.
2210 .\"O The flags are the internal
2211 .\"O flags of the ARP structure (as defined in
2212 .\"O .IR /usr/include/linux/if_arp.h )
2214 .\"O the "HW address" is the data link layer mapping for that IP address if
2216 ¤³¤³¤Ç IP address ¤Ï¥Þ¥·¥ó¤Î IPv4 ¥¢¥É¥ì¥¹¡¢
2217 HW type ¤Ï¤½¤Î¥¢¥É¥ì¥¹¤Î RFC\ 826 ¤ÇÄê¤á¤é¤ì¤Æ¤¤¤ë¥Ï¡¼¥É¥¦¥§¥¢¤Î·Á¼°¡¢
2219 .RI ( /usr/include/linux/if_arp.h
2220 Æâ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë) ¤ÎÆâÉô¥Õ¥é¥°¡¢
2221 HW address ¤Ï¤½¤Î IP ¥¢¥É¥ì¥¹¤Ë¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¥ê¥ó¥¯ÁؤΥ¢¥É¥ì¥¹
2222 (¤â¤·¤ï¤«¤Ã¤Æ¤¤¤ì¤Ð) ¤Ç¤¢¤ë¡£
2225 .\"O The dev pseudo-file contains network device status information.
2227 .\"O the number of received and sent packets, the number of errors and
2229 .\"O and other basic statistics.
2230 .\"O These are used by the
2231 .\"O .BR ifconfig (8)
2232 .\"O program to report device status.
2234 µ¼»÷¥Õ¥¡¥¤¥ë dev ¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥Ç¥Ð¥¤¥¹¤Î¾õÂÖ¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¡£
2235 ¤³¤ì¤ÏÁ÷¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¿ô¡¢¥¨¥é¡¼¤È¥³¥ê¥¸¥ç¥ó (collision) ¤Î²ó¿ô¡¢
2236 ¤½¤Î¾¤Î´ðËÜŪ¤ÊÅý·×¤òÍ¿¤¨¤ë¡£
2239 ¤¬¥Ç¥Ð¥¤¥¹¤Î¾õÂÖ¤òÊó¹ð¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
2240 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2245 Inter-| Receive | Transmit
2246 face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
2247 lo: 2776770 11307 0 0 0 0 0 0 2776770 11307 0 0 0 0 0 0
2248 eth0: 1215645 2751 0 0 0 0 0 0 1782404 4324 0 0 0 427 0 0
2249 ppp0: 1622270 5552 1 0 0 0 0 0 354130 5669 0 0 0 0 0 0
2250 tap0: 7714 81 0 0 0 0 0 0 7714 81 0 0 0 0 0 0
2255 .\" .I /proc/net/ipx
2256 .\"O .\" No information.
2259 .\" .I /proc/net/ipx_route
2260 .\"O .\" No information.
2263 .I /proc/net/dev_mcast
2265 .\"O .IR /usr/src/linux/net/core/dev_mcast.c :
2266 .I /usr/src/linux/net/core/dev_mcast.c
2267 ¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢°Ê²¼¤Î·Á¼°¤Ç¤¢¤ë¡£
2270 indx interface_name dmi_u dmi_g dmi_address
2271 2 eth0 1 0 01005e000001
2272 3 eth1 1 0 01005e000001
2273 4 eth2 1 0 01005e000001
2278 .\"O Internet Group Management Protocol.
2280 .\"O .IR /usr/src/linux/net/core/igmp.c .
2281 Internet Group Management Protocol (¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥°¥ë¡¼¥×´ÉÍý¥×¥í¥È¥³¥ë)¡£
2282 .I /usr/src/linux/net/core/igmp.c
2286 .\"O This file uses the same format as the
2288 .\"O file and contains the current reverse mapping database used to provide
2290 .\"O reverse address lookup services.
2291 .\"O If RARP is not configured into the
2293 .\"O this file will not be present.
2296 ¤ÈƱ¤¸¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç
2297 µÕ¥¢¥É¥ì¥¹²ò·è¥µ¡¼¥Ó¥¹ (reverse address lookup services)
2299 ¤ËÄ󶡤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¸½ºß¤ÎµÕ¥Þ¥Ã¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÆâÍƤò´Þ¤ó¤Ç¤¤¤ë¡£
2300 RARP ¤¬¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
2301 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤·¤Ê¤¤¡£
2304 .\"O Holds a dump of the RAW socket table.
2305 .\"O Much of the information is not of
2307 .\"O apart from debugging.
2308 .\"O The "sl" value is the kernel hash slot for the
2310 .\"O the "local_address" is the local address and protocol number pair.
2312 .\"O the internal status of the socket.
2313 .\"O The "tx_queue" and "rx_queue" are the
2314 .\"O outgoing and incoming data queue in terms of kernel memory usage.
2315 .\"O The "tr", "tm\->when", and "rexmits" fields are not used by RAW.
2317 .\"O field holds the effective UID of the creator of the socket.
2318 RAW ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2319 ¤Û¤È¤ó¤É¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ç¤Ï»È¤ï¤ì¤Ê¤¤¡£
2320 \&"sl" ¤ÎÃͤϥ½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¡¢
2321 \&"local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥×¥í¥È¥³¥ëÈÖ¹æ¤Î¥Ú¥¢
2322 [Ìõ¼ÔÄɲÃ: "rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥×¥í¥È¥³¥ëÈÖ¹æ¤Î¥Ú¥¢]¡£
2323 \&"st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂÖ¡£
2324 \&"tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2325 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥¥å¡¼¤Î¥µ¥¤¥º¡£
2326 \&"tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï RAW ¤Ç¤Ï»È¤ï¤ì¤Æ¤¤¤Ê¤¤¡£
2327 \&"uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2329 .\" .I /proc/net/route
2330 .\"O .\" No information, but looks similar to
2331 .\"O .\" .BR route (8).
2334 .\" (¤Î½ÐÎÏ) ¤Î¤è¤¦¤Ë¸«¤¨¤ë¡£
2337 .\"O This file holds the ASCII data needed for the IP, ICMP, TCP, and UDP
2339 .\"O information bases for an SNMP agent.
2340 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï SNMP ¥¨¡¼¥¸¥§¥ó¥È¤¬É¬ÍפȤ¹¤ë
2341 IP, ICMP, TCP, UDP ´ÉÍý¾ðÊó¤ò ASCII ¥Ç¡¼¥¿¤È¤·¤ÆÊÝ»ý¤·¤Æ¤¤¤ë¡£
2344 .\"O Holds a dump of the TCP socket table.
2345 .\"O Much of the information is not
2346 .\"O of use apart from debugging.
2347 .\"O The "sl" value is the kernel hash slot
2348 .\"O for the socket, the "local_address" is the local address and port number pair.
2349 .\"O The "rem_address" is the remote address and port number pair
2350 .\"O (if connected).
2351 .\"O \&"St" is the internal status of the socket.
2352 .\"O The "tx_queue" and "rx_queue" are the
2353 .\"O outgoing and incoming data queue in terms of kernel memory usage.
2354 .\"O The "tr", "tm\->when", and "rexmits" fields hold internal information of
2355 .\"O the kernel socket state and are only useful for debugging.
2357 .\"O field holds the effective UID of the creator of the socket.
2358 TCP ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2359 ÂçÉôʬ¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¡£
2360 sl ¤Ï¥½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¤ÎÃÍ¡¢
2361 \&"local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2362 (¥½¥±¥Ã¥È¤¬Àܳ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï)
2363 \&"rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤ÎÂФǤ¢¤ë¡£
2364 \&"st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤Ǥ¢¤ë¡£
2365 \&"tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2366 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥¥å¡¼¤Î¥µ¥¤¥º¡£
2367 \&"tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥È¾õÂ֤Υ«¡¼¥Í¥ë
2368 ÆâÉô¾ðÊó¤òÊÝ»ý¤·¤Æ¤¤¤ë¤¬¡¢¤³¤ì¤é¤Ï¥Ç¥Ð¥Ã¥°¤Î¤È¤¤Ë¤·¤«Ìò¤ËΩ¤¿¤Ê¤¤¡£
2369 \&"uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2372 .\"O Holds a dump of the UDP socket table.
2373 .\"O Much of the information is not of
2374 .\"O use apart from debugging.
2375 .\"O The "sl" value is the kernel hash slot for the
2376 .\"O socket, the "local_address" is the local address and port number pair.
2377 .\"O The "rem_address" is the remote address and port number pair
2378 .\"O (if connected). "St" is the internal status of the socket.
2379 .\"O The "tx_queue" and "rx_queue" are the outgoing and incoming data queue
2380 .\"O in terms of kernel memory usage.
2381 .\"O The "tr", "tm\->when", and "rexmits" fields
2382 .\"O are not used by UDP.
2384 .\"O field holds the effective UID of the creator of the socket.
2386 UDP ¥½¥±¥Ã¥È¥Æ¡¼¥Ö¥ë¤Î¥À¥ó¥×¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2387 ÂçÉôʬ¤Î¾ðÊó¤Ï¥Ç¥Ð¥Ã¥°°Ê³°¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¡£
2388 sl ¤Ï¥½¥±¥Ã¥È¤Î¥«¡¼¥Í¥ë¥Ï¥Ã¥·¥å¥¹¥í¥Ã¥È¤ÎÃÍ¡¢
2389 "local_address" ¤Ï¥í¡¼¥«¥ë¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2390 (¥½¥±¥Ã¥È¤¬Àܳ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï)
2391 "rem_address" ¤Ï¥ê¥â¡¼¥È¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î¥Ú¥¢¤Ç¤¢¤ë¡£
2392 "st" ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤Ǥ¢¤ë¡£
2393 "tx_queue" ¤È "rx_queue" ¤Ï¥«¡¼¥Í¥ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤¤¤ë
2394 Á÷¿®/¼õ¿®¥Ç¡¼¥¿¥¥å¡¼¤Î¥µ¥¤¥º¡£
2395 "tr" ¤È "tm\->when" ¤È "rexmits" ¥Õ¥£¡¼¥ë¥É¤Ï UDP ¤Ç¤Ï»È¤ï¤ì¤Æ¤¤¤Ê¤¤¡£
2396 "uid" ¥Õ¥£¡¼¥ë¥É¤Ï¥½¥±¥Ã¥ÈÀ¸À®¼Ô¤Î¼Â¸ú UID ¤òÊÝ»ý¤·¤Æ¤¤¤ë¡£
2397 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2402 sl local_address rem_address st tx_queue rx_queue tr rexmits tm\->when uid
2403 1: 01642C89:0201 0C642C89:03FF 01 00000000:00000001 01:000071BA 00000000 0
2404 1: 00000000:0801 00000000:0000 0A 00000000:00000000 00:00000000 6F000100 0
2405 1: 00000000:0201 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0
2411 .\"O Lists the Unix domain sockets present within the system and their
2414 Unix ¥É¥á¥¤¥ó¥½¥±¥Ã¥È¤Î¥ê¥¹¥È¡£
2415 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï°Ê²¼¤Î¤È¤ª¤ê:
2419 Num RefCount Protocol Flags Type St Path
2420 0: 00000002 00000000 00000000 0001 03
2421 1: 00000001 00000000 00010000 0001 01 /dev/printer
2426 .\"O Here "Num" is the kernel table slot number, "RefCount" is the number
2427 .\"O of users of the socket, "Protocol" is currently always 0, "Flags"
2428 .\"O represent the internal kernel flags holding the status of the
2430 .\"O Currently, type is always "1" (Unix domain datagram sockets are
2431 .\"O not yet supported in the kernel).
2432 .\"O \&"St" is the internal state of the
2433 .\"O socket and Path is the bound path (if any) of the socket.
2434 ¤³¤³¤Ç¡¢Num ¤Ï¥«¡¼¥Í¥ë¤Î¥Æ¡¼¥Ö¥ë¥¹¥í¥Ã¥È¿ô¡¢
2435 RefCount ¤Ï¥½¥±¥Ã¥È¤ò»ÈÍѤ·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¿ô¡¢
2436 Protocol ¤Ï¤¤¤Þ¤Î¤È¤³¤í¤¤¤Ä¤â 0 ¤Ç¡¢Flags ¤Ï¥½¥±¥Ã¥È¤Î¾õÂÖ¤òÊÝ»ý¤·¤Æ¤¤¤ë
2437 ¥«¡¼¥Í¥ëÆâÉô¤Î¥Õ¥é¥°¤Ç¤¢¤ë¡£
2438 Type ¤Ï¤¤¤Þ¤Î¤È¤³¤í¤¤¤Ä¤â 1
2439 (UNIX ¥É¥á¥¤¥ó¤Î¥Ç¡¼¥¿¥°¥é¥à¥½¥±¥Ã¥È¤Ï¡¢¸½ºß¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤
2440 [ÌõÃí: 2.0.34 ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤À])¡£
2441 St ¤Ï¥½¥±¥Ã¥È¤ÎÆâÉô¾õÂ֤ǡ¢Path ¤Ï (¤â¤·¤¢¤ì¤Ð) ¥½¥±¥Ã¥È¤Î¥Ñ¥¹Ì¾¤Ç¤¢¤ë¡£
2444 .\"O Contains major and minor numbers of each partition as well as number
2445 .\"O of blocks and partition name.
2446 ³Æ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥á¥¸¥ã¡¼ÈÖ¹æ¤È¥Þ¥¤¥Ê¡¼Èֹ椬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2447 ¤µ¤é¤Ë¡¢¥Ö¥í¥Ã¥¯¿ô¤È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó̾¤â½ñ¤«¤ì¤Æ¤¤¤ë¡£
2450 .\"O This is a listing of all PCI devices found during kernel initialization
2451 .\"O and their configuration.
2452 ¥«¡¼¥Í¥ë¤Î½é´ü²½»þ¤Ë¸«¤Ä¤«¤Ã¤¿¤¹¤Ù¤Æ¤Î PCI ¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¤È
2455 .\"O This file has been deprecated in favor of a new
2457 .\"O interface for PCI
2458 .\"O .RI ( /proc/bus/pci ).
2459 .\"O It became optional in Linux 2.2 (available with
2460 .\"O .B CONFIG_PCI_OLD_PROC
2461 .\"O set at kernel compilation).
2462 .\"O It became once more nonoptionally enabled in Linux 2.4.
2463 .\"O Next, it was deprecated in Linux 2.6 (still available with
2464 .\"O .B CONFIG_PCI_LEGACY_PROC
2465 .\"O set), and finally removed altogether since Linux 2.6.17.
2466 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÏÈó¿ä¾©¤Ç¤¢¤ê¡¢¿·¤·¤¤ PCI ÍѤÎ
2469 .RI ( /proc/bus/pci )
2471 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï Linux 2.2 ¤Ç¥ª¥×¥·¥ç¥ó¤Ë¤Ê¤Ã¤¿ (¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
2472 .B CONFIG_PCI_OLD_PROC
2473 ¤ò¥»¥Ã¥È¤¹¤ë¤ÈÍøÍѲÄǽ¤Ç¤¢¤Ã¤¿)¡£
2474 Linux 2.4 ¤ÇºÆ¤Ó¥ª¥×¥·¥ç¥ó¤Ê¤·¤Ç͸ú¤ËÌá¤Ã¤¿¡£
2475 ¤µ¤é¤Ë¡¢Linux 2.6 ¤ÇÈó¿ä¾©¤È¤Ê¤ê
2476 .RB ( CONFIG_PCI_LEGACY_PROC
2477 ¤ò¥»¥Ã¥È¤¹¤ë¤È¤Þ¤ÀÍøÍѲÄǽ¤Ç¤¢¤Ã¤¿)¡¢
2478 ºÇ½ªÅª¤Ë Linux 2.6.17 °Ê¹ß¤Ç´°Á´¤Ëºï½ü¤µ¤ì¤¿¡£
2479 .\" FIXME /proc/sched_debug
2481 .\" .IR /proc/sched_debug " (since Linux 2.6.23)"
2482 .\" See also /proc/[pid]/sched
2485 .\"O A directory with the
2487 .\"O mid-level pseudo-file and various SCSI low-level
2488 .\"O driver directories,
2489 .\"O which contain a file for each SCSI host in this system, all of
2490 .\"O which give the status of some part of the SCSI IO subsystem.
2491 .\"O These files contain ASCII structures and are, therefore, readable with
2494 Ãæ´Ö¥ì¥Ù¥ëµ¼»÷¥Õ¥¡¥¤¥ë¤È¤¤¤¯¤Ä¤«¤Î SCSI Äã¥ì¥Ù¥ë¥É¥é¥¤¥Ð¤Î
2495 ¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤à¥Ç¥£¥ì¥¯¥È¥ê¡£
2496 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï ASCII ¤Çɽ¸½¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç
2500 .\"O You can also write to some of the files to reconfigure the subsystem or
2501 .\"O switch certain features on or off.
2502 ¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¤Ï½ñ¤¹þ¤ß²Äǽ¤Ç¡¢¥µ¥Ö¥·¥¹¥Æ¥à¤ÎÀßÄê¤òÊѹ¹¤·¤¿¤ê¡¢
2503 ÆÃÄê¤Îµ¡Ç½¤ò¥ª¥ó/¥ª¥Õ¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
2506 .\"O This is a listing of all SCSI devices known to the kernel.
2507 .\"O The listing is similar to the one seen during bootup.
2508 .\"O scsi currently supports only the \fIadd-single-device\fP command which
2509 .\"O allows root to add a hotplugged device to the list of known devices.
2510 ¥«¡¼¥Í¥ë¤¬ÃΤäƤ¤¤ë¤¹¤Ù¤Æ¤Î SCSI ¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¡£
2511 ¤³¤Î¥ê¥¹¥È¤Ïµ¯Æ°»þ¤Ë (¥³¥ó¥½¡¼¥ë¤Ç) ¸«¤é¤ì¤ë¤â¤Î¤È¤Û¤ÜƱ¤¸¤Ç¤¢¤ë¡£
2512 scsi ¤Ï¸½ºß¤Î¤È¤³¤í \fIadd-single-device\fP ¥³¥Þ¥ó¥É¤Î¤ß¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
2513 ¤³¤ì¤Ë¤è¤ê¥ë¡¼¥È (root) ¤Ï´ûÃΤΥǥХ¤¥¹¥ê¥¹¥È¤Ø³èÀþÁÞÈ´ (hotplugged)
2514 ¥Ç¥Ð¥¤¥¹¤ò²Ã¤¨¤ë¤³¤È¤¬¤Ç¤¤ë¡£
2520 .\"O echo \(aqscsi add-single-device 1 0 5 0\(aq > /proc/scsi/scsi
2525 .\"O host scsi1 to scan on SCSI channel 0 for a device on ID 5 LUN 0.
2527 .\"O is already a device known on this address or the address is invalid, an
2528 .\"O error will be returned.
2529 ¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢
2533 echo \(aqscsi add-single-device 1 0 5 0\(aq > /proc/scsi/scsi
2537 ¥Û¥¹¥È¥¢¥À¥×¥¿ scsi1 ¤Ï SCSI ¥Á¥ã¥Í¥ë 0 ¤Ç
2538 ID 5 LUN 0 ¤Î¥Ç¥Ð¥¤¥¹¤òõ¤¹¡£
2539 ¤â¤·¤³¤Î¥¢¥É¥ì¥¹¤Ë´ûÃΤΥǥХ¤¥¹¤¬¤¢¤ë¤«¡¢
2540 ÉÔÀµ¤Ê¥¢¥É¥ì¥¹¤Ç¤¢¤Ã¤¿¤Ê¤é¤Ð¥¨¥é¡¼¤¬Ê֤롣
2542 .I /proc/scsi/[drivername]
2543 .\"O \fI[drivername]\fP can currently be NCR53c7xx, aha152x, aha1542, aha1740,
2544 .\"O aic7xxx, buslogic, eata_dma, eata_pio, fdomain, in2000, pas16, qlogic,
2545 .\"O scsi_debug, seagate, t128, u15-24f, ultrastore, or wd7000.
2546 .\"O These directories show up for all drivers that registered at least one
2548 .\"O Every directory contains one file per registered host.
2549 .\"O Every host-file is named after the number the host was assigned during
2550 .\"O initialization.
2551 ¤¤¤Þ¤Î¤È¤³¤í \fI[drivername]\fP ¤Ï NCR53c7xx, aha152x, aha1542, aha1740,
2552 aic7xxx, buslogic, eata_dma, eata_pio, fdomain, in2000, pas16, qlogic,
2553 scsi_debug, seagate, t128, u15-24f, ultrastore, wd7000
2555 ¾¯¤Ê¤¯¤È¤â 1 ¤Ä¤Î SCSI ¥Û¥¹¥È¥Ð¥¹¥¢¥À¥×¥¿ (HBA) ¤Ë
2556 ¥É¥é¥¤¥Ð¤¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¤È¡¢¤½¤Î¥É¥é¥¤¥Ð¤ËÂбþ¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤¬¸½¤ì¤ë¡£
2557 ¤½¤ì¤¾¤ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢
2558 ÅÐÏ¿¤µ¤ì¤¿¥Û¥¹¥È¥¢¥À¥×¥¿¤ËÂбþ¤·¤Æ¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤ë¡£
2559 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¥·¥¹¥Æ¥à¤Î½é´ü²½¤ÎºÝ¤Ë
2560 ¥Û¥¹¥È¥¢¥À¥×¥¿¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿ÈÖ¹æ¤Ë¤Ê¤ë¡£
2562 .\"O Reading these files will usually show driver and host configuration,
2563 .\"O statistics, etc.
2564 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òÆɤá¤Ð¥É¥é¥¤¥Ð¤È¥Û¥¹¥È¥¢¥À¥×¥¿¤ÎÀßÄê¤ä
2565 Åý·×¤Ê¤É¤ò¸«¤ë¤³¤È¤¬¤Ç¤¤ë¡£
2567 .\"O Writing to these files allows different things on different hosts.
2568 .\"O For example, with the \fIlatency\fP and \fInolatency\fP commands,
2569 .\"O root can switch on and off command latency measurement code in the
2570 .\"O eata_dma driver.
2571 .\"O With the \fIlockup\fP and \fIunlock\fP commands,
2572 .\"O root can control bus lockups simulated by the scsi_debug driver.
2573 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î½ñ¤¹þ¤ß¤Ï¥Û¥¹¥È¥¢¥À¥×¥¿¤´¤È¤Ë°Û¤Ê¤ëÆ°ºî¤ò°ú¤µ¯¤³¤¹¡£
2574 ¤¿¤È¤¨¤Ð \fIlatency\fP ¤È \fInolatency\fP ¥³¥Þ¥ó¥É¤òÍѤ¤¤ë¤È¡¢
2575 ¥ë¡¼¥È (root¡¢¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼) ¤Ï eata_dma ¥É¥é¥¤¥Ð¤Î±£¤·Â¬Äꥳ¡¼¥É¤Î
2576 ¥ª¥ó/¥ª¥Õ¤òÀÚ¤êÂؤ¨¤ë¤³¤È¤¬¤Ç¤¤ë¡£
2577 ¤Þ¤¿ \fI lockup\fP ¤È \fIunlock\fP ¥³¥Þ¥ó¥É¤òÍѤ¤¤ë¤È¡¢¥ë¡¼¥È¤Ï
2578 scsi_debug ¥É¥é¥¤¥Ð¤¬¥·¥ß¥å¥ì¡¼¥È¤¹¤ë¥Ð¥¹¥í¥Ã¥¯¥¢¥Ã¥× (bus lockup) ¤ò
2579 À©¸æ¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
2582 .\"O This directory refers to the process accessing the
2585 .\"O and is identical to the
2587 .\"O directory named by the process ID of the same process.
2588 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¥×¥í¥»¥¹¤Ë (¥×¥í¥»¥¹¼«¿È¤Î)
2590 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ø¤Î¥¢¥¯¥»¥¹¤ò»²¾È¤µ¤»¤ë¡£
2593 Æâ¤Î (¤³¤Î¥×¥í¥»¥¹¤Î) ¥×¥í¥»¥¹ ID ¤¬Ì¾Á°¤È¤Ê¤Ã¤Æ¤¤¤ë
2594 ¥Ç¥£¥ì¥¯¥È¥ê¤ÈÁ´¤¯Æ±°ì¤Ç¤¢¤ë¡£
2597 .\"O Information about kernel caches.
2598 .\"O Since Linux 2.6.16 this file is only present if the
2600 .\"O kernel configuration option is enabled.
2601 Linux 2.6.16 °Ê¹ß¤Ç¤Ï¡¢
2602 ¥«¡¼¥Í¥ëÀßÄꥪ¥×¥·¥ç¥ó
2604 ¤¬Í¸ú¤Î¾ì¹ç¤Ë¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
2606 .\"O .I /proc/slabinfo
2608 ¥«¡¼¥Í¥ë¥¥ã¥Ã¥·¥å¤Î¾ðÊó¡£
2610 ¤Î¥Õ¥£¡¼¥ë¥É¤Ï°Ê²¼¤Î¤È¤ª¤ê¡£
2625 .\"O .BR slabinfo (5)
2632 .\"O kernel/system statistics.
2633 .\"O Varies with architecture.
2635 .\"O entries include:
2636 ¥«¡¼¥Í¥ë/¥·¥¹¥Æ¥à¤ÎÅý·×¡£
2637 ¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ë¤è¤Ã¤Æ°Û¤Ê¤ë¡£
2638 ¶¦ÄÌ¥¨¥ó¥È¥ê¤Ë¤Ï°Ê²¼¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤ë¡£
2641 \fIcpu 3357 0 4313 1362393\fP
2642 .\"O The amount of time, measured in units of
2643 .\"O USER_HZ (1/100ths of a second on most architectures, use
2644 .\"O .IR sysconf(_SC_CLK_TCK)
2645 .\"O to obtain the right value),
2646 .\"O .\" 1024 on Alpha and ia64
2647 .\"O that the system spent in user mode,
2648 .\"O user mode with low priority (nice), system mode, and the
2649 .\"O idle task, respectively.
2650 .\"O .\" FIXME Actually, the following info about the /proc/stat 'cpu' field
2651 .\"O .\" does not seem to be quite right (at least in 2.6.12)
2652 .\"O The last value should be USER_HZ times the
2653 .\"O second entry in the uptime pseudo-file.
2655 Ä㤤ͥÀèÅÙ (nice) ¤Ç¤Î¥æ¡¼¥¶¡¼¥â¡¼¥É¡¢
2657 ¥¿¥¹¥¯ÂÔ¤Á (idle task)¡¢
2658 ¤Ç¤½¤ì¤¾¤ì¥·¥¹¥Æ¥à¤¬¾ÃÈñ¤·¤¿»þ´Ö¤ò
2659 USER_HZ ¤òñ°Ì¤È¤·¤Æ·×¬¤·¤¿ÀÑ»»ÃÍ¡£
2660 (¤Û¤È¤ó¤É¤Î¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤Ï USER_HZ ¤Ï 1/100 ÉäǤ¢¤ë¡£
2662 .I sysconf(_SC_CLK_TCK)
2663 ¤ò»È¤Ã¤Æ¼èÆÀ¤Ç¤¤ë¡£)
2664 .\" Alpha ¤È ia64 ¤Ç¤Ï 1024 ¤Ç¤¢¤ë¡£
2665 .\" FIXME: ¼ÂºÝ¤Ë¤Ï¡¢/proc/stat ¤Î 'cpu' ¥Õ¥£¡¼¥ë¥É¤Ë¤Ä¤¤¤Æ¤Î°Ê²¼¤Î¾ðÊó¤Ï
2666 .\" Àµ¤·¤¤¤È¤Ï¸À¤¨¤Ê¤¤¤è¤¦¤Ç¤¢¤ë (¾¯¤Ê¤¯¤È¤â 2.6.12 ¤Ç¤Ï)¡£
2667 ºÇ¸å¤ÎÃÍ (¥¿¥¹¥¯ÂÔ¤Á) ¤Ïµ¿»÷¥Õ¥¡¥¤¥ë uptime ¤Î 2ÈÖÌܤΥ¨¥ó¥È¥ê¤ÎÃͤò
2668 USER_HZ Çܤ·¤¿¤â¤Î¤Ç¤¢¤ë¡£
2670 .\"O In Linux 2.6 this line includes three additional columns:
2672 .\"O \- time waiting for I/O to complete (since 2.5.41);
2674 .\"O \- time servicing interrupts (since 2.6.0-test4);
2676 .\"O \- time servicing softirqs (since 2.6.0-test4).
2677 Linux 2.6 ¤Ç¤Ï¡¢¤³¤Î¹Ô¤Ë 3¤Ä¤ÎÍó¤¬Äɲ䵤ì¤Æ¤¤¤ë:
2679 (I/O ¤Î´°Î»¤òÂԤäƤ¤¤¿»þ´Ö; 2.5.41 °Ê¹ß);
2681 (³ä¤ê¹þ¤ß½èÍý¤ò¹Ô¤Ã¤¿»þ´Ö; 2.6.0-test4 °Ê¹ß);
2683 (¥½¥Õ¥È³ä¤ê¹þ¤ß¤Î½èÍý¤ò¹Ô¤Ã¤¿»þ´Ö; 2.6.0-test4 °Ê¹ß)¡£
2685 .\"O Since Linux 2.6.11, there is an eighth column,
2687 .\"O \- stolen time, which is the time spent in other operating systems when
2688 .\"O running in a virtualized environment
2689 Linux 2.6.11 °Ê¹ß¤Ç¤Ï¡¢8 ¸ÄÌܤÎÍó¤È¤·¤Æ
2691 (Åð¤Þ¤ì¤¿»þ´Ö; stolen time) ¤¬Â¸ºß¤¹¤ë¡£
2692 ¤³¤ì¤Ï¡¢²¾ÁÛ²½´Ä¶¤Ç¤ÎÆ°ºî»þ¤Ë¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ë¤è¤ê
2693 ¾ÃÈñ¤µ¤ì¤¿»þ´Ö¤Ç¤¢¤ë¡£
2695 .\"O Since Linux 2.6.24, there is a ninth column,
2697 .\"O which is the time spent running a virtual CPU for guest
2698 .\"O operating systems under the control of the Linux kernel.
2699 Linux 2.6.24 °Ê¹ß¤Ç¤Ï¡¢9 ¸ÄÌܤÎÍó¤È¤·¤Æ¡¢
2702 Linux ¥«¡¼¥Í¥ë¤ÎÀ©¸æ²¼¤Î¥²¥¹¥È¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î²¾ÁÛ CPU ¤Î
2703 ¼Â¹Ô¤Ë¾ÃÈñ¤µ¤ì¤¿»þ´Ö¤Ç¤¢¤ë¡£
2704 .\" See Changelog entry for 5e84cfde51cf303d368fcb48f22059f37b3872de
2706 \fIpage 5741 1808\fP
2707 .\"O The number of pages the system paged in and the number that were paged
2708 .\"O out (from disk).
2709 ¥·¥¹¥Æ¥à¤¬ (¥Ç¥£¥¹¥¯¤«¤é) ¥Ú¡¼¥¸¥¤¥ó/¥Ú¡¼¥¸¥¢¥¦¥È¤·¤¿¥Ú¡¼¥¸¿ô¡£
2712 .\"O The number of swap pages that have been brought in and out.
2713 ¥¹¥ï¥Ã¥×¥¤¥ó/¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤¿¥Ú¡¼¥¸¿ô¡£
2715 .\"O .\" FIXME The following is not the full picture for the 'intr' of
2716 .\"O .\" /proc/stat on 2.6:
2717 .\" FIXME °Ê²¼¤ÎÀâÌÀ¤Ï¡¢¥«¡¼¥Í¥ë 2.6 ¤Î /proc/stat 'intr' ¥Õ¥£¡¼¥ë¥É¤Î
2718 .\" ´°Á´¤ÊÀâÌÀ¤Ç¤Ï¤Ê¤¤¡£½ñ¤«¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¢¤ë¡£
2720 .\"O This line shows counts of interrupts serviced since boot time,
2721 .\"O for each of the possible system interrupts.
2722 .\"O The first column is the total of all interrupts serviced;
2723 .\"O each subsequent column is the total for a particular interrupt.
2724 ¤³¤Î¹Ô¤Ï¥·¥¹¥Æ¥àµ¯Æ°»þ°Ê¹ß¤Ë½èÍý¤µ¤ì¤¿³ä¤ê¹þ¤ß¤Î²ó¿ô¤ò¼¨¤¹¡£
2725 ºÇ½é¤ÎÍó¤Ï½èÍý¤µ¤ì¤¿³ä¤ê¹þ¤ßÁ´¤Æ¤Î¹ç·×¤Ç¤¢¤ê¡¢¤½¤ì°Ê¹ß¤ÎÍó¤Ï
2726 ¸Ä¡¹¤Î³ä¤ê¹þ¤ß¤Ë¤Ä¤¤¤Æ¤Î¹ç·×¿ô¤Ç¤¢¤ë¡£
2728 \fIdisk_io: (2,0):(31,30,5764,1,2) (3,0):\fP...
2729 .\"O (major,disk_idx):(noinfo, read_io_ops, blks_read, write_io_ops, blks_written)
2731 .\"O (Linux 2.4 only)
2732 (¥á¥¸¥ã¡¼ÈÖ¹æ, ¥Ç¥£¥¹¥¯¥¤¥ó¥Ç¥Ã¥¯¥¹ÈÖ¹æ):(¾ðÊó¤Ê¤· (noinfo), Æɤ߹þ¤ß²ó¿ô,
2733 Æɤ߹þ¤ß¥Ö¥í¥Ã¥¯¿ô, ½ñ¤½Ð¤·²ó¿ô, ½ñ¤½Ð¤·¥Ö¥í¥Ã¥¯¿ô)
2738 .\"O The number of context switches that the system underwent.
2739 ¥³¥ó¥Æ¥¯¥¹¥È¡¦¥¹¥¤¥Ã¥Á¤Î±ä¤Ù²ó¿ô¡£
2741 \fIbtime 769041601\fP
2742 .\"O boot time, in seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
2743 µ¯Æ°»þ¹ï¡¢µª¸µ (Epoch; 1970-01-01 00:00:00 +0000 (UTC)) ¤«¤é¤ÎÉÿô¡£
2745 \fIprocesses 86031\fP
2746 .\"O Number of forks since boot.
2747 ¥·¥¹¥Æ¥àµ¯Æ°»þ¤«¤é¤Î±ä¤Ù¥Õ¥©¡¼¥¯ (fork) ¿ô¡£
2749 \fIprocs_running 6\fP
2750 .\"O Number of processes in runnable state.
2751 .\"O (Linux 2.5.45 onwards.)
2752 ¼Â¹ÔÃæ¾õÂÖ¤Î¥×¥í¥»¥¹¿ô (Linux 2.5.45 °Ê¹ß)¡£
2754 \fIprocs_blocked 2\fP
2755 .\"O Number of processes blocked waiting for I/O to complete.
2756 .\"O (Linux 2.5.45 onwards.)
2757 I/O ´°Î»ÂÔ¤Á¤ÇÄä»ß (blocked) ¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¿ô
2758 (Linux 2.5.45 °Ê¹ß)¡£
2762 .\"O Swap areas in use.
2764 .\"O .BR swapon (8).
2765 »ÈÍÑÃæ¤Î¥¹¥ï¥Ã¥×Îΰ衣
2770 .\"O This directory (present since 1.3.57) contains a number of files
2771 .\"O and subdirectories corresponding to kernel variables.
2772 .\"O These variables can be read and sometimes modified using
2773 .\"O the \fI/proc\fP file system, and the (deprecated)
2776 .\"O Presently, there are subdirectories
2777 .\"O .IR abi ", " debug ", " dev ", " fs ", " kernel ", " net ", " proc ", "
2778 .\"O .IR rxrpc ", " sunrpc " and " vm
2779 .\"O that each contain more files and subdirectories.
2780 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê (1.3.57 °Ê¹ß¤Ë¸ºß) ¤Ï¥«¡¼¥Í¥ëÊÑ¿ô¤ËÂбþ¤¹¤ë¤¤¤¯¤Ä¤«¤Î
2781 ¥Õ¥¡¥¤¥ë¤È¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤à¡£
2782 ¤³¤ì¤é¤ÎÊÑ¿ô¤ÏÆɤ߽Ф·²Äǽ¤Ç¤¢¤ë¡£
2783 ¤Þ¤¿¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï \fI/proc\fP ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ä¡¢
2784 (Èó¿ä¾©¤Î) ¥·¥¹¥Æ¥à¥³¡¼¥ë
2786 ¤òÍѤ¤¤Æ½ñ¤´¹¤¨¤ë¤³¤È¤â¤Ç¤¤ë¡£
2788 .IR abi ", " debug ", " dev ", " fs ", " kernel ", " net ", " proc ", "
2789 .IR rxrpc ", " sunrpc ", " vm
2790 ¤È¤¤¤¦¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤Ã¤Æ¡¢
2791 ¤½¤ì¤¾¤ì¤¬¥Õ¥¡¥¤¥ë¤È¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤Ç¤¤¤ë¡£
2793 .\"O .IR /proc/sys/abi " (since Linux 2.4.10)"
2794 .IR /proc/sys/abi " (Linux 2.4.10 °Ê¹ß)"
2795 .\"O This directory may contain files with application binary information.
2796 .\"O .\" On some systems, it is not present.
2797 .\"O See the kernel source file
2798 .\"O .I Documentation/sysctl/abi.txt
2799 .\"O for more information.
2800 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¾ðÊó¤¬Æþ¤Ã¤¿¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤ë¡£
2801 .\" ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
2802 ¹¹¤Ë¾Ü¤·¤¤¾ðÊó¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
2803 .I Documentation/sysctl/abi.txt
2807 .\"O This directory may be empty.
2808 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¶õ¤Î¾ì¹ç¤â¤¢¤ë¡£
2811 .\"O This directory contains device-specific information (e.g.,
2812 .\"O .IR dev/cdrom/info ).
2814 .\"O some systems, it may be empty.
2815 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Ç¥Ð¥¤¥¹ÆÃͤξðÊó (¤¿¤È¤¨¤Ð
2816 .IR dev/cdrom/info )
2818 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¶õ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
2821 .\"O This contains the subdirectories
2822 .\"O .IR binfmt_misc ", " epoll ", " inotify ", and " mqueue ,
2824 .\"O .IR dentry-state ", " dir-notify-enable ", " dquot-nr ", " file-max ", "
2825 .\"O .IR file-nr ", " inode-max ", " inode-nr ", " inode-state ", "
2826 .\"O .IR lease-break-time ", " leases-enable ", "
2827 .\"O .IR overflowgid ", " overflowuid ", "
2828 .\"O .IR suid_dumpable ", "
2829 .\"O .IR super-max ", and " super-nr .
2830 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê
2831 .IR binfmt_misc ", " epoll ", " inotify ", " mqueue
2832 ¤È°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ë:
2833 .IR dentry-state ", " dir-notify-enable ", " dquot-nr ", " file-max ", "
2834 .IR file-nr ", " inode-max ", " inode-nr ", " inode-state ", "
2835 .IR lease-break-time ", " leases-enable ", "
2836 .IR overflowgid ", " overflowuid ", "
2837 .IR suid_dumpable ", "
2838 .IR super-max ", " super-nr .
2840 .I /proc/sys/fs/binfmt_misc
2841 .\"O Documentation for files in this directory can be found
2842 .\"O in the kernel sources in
2843 .\"O .IR Documentation/binfmt_misc.txt .
2844 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Î¥É¥¥å¥á¥ó¥È¤Ï¡¢
2846 .I Documentation/binfmt_misc.txt
2849 .\"O .IR /proc/sys/fs/dentry-state " (since Linux 2.2)"
2850 .IR /proc/sys/fs/dentry-state " (Linux 2.2 °Ê¹ß)"
2851 .\"O This file contains information about the status of the
2852 .\"O directory cache (dcache).
2853 .\"O The file contains six numbers,
2854 .\"O .IR nr_dentry ", " nr_unused ", " age_limit " (age in seconds), "
2856 .\"O (pages requested by system) and two dummy values.
2857 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥£¥ì¥¯¥È¥ê¥¥ã¥Ã¥·¥å (dcache) ¤Î¾õÂ֤˴ؤ¹¤ë¾ðÊó¤¬
2858 Æþ¤Ã¤Æ¤¤¤ë¡£¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
2859 .IR nr_dentry ", " nr_unused ", " age_limit " (ÉÃñ°Ì¤Î age), " want_pages
2860 (¥·¥¹¥Æ¥à¤¬¥ê¥¯¥¨¥¹¥È¤·¤¿¥Ú¡¼¥¸¿ô), ¥À¥ß¡¼¤Î 2 ¤Ä¤ÎÃÍ¡¢
2861 ¤È¤¤¤¦ 6 ¤Ä¤Î¿ô»ú¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2865 .\"O is the number of allocated dentries (dcache entries).
2866 .\"O This field is unused in Linux 2.2.
2868 ¤Ï³ä¤êÅö¤Æ¤é¤ì¤¿ dentry (dcache ¥¨¥ó¥È¥ê) ¤Î¿ô¤Ç¤¢¤ë¡£
2869 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï Linux 2.2 ¤Ç¤Ï»ÈÍѤµ¤ì¤Ê¤¤¡£
2872 .\"O is the number of unused dentries.
2874 ¤Ï̤»ÈÍѤΠdentry ¿ô¤Ç¤¢¤ë¡£
2877 .\"O .\" looks like this is unused in kernels 2.2 to 2.6
2878 .\"O is the age in seconds after which dcache entries
2879 .\"O can be reclaimed when memory is short.
2881 ¤Ï¡¢¥á¥â¥ê¤¬ÉÔ¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¼¡¤Ë dcache entry ¤òºÆÍ×µá¤Ç¤¤ë¤è¤¦¤Ë
2882 ¤Ê¤ë¤Þ¤Ç¤Î»Ä¤ê»þ´Ö (Éÿô) ¤Ç¤¢¤ë¡£
2885 .\" looks like this is unused in kernels 2.2 to 2.6
2886 .\"O is nonzero when the kernel has called shrink_dcache_pages() and the
2887 .\"O dcache isn't pruned yet.
2889 ¤Ï¡¢¥«¡¼¥Í¥ë¤¬ shrink_dcache_pages() ¤ò¸Æ¤Ó½Ð¤·¤¿¤¬
2890 dcache ¤¬¤Þ¤À½Ì¾®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¡¢0 °Ê³°¤ÎÃͤȤʤ롣
2893 .I /proc/sys/fs/dir-notify-enable
2894 .\"O This file can be used to disable or enable the
2896 .\"O interface described in
2898 .\"O on a system-wide basis.
2903 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò¥·¥¹¥Æ¥àÁ´ÂΤÇ̵¸ú¤Ë¤·¤¿¤ê͸ú¤Ë¤·¤¿¤ê¤¹¤ë¡£
2904 .\"O A value of 0 in this file disables the interface,
2905 .\"O and a value of 1 enables it.
2906 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬Ìµ¸ú¤Ë¤Ê¤ê¡¢
2907 ÃÍ 1 ¤Î¾ì¹ç¤Ï͸ú¤Ë¤Ê¤ë¡£
2909 .I /proc/sys/fs/dquot-max
2910 .\"O This file shows the maximum number of cached disk quota entries.
2911 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥¥ã¥Ã¥·¥å¤µ¤ì¤ë¥Ç¥£¥¹¥¯ quota ¥¨¥ó¥È¥ê¤ÎºÇÂç¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2912 .\"O On some (2.4) systems, it is not present.
2913 (2.4 ·Ï¤Î) ¥·¥¹¥Æ¥à¤ÎÃæ¤Ë¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¤â¤Î¤â¤¢¤ë¡£
2914 .\"O If the number of free cached disk quota entries is very low and
2915 .\"O you have some awesome number of simultaneous system users,
2916 .\"O you might want to raise the limit.
2917 ¥¥ã¥Ã¥·¥å¤µ¤ì¤ë¥Ç¥£¥¹¥¯ quota ¥¨¥ó¥È¥ê¤Î¶õ¤¤¬Èó¾ï¤Ë¾¯¤Ê¤¯¡¢
2918 ¤È¤Æ¤â¿¤¯¤Î¥·¥¹¥Æ¥à¥æ¡¼¥¶¡¼¤¬Æ±»þ¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢
2919 ¤³¤ÎÀ©¸Â¤ò¾å¤²¤ë¤È¤¤¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
2921 .I /proc/sys/fs/dquot-nr
2922 .\"O This file shows the number of allocated disk quota
2923 .\"O entries and the number of free disk quota entries.
2924 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Ç¥£¥¹¥¯ quota ¤Î¥¨¥ó¥È¥ê¿ô¤È¡¢
2925 ¶õ¤¤¤Æ¤¤¤ë¥Ç¥£¥¹¥¯ quota ¤Î¥¨¥ó¥È¥ê¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
2927 .\"O .IR /proc/sys/fs/epoll " (since Linux 2.6.28)"
2928 .IR /proc/sys/fs/epoll " (Linux 2.6.28 °Ê¹ß)"
2929 .\"O This directory contains the file
2930 .\"O .IR max_user_watches ,
2931 .\"O which can be used to limit the amount of kernel memory consumed by the
2934 .\"O For further details, see
2936 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë
2941 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¾ÃÈñ¤¹¤ë¥«¡¼¥Í¥ë¥á¥â¥êÎ̤òÀ©¸Â¤¹¤ë¤Î¤Ë»ÈÍѤǤ¤ë¡£
2946 .I /proc/sys/fs/file-max
2947 .\"O This file defines
2948 .\"O a system-wide limit on the number of open files for all processes.
2949 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥àÁ´ÂÎ¤Ç¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤Ç¤¤ë
2950 ¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¤òÄêµÁ¤¹¤ë¡£
2952 .\"O .BR setrlimit (2),
2953 .\"O which can be used by a process to set the per-process limit,
2954 .\"O .BR RLIMIT_NOFILE ,
2955 .\"O on the number of files it may open.)
2956 (³Æ¥×¥í¥»¥¹¤¬¥ª¡¼¥×¥ó¤Ç¤¤ë¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¤ò
2961 .\"O If you get lots
2962 .\"O of error messages about running out of file handles,
2963 .\"O try increasing this value:
2964 ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò»È¤¤²Ì¤¿¤·¤ÆÂçÎ̤˥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¾ì¹ç¤Ï¡¢
2965 °Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤³¤ÎÃͤòÁý²Ã¤µ¤»¤Æ¤ß¤è:
2971 echo 100000 > /proc/sys/fs/file-max
2975 .\"O The kernel constant
2977 .\"O imposes an upper limit on the value that may be placed in
2980 ¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÃͤϡ¢¥«¡¼¥Í¥ëÄê¿ô
2984 .\"O If you increase
2985 .\"O .IR /proc/sys/fs/file-max ","
2986 .\"O be sure to increase
2987 .\"O .I /proc/sys/fs/inode-max
2988 .\"O to 3-4 times the new
2990 .\"O .IR /proc/sys/fs/file-max ","
2991 .\"O or you will run out of inodes.
2992 .I /proc/sys/fs/file-max
2994 .I /proc/sys/fs/inode-max
2996 .I /proc/sys/fs/file-max
2997 ¤ÎÃͤΠ3-4 ÇܤËÁý¤ä¤·¤Æ¤ª¤¯¤³¤È¡£
2998 ¤³¤¦¤·¤Ê¤¤¤È inode ¤ò»È¤¤²Ì¤¿¤·¤Æ¤·¤Þ¤¦¤À¤í¤¦¡£
3000 .I /proc/sys/fs/file-nr
3001 .\"O This (read-only) file gives the number of files presently opened.
3002 (¤³¤Î¥Õ¥¡¥¤¥ë¤ÏÆɤ߽Ф·ÀìÍѤÇ) Æɤ߽Ф¹¤È
3003 ¸½ºß¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¿ô¤¬ÆÀ¤é¤ì¤ë¡£
3004 .\"O It contains three numbers: the number of allocated file handles;
3005 .\"O the number of free file handles; and the maximum number of file handles.
3006 .\"O The kernel allocates file handles dynamically, but it
3007 .\"O doesn't free them again.
3008 .\"O If the number of allocated files is close to the
3009 .\"O maximum, you should consider increasing the maximum.
3010 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¡¦
3011 ¶õ¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¡¦¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¤ÎºÇÂçÃÍ¡¢
3012 ¤È¤¤¤¦ 3 ¤Ä¤Î¿ôÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3013 ¥«¡¼¥Í¥ë¤Ï¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤òưŪ¤Ë³ä¤êÅö¤Æ¤ë¤¬¡¢
3014 ¤½¤ì¤òºÆ¤Ó²òÊü¤·¤Ê¤¤¡£
3015 ³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¿ô¤¬ºÇÂçÃͤ˶á¤Å¤¤¤¿¾ì¹ç¤Ï¡¢
3016 ºÇÂçÃͤòÂ礤¯¤¹¤ë¤³¤È¤ò¹Íθ¤¹¤Ù¤¤Ç¤¢¤ë¡£
3017 .\"O When the number of free file handles is
3018 .\"O large, you've encountered a peak in your usage of file
3019 .\"O handles and you probably don't need to increase the maximum.
3020 ¶õ¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¿ô¤¬Â¿¤¤¾ì¹ç¤Ï¡¢
3021 ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Î»ÈÍѤΥԡ¼¥¯¤ò·Ð¸³¤·¤¿¤³¤È¤¬¤¢¤ê¡¢
3022 ºÇÂçÃͤòÂ礤¯¤¹¤ëɬÍפϤʤ¤¤À¤í¤¦¡£
3024 .I /proc/sys/fs/inode-max
3025 .\"O This file contains the maximum number of in-memory inodes.
3026 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥á¥â¥êÆâ inode ¤ÎºÇÂçÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3027 .\"O On some (2.4) systems, it may not be present.
3028 .\"O This value should be 3-4 times larger
3029 .\"O than the value in
3031 .\"O since \fIstdin\fP, \fIstdout\fP
3032 .\"O and network sockets also need an inode to handle them.
3033 .\"O When you regularly run out of inodes, you need to increase this value.
3034 (2.4 ·Ï¤Î) ¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
3037 ¤ÎÃͤΠ3-4 Çܤˤ¹¤Ù¤¤Ç¤¢¤ë¡£
3038 ¤³¤ì¤Ï \fIstdin\fP, \fIstdout\fP, ¥Í¥Ã¥È¥ï¡¼¥¯¥½¥±¥Ã¥È¤ò°·¤¦¤Ë¤â
3039 inode ¤¬É¬Íפʤ¿¤á¤Ç¤¢¤ë¡£
3040 Æü¾ïŪ¤Ë inode ¤ò»È¤¤²Ì¤¿¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤³¤ÎÃͤòÁý¤ä¤¹É¬Íפ¬¤¢¤ë¡£
3042 .I /proc/sys/fs/inode-nr
3043 .\"O This file contains the first two values from
3044 .\"O .IR inode-state .
3047 ¤ÎºÇ½é¤Î 2 ¤Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3049 .I /proc/sys/fs/inode-state
3051 .\"O contains seven numbers:
3052 .\"O .IR nr_inodes ,
3053 .\"O .IR nr_free_inodes ,
3054 .\"O .IR preshrink ,
3055 .\"O and four dummy values.
3057 .\"O is the number of inodes the system has allocated.
3058 .\"O This can be slightly more than
3060 .\"O because Linux allocates them one page full at a time.
3061 .\"O .I nr_free_inodes
3062 .\"O represents the number of free inodes.
3064 .\"O is nonzero when the
3068 .\"O and the system needs to prune the inode list instead of allocating more.
3069 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï 7 ¸Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë:
3071 .IR nr_free_inodes ,
3073 ¤È 4 ¤Ä¤Î¥À¥ß¡¼¤ÎÃͤǤ¢¤ë¡£
3075 ¤Ï¥·¥¹¥Æ¥à¤¬³ÎÊݤ¹¤ë inode ¤Î¿ô¤Ç¤¢¤ë¡£
3076 Linux ¤Ï 1 ÅÙ¤Ë 1 ¥Ú¡¼¥¸Ê¬¤¤¤Ã¤Ñ¤¤¤Ë nr_inode ¤ò³ÎÊݤ¹¤ë¤Î¤Ç¡¢¤³¤ÎÃͤ¬
3078 ¤è¤ê´öʬÂ礤¯¤Ê¤ë¤³¤È¤â¤¢¤ë¡£
3079 .\"Osato: pageful ¤Î°ÕÌ£¤¬¤è¤¯Ê¬¤«¤é¤Ê¤¤¡£
3081 ¤Ï¶õ¤¤¤Æ¤¤¤ë inode ¤Î¿ô¤òɽ¤¹¡£
3082 .IR nr_inodes " > " inode-max
3085 ¤Ï 0 °Ê³°¤ÎÃͤˤʤ롣
3086 ¤³¤Î¾ì¹ç¥·¥¹¥Æ¥à¤Ï inode ¤ò¤µ¤é¤Ë³ÎÊݤ¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
3087 inode ¥ê¥¹¥È¤òÀÚ¤êµÍ¤á¤ëɬÍפ¬¤¢¤ë¡£
3089 .\"O .IR /proc/sys/fs/inotify " (since Linux 2.6.13)"
3090 .IR /proc/sys/fs/inotify " (Linux 2.6.13 °Ê¹ß)"
3091 .\"O This directory contains files
3092 .\"O .IR max_queued_events ", " max_user_instances ", and " max_user_watches ,
3093 .\"O that can be used to limit the amount of kernel memory consumed by the
3096 .\"O For further details, see
3097 .\"O .BR inotify (7).
3098 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë
3099 .IR max_queued_events ", " max_user_instances ", and " max_user_watches
3102 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¾ÃÈñ¤¹¤ë¥«¡¼¥Í¥ë¥á¥â¥êÎ̤òÀ©¸Â¤¹¤ë¤Î¤ËÍøÍѤǤ¤ë¡£
3107 .I /proc/sys/fs/lease-break-time
3108 .\"O This file specifies the grace period that the kernel grants to a process
3109 .\"O holding a file lease
3110 .\"O .RB ( fcntl (2))
3111 .\"O after it has sent a signal to that process notifying it
3112 .\"O that another process is waiting to open the file.
3113 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤òÊÝ»ý¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤ËÂФ·¤Æ
3114 ¥«¡¼¥Í¥ë¤¬¥·¥°¥Ê¥ë¤òÁ÷¤ê¡¢
3115 ¾¤Î¥×¥í¥»¥¹¤¬¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥ª¡¼¥×¥ó¤¹¤ë¤Î¤òÂԤäƤ¤¤ë¤³¤È¤òÄÌÃΤ·¤Æ¤«¤é¡¢
3116 ¤½¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ¥«¡¼¥Í¥ë¤¬¥Õ¥¡¥¤¥ë¤Î¥ê¡¼¥¹ (lease, Âߤ·½Ð¤·)
3118 ¤ò»²¾È) ¤òµö¤¹Í±Í½´ü´Ö¤ò»ØÄꤹ¤ë¡£
3119 .\"O If the lease holder does not remove or downgrade the lease within
3120 .\"O this grace period, the kernel forcibly breaks the lease.
3121 ¥ê¡¼¥¹¥Û¥ë¥À (lease holder: ¥Õ¥¡¥¤¥ë¤ÎÂߤ·½Ð¤·¤ò¼õ¤±¤Æ¤¤¤ë¥×¥í¥»¥¹) ¤¬
3122 ͱͽ´ü´ÖÃæ¤Ë¥ê¡¼¥¹¤òºï½ü¤¹¤ë¤«³¬µé¤òÄ㤯¤·¤Ê¤¤¾ì¹ç¡¢
3123 ¥«¡¼¥Í¥ë¤Ï¥Õ¥¡¥¤¥ë¤Î¥ê¡¼¥¹¤ò¶¯À©Åª¤Ë»ß¤á¤ë¡£
3125 .I /proc/sys/fs/leases-enable
3126 .\"O This file can be used to enable or disable file leases
3127 .\"O .RB ( fcntl (2))
3128 .\"O on a system-wide basis.
3129 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥àÁ´ÂΤǤΥե¡¥¤¥ë¥ê¡¼¥¹
3131 ¤ò»²¾È) ¤ò͸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
3132 .\"O If this file contains the value 0, leases are disabled.
3133 .\"O A nonzero value enables leases.
3134 ¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤¬½ñ¤¹þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥ê¡¼¥¹¤Ï̵¸ú¤Ç¤¢¤ë¡£
3135 0 °Ê³°¤Î¾ì¹ç¤Ë¤Ï¥ê¡¼¥¹¤Ï͸ú¤Ç¤¢¤ë¡£
3137 .\"O .IR /proc/sys/fs/mqueue " (since Linux 2.6.6)"
3138 .IR /proc/sys/fs/mqueue " (Linux 2.6.6 °Ê¹ß)"
3139 .\"O This directory contains files
3140 .\"O .IR msg_max ", " msgsize_max ", and " queues_max ,
3141 .\"O controlling the resources used by POSIX message queues.
3142 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Õ¥¡¥¤¥ë
3143 .IR msg_max ", " msgsize_max ", and " queues_max
3144 ¤¬¤¢¤ë¡£¤³¤ì¤é¤Ï POSIX ¥á¥Ã¥»¡¼¥¸¥¥å¡¼¤Ç»ÈÍѤµ¤ì¤ë¥ê¥½¡¼¥¹¤Î
3147 .\"O .BR mq_overview (7)
3153 .\"O .IR /proc/sys/fs/overflowgid " and " /proc/sys/fs/overflowuid
3154 .IR /proc/sys/fs/overflowgid " ¤È " /proc/sys/fs/overflowuid
3156 .\"O allow you to change the value of the fixed UID and GID.
3157 .\"O The default is 65534.
3158 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤è¤ê¡¢¥æ¡¼¥¶¡¼¤Ï¸ÇÄê UID ¤È¸ÇÄê GID ¤ÎÃͤòÊѹ¹¤Ç¤¤ë¡£
3159 ¥Ç¥Õ¥©¥ë¥È¤Ï 65534 ¤Ç¤¢¤ë¡£
3160 .\"O Some file systems only support 16-bit UIDs and GIDs, although in Linux
3161 .\"O UIDs and GIDs are 32 bits.
3162 .\"O When one of these file systems is mounted
3163 .\"O with writes enabled, any UID or GID that would exceed 65535 is translated
3164 .\"O to the overflow value before being written to disk.
3165 Linux ¤Î UID ¤È GID ¤Ï 32 ¥Ó¥Ã¥È¤Ç¤¢¤ë¤¬¡¢
3166 16 ¥Ó¥Ã¥È¤Î UID ¤È GID ¤·¤«¥µ¥Ý¡¼¥È¤·¤Ê¤¤¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
3167 ¤³¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬½ñ¤¹þ¤ß¤òµö²Ä¤·¤Æ¥Þ¥¦¥ó¥È¤µ¤ì¤¿¾ì¹ç¡¢
3168 65535 ¤òĶ¤¨¤ë UID ¤È GID ¤Ï¡¢
3169 ¥Ç¥£¥¹¥¯¤Ë½ñ¤¹þ¤Þ¤ì¤ëÁ°¤Ë¥ª¡¼¥Ð¡¼¥Õ¥í¡¼ÃͤËÊÑ´¹¤µ¤ì¤ë¡£
3171 .\"O .IR /proc/sys/fs/suid_dumpable " (since Linux 2.6.13)"
3172 .IR /proc/sys/fs/suid_dumpable " (Linux 2.6.13 °Ê¹ß)"
3173 .\"O .\" The following is based on text from Documentation/sysctl/kernel.txt
3174 .\"O The value in this file determines whether core dump files are
3175 .\"O produced for set-user-ID or otherwise protected/tainted binaries.
3176 .\"O Three different integer values can be specified:
3177 .\" °Ê²¼¤Ï Documentation/sysctl/kernel.txt ¤ÎÆâÍƤ˴𤤤Ƥ¤¤ë¡£
3178 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤˤè¤ê¡¢set-user-ID ¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¤ä¡¢
3179 Êݸ¤«¤«¤Ã¤¿ (protected) ¥Ð¥¤¥Ê¥ê / tainted ¤Ê (±øÀ÷¤µ¤ì¤¿;
3180 ¥é¥¤¥»¥ó¥¹¤¬¥«¡¼¥Í¥ë¤ÈŬ¹ç¤·¤Ê¤¤) ¥Ð¥¤¥Ê¥ê¤ËÂФ·¤Æ¡¢¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤ò
3181 À¸À®¤¹¤ë¤«¤É¤¦¤«¤¬·èÄꤵ¤ì¤ë¡£
3182 °Ê²¼¤Î 3¤Ä¤ÎÃͤò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë:
3185 .\"O This provides the traditional (pre-Linux 2.6.13) behavior.
3186 .\"O A core dump will not be produced for a process which has
3187 .\"O changed credentials (by calling
3188 .\"O .BR seteuid (2),
3189 .\"O .BR setgid (2),
3190 .\"O or similar, or by executing a set-user-ID or set-group-ID program)
3191 .\"O or whose binary does not have read permission enabled.
3192 ¤³¤ÎÃͤò»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸ (Linux 2.6.13 ¤è¤êÁ°¤Î) Æ°ºî¤ò¤¹¤ë¡£
3195 ¤Ê¤É¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤ä¡¢set-user-ID ¤ä set-group-ID ¤µ¤ì¤¿¥×¥í¥°¥é¥à¤ò
3196 ¼Â¹Ô¤¹¤ë¤³¤È¤Ç) »ñ³Ê¾ðÊó (credentials) ¤¬Êѹ¹¤µ¤ì¤Æ¤¤¤ë¥×¥í¥»¥¹¤ä¡¢
3197 ¥×¥í¥»¥¹¤Î¼Â¹Ô¥Ð¥¤¥Ê¥ê¤ÎÆɤ߽Ф·µö²Ä¤¬¤Ê¤¤¥×¥í¥»¥¹¤ËÂФ·¤Æ¡¢
3198 ¥³¥¢¥À¥ó¥×¤òÀ¸À®¤·¤Ê¤¤¡£
3201 .\"O All processes dump core when possible.
3202 .\"O The core dump is owned by the file system user ID of the dumping process
3203 .\"O and no security is applied.
3204 .\"O This is intended for system debugging situations only.
3205 .\"O Ptrace is unchecked.
3206 ¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤Ç¡¢²Äǽ¤Ç¤¢¤ì¤Ð¥³¥¢¥À¥ó¥×¤ò¹Ô¤¦¡£
3207 ¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤Î½êͼԤϡ¢¥À¥ó¥×¤ò¹Ô¤¦¥×¥í¥»¥¹¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à UID
3208 ¤È¤Ê¤ê¡¢¥»¥¥å¥ê¥Æ¥£¾å¤Î¹Íθ¤Ï¹Ô¤ï¤ì¤Ê¤¤¡£
3209 ¤³¤ÎÃͤϡ¢¥·¥¹¥Æ¥à¥Ç¥Ð¥Ã¥°¤Î¾ìÌ̤À¤±¤òÁÛÄꤷ¤ÆÀߤ±¤é¤ì¤Æ¤¤¤ë¡£
3210 ptrace ¤Î¥Á¥§¥Ã¥¯¤â¹Ô¤ï¤ì¤Ê¤¤¡£
3212 \fI2\ ("suidsafe")\fP
3213 .\"O Any binary which normally would not be dumped (see "0" above)
3214 .\"O is dumped readable by root only.
3215 .\"O This allows the user to remove the core dump file but not to read it.
3216 .\"O For security reasons core dumps in this mode will not overwrite one
3217 .\"O another or other files.
3218 .\"O This mode is appropriate when administrators are
3219 .\"O attempting to debug problems in a normal environment.
3221 .\"Omotoki: "overwrite one another or other files" ¤ÎÌõ¤Ë¼«¿®¤Ê¤·¡£
3223 Ä̾ï¤Ï¥À¥ó¥×¤µ¤ì¤Ê¤¤¤è¤¦¤Ê¥Ð¥¤¥Ê¥ê (¾åµ¤Î "0" »²¾È) ¤ò
3224 root ¤À¤±¤¬Æɤ߽Ф·²Äǽ¤Ê·Á¤Ç¥À¥ó¥×¤¹¤ë¡£
3225 ¤³¤Î¾ì¹ç¡¢¥æ¡¼¥¶¤Ï¤½¤Î¥³¥¢¥À¥ó¥×¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¤³¤È¤Ï¤Ç¤¤ë¤¬¡¢
3226 Æɤळ¤È¤Ï¤Ç¤¤Ê¤¤¡£
3227 ¥»¥¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤«¤é¡¢¤³¤Î¥â¡¼¥É¤Î¥³¥¢¥À¥ó¥×¤Ç¤Ï¡¢
3228 ´û¸¤Î¥À¥ó¥×¥Õ¥¡¥¤¥ë¤ä¾¤Î¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
3229 ¤³¤Î¥â¡¼¥É¤Ï¡¢´ÉÍý¼Ô¤¬Ä̾ï¤Î´Ä¶¤ÇÌäÂê¤ò²òÀϤ·¤è¤¦¤È¤¹¤ëºÝ¤Ë
3232 .\"O .I /proc/sys/fs/super-max
3234 .\"O controls the maximum number of superblocks, and
3235 .\"O thus the maximum number of mounted file systems the kernel
3237 .\"O You only need to increase
3239 .\"O if you need to mount more file systems than the current value in
3242 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥¹¡¼¥Ñ¥Ö¥í¥Ã¥¯¤ÎÃͤòÀ©¸æ¤¹¤ë¡£
3243 ¤³¤ÎÃͤϥ«¡¼¥Í¥ë¤¬¥Þ¥¦¥ó¥È¤Ç¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎºÇÂçÃͤˤʤ롣
3246 ¤Çµö²Ä¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¿ô°Ê¾å¤Ë
3247 ¥Þ¥¦¥ó¥È¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤ÎÃͤòÁý²Ã¤µ¤»¤ë¤À¤±¤Ç¤è¤¤¡£
3249 .I /proc/sys/fs/super-nr
3251 .\"O contains the number of file systems currently mounted.
3252 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¸½ºß¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¿ô¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3255 .\"O This directory contains files controlling a range of kernel parameters,
3256 .\"O as described below.
3257 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢°Ê²¼¤ÇÀâÌÀ¤¹¤ëÍÍ¡¹¤Ê¥«¡¼¥Í¥ë¥Ñ¥é¥á¡¼¥¿¤ò
3258 À©¸æ¤¹¤ë¤¿¤á¤Î¥Õ¥¡¥¤¥ë¤¬ÇÛÃÖ¤µ¤ì¤Æ¤¤¤ë¡£
3260 .I /proc/sys/kernel/acct
3262 .\"O contains three numbers:
3263 .\"O .IR highwater ,
3266 .\"O .IR frequency .
3267 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï 3 ¤Ä¤ÎÃͤ¬´Þ¤Þ¤ì¤Æ¤¤¤ë:
3272 .\"O If BSD-style process accounting is enabled these values control
3274 .\"O If free space on file system where the log lives goes below
3276 .\"O percent accounting suspends.
3277 .\"O If free space gets above
3279 .\"O percent accounting resumes.
3282 .\"O how often the kernel checks the amount of free space (value is in
3284 .\"O Default values are 4, 2 and 30.
3285 BSD-style process accounting ¤¬Í¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
3286 ¤³¤ì¤é 3 ¤Ä¤ÎÃͤ¬Æ°ºî¤òÀ©¸æ¤¹¤ë¡£
3287 ¥í¥°¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¶õ¤Îΰ褬
3289 ¥Ñ¡¼¥»¥ó¥È°Ê²¼¤Ë¤Ê¤Ã¤¿¾ì¹ç¤Ï¡¢¥í¥°µÏ¿¤ò°ì»þÄä»ß¤¹¤ë¡£
3292 ¥Ñ¡¼¥»¥ó¥È°Ê¾å¤Ë¤Ê¤Ã¤¿¾ì¹ç¤Ë¡¢¥í¥°µÏ¿¤òºÆ³«¤¹¤ë¡£
3294 ¤Ï¥«¡¼¥Í¥ë¤¬¶õ¤Îΰè¤Î¥Á¥§¥Ã¥¯¤ò¤¹¤ëÉÑÅ٤Ǥ¢¤ë (ñ°Ì¤ÏÉÃ)¡£
3295 ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϡ¢4, 2, 30 ¤Ç¤¢¤ë¡£
3296 .\"O That is, suspend accounting if 2% or less space is free; resume it
3297 .\"O if 4% or more space is free; consider information about amount of free space
3298 .\"O valid for 30 seconds.
3299 ¤Ä¤Þ¤ê¡¢¶õ¤Îΰ褬 2% °Ê²¼¤Ë¤Ê¤ë¤È¥í¥°µÏ¿¤ò°ì»þÄä»ß¤·¡¢
3300 ¶õ¤Îΰ褬 4% °Ê¾å¤È¤Ê¤Ã¤¿¤È¤¤ËºÆ³«¤¹¤ë¡£
3301 ¶õ¤Îΰè¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï 30 ÉôÖ͸ú¤Ç¤¢¤ëÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
3303 .\"O .IR /proc/sys/kernel/cap-bound " (from Linux 2.2 to 2.6.24)"
3304 .IR /proc/sys/kernel/cap-bound " (Linux 2.2 to 2.6.24 °Ê¹ß)"
3305 .I /proc/sys/kernel/cap-bound
3306 .\"O This file holds the value of the kernel
3307 .\"O .I "capability bounding set"
3308 .\"O (expressed as a signed decimal number).
3309 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥«¡¼¥Í¥ë¤Î
3310 .I "capability bounding set"
3311 (Éä¹æÉÕ¤ 10 ¿Ê¿ôɽ¸½) ¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3312 .\"O This set is ANDed against the capabilities permitted to a process
3314 .\"O .BR execve (2).
3316 Ãæ¤Ï¡¢¤³¤Î¥»¥Ã¥È¤È¥×¥í¥»¥¹¤Ëµö²Ä¤µ¤ì¤Æ¤¤¤ë¸¢¸Â¤Î AND ¤¬¤È¤é¤ì¤ë¡£
3317 .\"O Starting with Linux 2.6.25,
3318 .\"O the system-wide capability bounding set disappeared,
3319 .\"O and was replaced by a per-thread bounding set; see
3320 .\"O .BR capabilities (7).
3321 Linux 2.6.25 °Ê¹ß¤Ç¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤΥ±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È¤Ï
3322 ¤Ê¤¯¤Ê¤ê¡¢¥¹¥ì¥Ã¥Éñ°Ì¤Î¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥»¥Ã¥È¤ËÃÖ¤´¹¤¨¤é¤ì¤¿¡£
3323 .BR capabilities (7)
3326 .I /proc/sys/kernel/core_pattern
3332 .I /proc/sys/kernel/core_uses_pid
3338 .I /proc/sys/kernel/ctrl-alt-del
3340 .\"O controls the handling of Ctrl-Alt-Del from the keyboard.
3341 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥¡¼¥Ü¡¼¥É¤Î Ctrl-Alt-Del ¤Î°·¤¤¤òÀ©¸æ¤¹¤ë¡£
3342 .\"O When the value in this file is 0, Ctrl-Alt-Del is trapped and
3345 .\"O program to handle a graceful restart.
3346 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤¢¤ëÃͤ¬ 0 ¤Î¾ì¹ç¡¢
3347 Ctrl-Alt-Del ¤¬Ê᪤µ¤ì¤ë¤È
3349 ¥×¥í¥°¥é¥à¤ËÁ÷¤é¤ì¤Æ¡¢Àµ¤·¤¯ºÆµ¯Æ°¤µ¤ì¤ë¡£
3350 .\"O When the value is greater than zero, Linux's reaction to a Vulcan
3351 .\"O Nerve Pinch (tm) will be an immediate reboot, without even
3352 .\"O syncing its dirty buffers.
3353 Ãͤ¬ 0 ¤è¤êÂ礤¤¾ì¹ç¡¢Vulcan Nerve Pinch (tm) ¤ËÈ¿±þ¤·¤Æ¡¢
3354 Linux ¤Ï¥À¡¼¥Æ¥£¥Ð¥Ã¥Õ¥¡¤òƱ´ü¤µ¤»¤ë¤³¤È¤Ê¤¯¡¢¤¹¤°¤ËºÆµ¯Æ°¤ò¹Ô¤¦¡£
3355 .\"O Note: when a program (like dosemu) has the keyboard in "raw"
3356 .\"O mode, the ctrl-alt-del is intercepted by the program before it
3357 .\"O ever reaches the kernel tty layer, and it's up to the program
3358 .\"O to decide what to do with it.
3359 Ãí°Õ: ¥×¥í¥°¥é¥à (dosemu ¤Ê¤É) ¤Ë "raw" ¥â¡¼¥É¤Î¥¡¼¥Ü¡¼¥É¤¬¤¢¤ë¾ì¹ç¡¢
3360 ctrl-alt-del ¤Ï¥«¡¼¥Í¥ë¤Î tty ¥ì¥¤¥ä¡¼¤ËÅþ㤹¤ëÁ°¤Ë
3361 ¥×¥í¥°¥é¥à¤Ë¼×ÃǤµ¤ì¡¢
3362 ¥×¥í¥°¥é¥à¤ËÁ÷¤é¤ì¤Æ¤É¤Î¤è¤¦¤Ë°·¤¦¤«¤¬·è¤á¤é¤ì¤ë¡£
3364 .I /proc/sys/kernel/hotplug
3366 .\"O contains the path for the hotplug policy agent.
3367 .\"O The default value in this file is
3368 .\"O .IR /sbin/hotplug .
3369 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥Û¥Ã¥È¥×¥é¥°¡¦¥Ý¥ê¥·¡¼¡¦¥¨¡¼¥¸¥§¥ó¥È¤Î¥Ñ¥¹¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3370 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3374 .\"O .IR /proc/sys/kernel/domainname " and " /proc/sys/kernel/hostname
3375 .IR /proc/sys/kernel/domainname " ¤È " /proc/sys/kernel/hostname
3376 .\"O can be used to set the NIS/YP domainname and the
3377 .\"O hostname of your box in exactly the same way as the commands
3378 .\"O .BR domainname (1)
3380 .\"O .BR hostname (1),
3382 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥³¥Þ¥ó¥É
3386 ¥Þ¥·¥ó¤Î NIS/YP ¥É¥á¥¤¥ó̾¤È¥Û¥¹¥È̾¤ÎÀßÄê¤Ë»È¤¨¤ë¡£
3391 .RB "#" " echo \(aqdarkstar\(aq > /proc/sys/kernel/hostname"
3392 .RB "#" " echo \(aqmydomain\(aq > /proc/sys/kernel/domainname"
3396 .\"O has the same effect as
3397 ¤Ï¡¢°Ê²¼¤ÈƱ¤¸¸ú²Ì¤¬¤¢¤ë¡£
3401 .RB "#" " hostname \(aqdarkstar\(aq"
3402 .RB "#" " domainname \(aqmydomain\(aq"
3406 .\"O Note, however, that the classic darkstar.frop.org has the
3407 .\"O hostname "darkstar" and DNS (Internet Domain Name Server)
3408 .\"O domainname "frop.org", not to be confused with the NIS (Network
3409 .\"O Information Service) or YP (Yellow Pages) domainname.
3411 .\"O domain names are in general different.
3412 .\"O For a detailed discussion
3414 .\"O .BR hostname (1)
3416 Ãí°Õ: ŵ·¿Åª¤Ê darkstar.frop.org ¤È¤¤¤¦Ì¾Á°¤Ë¤Ï¡¢
3417 ¥Û¥¹¥È̾ "darkstar" ¤È DNS (Internet Domain Name Server)
3418 ¥É¥á¥¤¥ó̾ "frop.org" ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤¬¡¢DNS ¥É¥á¥¤¥ó̾¤È
3419 NIS (Network Information Service) ¤Þ¤¿¤Ï
3420 YP (Yellow Pages) ¤Î¥É¥á¥¤¥ó̾¤òº®Æ±¤·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
3421 °ìÈ̤ˤ³¤ì¤é 2 ¤Ä¤Î¥É¥á¥¤¥ó̾¤Ï°Û¤Ê¤ë¡£
3424 ¤Î man ¥Ú¡¼¥¸¤ò»²¾È¤¹¤ë¤³¤È¡£
3426 .I /proc/sys/kernel/htab-reclaim
3427 .\"O (PowerPC only) If this file is set to a nonzero value,
3428 .\"O the PowerPC htab
3429 .\"O (see kernel file
3430 .\"O .IR Documentation/powerpc/ppc_htab.txt )
3432 .\"O each time the system hits the idle loop.
3433 (PowerPC ¤Î¤ß) ¤³¤Î¥Õ¥¡¥¤¥ë¤ò 0 °Ê³°¤ÎÃͤËÀßÄꤹ¤ë¤È¡¢
3435 (¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3436 .I Documentation/powerpc/ppc_htab.txt
3437 »²¾È) ¤ò¡¢¥·¥¹¥Æ¥à¤¬¥¢¥¤¥É¥ë¥ë¡¼¥×¤Ë¤Ê¤ë¤¿¤Ó¤ËÀÚ¤êµÍ¤á¤ë¡£
3439 .I /proc/sys/kernel/l2cr
3440 .\"O (PowerPC only) This file
3441 .\"O contains a flag that controls the L2 cache of G3 processor
3443 .\"O If 0, the cache is disabled.
3444 .\"O Enabled if nonzero.
3445 (PowerPC ¤Î¤ß) ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï G3 ¥×¥í¥»¥Ã¥µ¥Ü¡¼¥É¤Î
3446 L2 ¥¥ã¥Ã¥·¥å¤òÀ©¸æ¤¹¤ë¥Õ¥é¥°¤¬´Þ¤Þ¤ì¤ë¡£
3447 0 ¤Î¾ì¹ç¡¢¥¥ã¥Ã¥·¥å¤Ï̵¸ú¤Ë¤Ê¤ë¡£
3448 0 °Ê³°¤Î¾ì¹ç¤Ï͸ú¤Ë¤Ê¤ë¡£
3450 .I /proc/sys/kernel/modprobe
3451 .\"O This file contains the path for the kernel module loader.
3452 .\"O The default value is
3453 .\"O .IR /sbin/modprobe .
3454 .\"O The file is only present if the kernel is built with the
3456 .\"O option enabled.
3457 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¥í¡¼¥À¤Ø¤Î¥Ñ¥¹¤¬´Þ¤Þ¤ì¤ë¡£
3460 ¤Ç¤¢¤ë¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
3462 ¥ª¥×¥·¥ç¥ó¤ò͸ú¤Ë¤·¤Æ¥«¡¼¥Í¥ë¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß¸ºß¤¹¤ë¡£
3463 .\"O It is described by the kernel source file
3464 .\"O .I Documentation/kmod.txt
3465 .\"O (only present in kernel 2.4 and earlier).
3466 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3467 .I Documentation/kmod.txt
3468 (¥«¡¼¥Í¥ë 2.4 °ÊÁ°¤Î¤ß¤Ë¸ºß) ¤Ëµ½Ò¤µ¤ì¤Æ¤¤¤ë¡£
3470 .I /proc/sys/kernel/msgmax
3471 .\"O This file defines
3472 .\"O a system-wide limit specifying the maximum number of bytes in
3473 .\"O a single message written on a System V message queue.
3474 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢System V ¥á¥Ã¥»¡¼¥¸¥¥å¡¼¤Ë½ñ¤¹þ¤Þ¤ì¤ë 1 ¤Ä¤Î¥á¥Ã¥»¡¼¥¸¤Î
3475 ºÇÂç¥Ð¥¤¥È¿ô¤ò¡¢¥·¥¹¥Æ¥àÁ´ÂΤÇÀ©¸Â¤¹¤ë¡£
3477 .I /proc/sys/kernel/msgmni
3478 .\"O This file defines the system-wide limit on the number of
3479 .\"O message queue identifiers.
3480 .\"O (This file is only present in Linux 2.4 onwards.)
3481 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥á¥Ã¥»¡¼¥¸¥¥å¡¼¼±Ê̻ҤκÇÂç¿ô¤ò¥·¥¹¥Æ¥àÁ´ÂΤÇÀ©¸Â¤¹¤ë¡£
3482 (¤³¤Î¥Õ¥¡¥¤¥ë¤Ï Linux 2.4 °Ê¹ß¤Ë¤·¤«Â¸ºß¤·¤Ê¤¤)¡£
3484 .I /proc/sys/kernel/msgmnb
3485 .\"O This file defines a system-wide parameter used to initialize the
3487 .\"O setting for subsequently created message queues.
3490 ¤ÎÀßÄê¤ò½é´ü²½¤¹¤ë¥·¥¹¥Æ¥àÁ´ÂΤΥѥé¥á¡¼¥¿¤Ç¤¢¤ë¡£
3492 ¤Ï°Ê¹ß¤ÇºîÀ®¤µ¤ì¤ë¥á¥Ã¥»¡¼¥¸¥¥å¡¼¤Ç»È¤ï¤ì¤ë¡£
3495 .\"O setting specifies the maximum number of bytes that may be written to the
3498 ÀßÄê¤Ç¤Ï¡¢¥á¥Ã¥»¡¼¥¸¥¥å¡¼¤Ë½ñ¤¹þ¤Þ¤ì¤ëºÇÂç¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£
3500 .\"O .IR /proc/sys/kernel/ostype " and " /proc/sys/kernel/osrelease
3501 .IR /proc/sys/kernel/ostype " ¤È " /proc/sys/kernel/osrelease
3503 .\"O give substrings of
3504 .\"O .IR /proc/version .
3505 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ïʸ»úÎó
3509 .\"O .IR /proc/sys/kernel/overflowgid " and " /proc/sys/kernel/overflowuid
3510 .IR /proc/sys/kernel/overflowgid " ¤È " /proc/sys/kernel/overflowuid
3511 .\"O These files duplicate the files
3512 .\"O .I /proc/sys/fs/overflowgid
3514 .\"O .IR /proc/sys/fs/overflowuid .
3516 .I /proc/sys/fs/overflowgid
3518 .I /proc/sys/fs/overflowuid
3519 ¤òÊ£À½¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
3521 .I /proc/sys/kernel/panic
3522 .\"O This file gives read/write access to the kernel variable
3523 .\"O .IR panic_timeout .
3524 .\"O If this is zero, the kernel will loop on a panic; if nonzero
3525 .\"O it indicates that the kernel should autoreboot after this number
3527 .\"O When you use the
3528 .\"O software watchdog device driver, the recommended setting is 60.
3529 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥«¡¼¥Í¥ëÊÑ¿ô
3531 ¤Ø¤ÎÆɤ߽Ф·¤È½ñ¤¹þ¤ß¤Î¥¢¥¯¥»¥¹¤òÍ¿¤¨¤ë¡£
3532 ¤³¤ÎÃͤ¬ 0 ¤Ê¤é¤Ð¡¢¥Ñ¥Ë¥Ã¥¯»þ¤Ë¥«¡¼¥Í¥ë¤Ï (̵¸Â) ¥ë¡¼¥×¤ËÆþ¤ë¡£
3533 0 ¤Ç¤Ê¤±¤ì¤Ð¡¢¤½¤ÎÉÿô¤À¤±ÂԤäƤ«¤é¼«Æ°Åª¤ËºÆµ¯Æ°¤¹¤ë¡£
3534 ¥½¥Õ¥È¥¦¥§¥¢ watchdog ¥É¥é¥¤¥Ð¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
3535 ¿ä¾©¤µ¤ì¤ëÀßÄê¤Ï 60 ¤Ç¤¢¤ë¡£
3537 .\"O .IR /proc/sys/kernel/panic_on_oops " (since Linux 2.5.68)"
3538 .IR /proc/sys/kernel/panic_on_oops " (Linux 2.5.68 °Ê¹ß)"
3539 .\"O This file controls the kernel's behavior when an oops
3540 .\"O or BUG is encountered.
3541 .\"O If this file contains 0, then the system
3542 .\"O tries to continue operation.
3543 .\"O If it contains 1, then the system
3544 .\"O delays a few seconds (to give klogd time to record the oops output)
3545 .\"O and then panics.
3546 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢oops ¤ä BUG ¤¬µ¯¤³¤Ã¤¿¾ì¹ç¤Î¥«¡¼¥Í¥ë¤ÎÆ°ºî¤òÀ©¸æ¤¹¤ë¡£
3547 ¥Õ¥¡¥¤¥ë¤Ë 0 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à¤ÏÁàºî¤ò³¹Ô¤·¤è¤¦¤È¤¹¤ë¡£
3548 1 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à¤Ï
3549 (klogd ¤¬ oops ½ÐÎϤòµÏ¿¤¹¤ë»þ´Ö¤òÍ¿¤¨¤ë¤¿¤á¤Ë) ¿ôÉôÖÃٱ䤷¤¿¸å¡¢
3552 .\"O .I /proc/sys/kernel/panic
3553 .\"O file is also nonzero then the machine will be rebooted.
3554 .I /proc/sys/kernel/panic
3555 ¥Õ¥¡¥¤¥ë¤â 0 ¤Ç¤Ê¤¤¾ì¹ç¡¢¥Þ¥·¥ó¤ÏºÆµ¯Æ°¤µ¤ì¤ë¡£
3557 .\"O .IR /proc/sys/kernel/pid_max " (since Linux 2.5.34)"
3558 .IR /proc/sys/kernel/pid_max " (Linux 2.5.34 °Ê¹ß)"
3559 .\"O This file specifies the value at which PIDs wrap around
3560 .\"O (i.e., the value in this file is one greater than the maximum PID).
3561 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢PID ¤ò¤¤¤¯¤Ä¤Ç½ªÎ»¤Ë¤¹¤ë¤«¤ò»ØÄꤹ¤ë
3562 (¤¹¤Ê¤ï¤Á¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤϺÇÂç PID ¤è¤ê 1 Â礤¤)¡£
3563 .\"O The default value for this file, 32768,
3564 .\"O results in the same range of PIDs as on earlier kernels.
3565 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 32768 ¤Ç¤¢¤ê¡¢
3566 ¤½¤Î¾ì¹ç¤Ë¤Ï°ÊÁ°¤Î¥«¡¼¥Í¥ë¤ÈƱ¤¸ PID ¤ÎÈϰϤˤʤ롣
3567 .\"O On 32-bit platforms, 32768 is the maximum value for
3569 .\"O On 64-bit systems,
3571 .\"O can be set to any value up to 2^22
3572 .\"O .RB ( PID_MAX_LIMIT ,
3573 .\"O approximately 4 million).
3574 32¥Ó¥Ã¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢
3576 ¤ÎºÇÂçÃÍ¤Ï 32768 ¤Ç¤¢¤ë¡£
3577 64¥Ó¥Ã¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢
3579 .RB ( PID_MAX_LIMIT ,
3580 Ìó 4,000,000) ¤Þ¤Ç¤ÎǤ°Õ¤ÎÃͤòÀßÄê¤Ç¤¤ë¡£
3581 .\" Prior to 2.6.10, pid_max could also be raised above 32768 on 32-bit
3582 .\" platforms, but this broke /proc/[pid]
3583 .\" See http://marc.theaimsgroup.com/?l=linux-kernel&m=109513010926152&w=2
3585 .\"O .IR /proc/sys/kernel/powersave-nap " (PowerPC only)"
3586 .IR /proc/sys/kernel/powersave-nap " (PowerPC ¤Î¤ß)"
3587 .\"O This file contains a flag.
3588 .\"O If set, Linux-PPC will use the "nap" mode of
3590 .\"O otherwise the "doze" mode will be used.
3591 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥Õ¥é¥°¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3592 ¥Õ¥é¥°¤¬ÀßÄꤵ¤ì¤ë¤È¡¢Linux-PPC ¤Ï
3593 ¾ÊÅÅÎϤΠ"nap" ¥â¡¼¥É¤ò»È¤¦¡£
3594 ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢"doze" ¥â¡¼¥É¤¬»È¤ï¤ì¤ë¡£
3596 .I /proc/sys/kernel/printk
3597 .\"O The four values in this file are
3598 .\"O .IR console_loglevel ,
3599 .\"O .IR default_message_loglevel ,
3600 .\"O .IR minimum_console_level ,
3602 .\"O .IR default_console_loglevel .
3603 .\"O These values influence
3605 .\"O behavior when printing or logging error messages.
3608 .\"O for more info on the different loglevels.
3609 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë 4 ¤Ä¤ÎÃͤϡ¢
3610 .IR console_loglevel ,
3611 .IR default_message_loglevel ,
3612 .IR minimum_console_loglevel ,
3613 .IR default_console_loglevel
3616 .\"Osato: minimum_console_level ¤Ï minimum_console_loglevel ¤Î´Ö°ã¤¤¡©
3618 ¤³¤ì¤é¤ÎÃͤϥ¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤¿¤êµÏ¿¤·¤¿¤ê¤¹¤ë
3621 ³Æ loglevel ¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢
3624 .\"O Messages with a higher priority than
3625 .\"O .I console_loglevel
3626 .\"O will be printed to the console.
3627 .\"O Messages without an explicit priority will be printed with priority
3628 .\"O .IR default_message_level .
3629 .\"O .I minimum_console_loglevel
3630 .\"O is the minimum (highest) value to which
3631 .\"O .I console_loglevel
3633 .\"O .I default_console_loglevel
3634 .\"O is the default value for
3635 .\"O .IR console_loglevel .
3638 °Ê¾å¤Î¥á¥Ã¥»¡¼¥¸¤Ï¡¢¥³¥ó¥½¡¼¥ë¤Ëɽ¼¨¤µ¤ì¤ë¡£
3639 Í¥ÀèÅÙ¤¬ÌÀ¼¨¤µ¤ì¤Æ¤¤¤Ê¤¤¥á¥Ã¥»¡¼¥¸¤Ï¡¢Í¥ÀèÅÙ¤¬
3640 .I default_message_level
3641 ¤Î¤È¤¤Ëɽ¼¨¤µ¤ì¤ë¡£
3642 .I minimum_console_loglevel
3645 ¤ËÀßÄê¤Ç¤¤ëºÇ¾® (ºÇ¹â) ¤ÎÃͤǤ¢¤ë¡£
3646 .I default_console_loglevel
3649 ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤǤ¢¤ë¡£
3651 .\"O .IR /proc/sys/kernel/pty " (since Linux 2.6.4)"
3652 .IR /proc/sys/kernel/pty " (Linux 2.6.4 °Ê¹ß)"
3653 .\"O This directory contains two files relating to the number of Unix 98
3654 .\"O pseudo-terminals (see
3657 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢Unix 98 µ¿»÷üËö
3659 ¤ò»²¾È) ¤Î¿ô¤Ë´ØÏ¢¤¹¤ë 2 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡£
3661 .I /proc/sys/kernel/pty/max
3662 .\"O This file defines the maximum number of pseudo-terminals.
3663 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ïµ¿»÷üËö¤ÎºÇÂç¿ô¤òÄêµÁ¤¹¤ë¡£
3665 .I /proc/sys/kernel/pty/nr
3666 .\"O This read-only file
3667 .\"O indicates how many pseudo-terminals are currently in use.
3668 ¤³¤ÎÆɤ߽Ф·ÀìÍѤΥե¡¥¤¥ë¤Ï¡¢¸½ºß¤¤¤¯¤Ä¤Îµ¿»÷üËö¤¬»È¤ï¤ì¤Æ¤¤¤ë¤«¤òɽ¤¹¡£
3670 .I /proc/sys/kernel/random
3673 .\"O contains various parameters controlling the operation of the file
3674 .\"O .IR /dev/random .
3677 .\"O for further information.
3678 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢¥Õ¥¡¥¤¥ë
3680 ¤ÎÁàºî¤òÀ©¸æ¤¹¤ëÍÍ¡¹¤Ê¥Ñ¥é¥á¡¼¥¿¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3685 .I /proc/sys/kernel/real-root-dev
3686 .\"O This file is documented in the kernel source file
3687 .\"O .IR Documentation/initrd.txt .
3688 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3689 .I Documentation/initrd.txt
3692 .\"O .IR /proc/sys/kernel/reboot-cmd " (Sparc only) "
3693 .IR /proc/sys/kernel/reboot-cmd " (Sparc ¤Î¤ß) "
3694 .\"O This file seems to be a way to give an argument to the SPARC
3695 .\"O ROM/Flash boot loader.
3696 .\"O Maybe to tell it what to do after
3698 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï SPARC ROM/Flash ¥Ö¡¼¥È¥í¡¼¥À¤Ë°ú¤¿ô¤òÅϤ¹ÊýË¡¤ò
3699 Ä󶡤·¤Æ¤¤¤ë¤è¤¦¤Ë»×¤ï¤ì¤ë¡£
3700 ºÆµ¯Æ°¸å¤Ë²¿¤ò¤¹¤ë¤«¤ò»ØÄꤷ¤Æ¤¤¤ë¤Î¤À¤í¤¦¤«¡©
3702 .I /proc/sys/kernel/rtsig-max
3703 .\"O (Only in kernels up to and including 2.6.7; see
3704 .\"O .BR setrlimit (2))
3705 (2.6.7 ¤Þ¤Ç¤Î¥«¡¼¥Í¥ë¤Ë¤Î¤ß¸ºß¤¹¤ë¡£
3708 .\"O This file can be used to tune the maximum number
3709 .\"O of POSIX real-time (queued) signals that can be outstanding
3711 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥·¥¹¥Æ¥à¤Çȯ¹Ô¤µ¤ì¤ë POSIX real-time (queued) signal ¤Î
3712 ºÇÂç¿ô¤òÄ´À°¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¡£
3714 .I /proc/sys/kernel/rtsig-nr
3715 .\"O (Only in kernels up to and including 2.6.7.)
3716 (2.6.7 ¤Þ¤Ç¤Î¥«¡¼¥Í¥ë¤Ë¤Î¤ß¸ºß¤¹¤ë)
3717 .\"O This file shows the number POSIX real-time signals currently queued.
3718 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸½ºß¥¥å¡¼¤ËÆþ¤Ã¤Æ¤¤¤ë POSIX real-time signal ¤Î¿ô¤òɽ¤¹¡£
3720 .\"O .IR /proc/sys/kernel/sem " (since Linux 2.4)"
3721 .IR /proc/sys/kernel/sem " (Linux 2.4 °Ê¹ß)"
3722 .\"O This file contains 4 numbers defining limits for System V IPC semaphores.
3723 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï System V IPC ¥»¥Þ¥Õ¥©¤òÀ©¸Â¤¹¤ë 4 ¤Ä¤ÎÃͤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3724 .\"O These fields are, in order:
3725 ¤³¤ì¤é¤Î¥Õ¥£¡¼¥ë¥É¤Ï¼¡¤Î½çÈÖ¤Ëʤó¤Ç¤¤¤ë:
3728 .\"O The maximum semaphores per semaphore set.
3729 ¥»¥Þ¥Õ¥©½¸¹ç¤´¤È¤Î¥»¥Þ¥Õ¥©¿ô¤ÎºÇÂçÃÍ¡£
3731 .\"O A system-wide limit on the number of semaphores in all semaphore sets.
3732 ¥·¥¹¥Æ¥àÁ´ÂΤǤΡ¢Á´¤Æ¤Î¥»¥Þ¥Õ¥©½¸¹ç¤Ë¤ª¤±¤ë¥»¥Þ¥Õ¥©¿ô¤ÎÀ©¸Â¡£
3734 .\"O The maximum number of operations that may be specified in a
3738 ¥³¡¼¥ë¤Ë»ØÄꤵ¤ì¤ë¥ª¥Ú¥ì¡¼¥·¥ç¥ó¿ô¤ÎºÇÂçÃÍ¡£
3740 .\"O A system-wide limit on the maximum number of semaphore identifiers.
3741 ¥·¥¹¥Æ¥àÁ´ÂΤǤΥ»¥Þ¥Õ¥©¼±Ê̻ҤκÇÂçÃÍ¡£
3744 .I /proc/sys/kernel/sg-big-buff
3746 .\"O shows the size of the generic SCSI device (sg) buffer.
3747 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢ÈÆÍÑ SCSI ¥Ç¥Ð¥¤¥¹ (sg) ¤Î¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º¤ÎºÇÂçÃͤòɽ¤¹¡£
3748 .\"O You can't tune it just yet, but you could change it at
3749 .\"O compile time by editing
3750 .\"O .I include/scsi/sg.h
3753 .\"O .BR SG_BIG_BUFF .
3754 .\"O However, there shouldn't be any reason to change this value.
3755 º£¤Ï¤³¤ì¤òÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤¬¡¢
3757 .I include/scsi/sg.h
3760 ¤ÎÃͤòÊѤ¨¤ì¤ÐÊѹ¹¤Ç¤¤ë¡£
3761 ¤¿¤À¤·¡¢¤³¤ÎÃͤòÊѹ¹¤¹¤ëÍýͳ¤Ï¤Ê¤¤¤À¤í¤¦¡£
3763 .I /proc/sys/kernel/shmall
3765 .\"O contains the system-wide limit on the total number of pages of
3766 .\"O System V shared memory.
3767 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï System V ¶¦Í¥á¥â¥ê¤ÎÁí¥Ú¡¼¥¸¿ô¤Î
3768 ¥·¥¹¥Æ¥àÁ´ÂΤǤÎÀ©¸Â¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
3770 .I /proc/sys/kernel/shmmax
3772 .\"O can be used to query and set the run-time limit
3773 .\"O on the maximum (System V IPC) shared memory segment size that can be
3775 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÄ̤¸¤Æ¡¢(System V IPC) ¶¦Í¥á¥â¥ê¥»¥°¥á¥ó¥È¤òºîÀ®¤¹¤ë¤È¤¤Î
3776 ºÇÂ祵¥¤¥º¤Î¼Â¹Ô»þ¾å¸Â (run-time limit) ¤ò¼èÆÀ¤Þ¤¿¤ÏÀßÄê¤Ç¤¤ë¡£
3777 .\"O Shared memory segments up to 1GB are now supported in the
3779 .\"O This value defaults to
3781 ¸½ºß¤Ï 1GB ¤Þ¤Ç¤Î¶¦Í¥á¥â¥ê¥»¥°¥á¥ó¥È¤¬
3782 ¥«¡¼¥Í¥ë¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
3783 ¤³¤ÎÃͤΥǥե©¥ë¥È¤Ï
3787 .I /proc/sys/kernel/shmmni
3788 .\"O (available in Linux 2.4 and onwards)
3789 (Linux 2.4 °Ê¹ß¤Ç»ÈÍѲÄǽ)
3791 .\"O specifies the system-wide maximum number of System V shared memory
3792 .\"O segments that can be created.
3793 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤǺîÀ®²Äǽ¤Ê
3794 System V ¶¦Í¥á¥â¥ê¥»¥°¥á¥ó¥È¿ô¤ò»ØÄꤹ¤ë¡£
3796 .I /proc/sys/kernel/sysrq
3797 .\"O This file controls the functions allowed to be invoked by the SysRq key.
3799 .\"O the file contains 1 meaning that every possible SysRq request is allowed
3800 .\"O (in older kernel versions, SysRq was disabled by default,
3801 .\"O and you were required to specifically enable it at run-time,
3802 .\"O but this is not the case any more).
3803 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢SysRq ¥¡¼¤Ë¤è¤êµ¯Æ°¤¬µö²Ä¤µ¤ì¤Æ¤¤¤ë´Ø¿ô·²¤òÀ©¸æ¤¹¤ë
3804 ¤â¤Î¤Ç¤¢¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤ÎÆâÍÆ¤Ï 1 ¤Ç¤¢¤ê¡¢
3805 ¤³¤ì¤Ïµ¯¤³¤êÆÀ¤ëÁ´¤Æ¤Î SysRq ¥ê¥¯¥¨¥¹¥È¤¬µö²Ä¤µ¤ì¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë
3806 (¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¡¢SysRq ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤ª¤ê¡¢
3807 ¼Â¹Ô»þ¤ËÌÀ¼¨Åª¤Ë͸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤Ã¤¿¤¬¡¢º£¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤)¡£
3808 .\"O Possible values in this file are:
3809 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç»ØÄê²Äǽ¤ÊÃͤϰʲ¼¤ÎÄ̤ꡣ
3811 .\"O 0 - disable sysrq completely
3812 .\"O 1 - enable all functions of sysrq
3813 .\"O >1 - bitmask of allowed sysrq functions, as follows:
3814 .\"O 2 - enable control of console logging level
3815 .\"O 4 - enable control of keyboard (SAK, unraw)
3816 .\"O 8 - enable debugging dumps of processes etc.
3817 .\"O 16 - enable sync command
3818 .\"O 32 - enable remount read-only
3819 .\"O 64 - enable signalling of processes (term, kill, oom-kill)
3820 .\"O 128 - allow reboot/poweroff
3821 .\"O 256 - allow nicing of all real-time tasks
3822 0 - sysrq ¤ò´°Á´¤Ë̵¸ú¤Ë¤¹¤ë
3823 1 - sysrq ¤ÎÁ´¤Æ¤Î´Ø¿ô¤ò͸ú¤Ë¤¹¤ë
3824 >1 - µö²Ä¤¹¤ë sysrq ´Ø¿ô¤Î¥Ó¥Ã¥È¥Þ¥¹¥¯¡£ÆâÌõ¤Ï°Ê²¼¤ÎÄ̤ꡣ
3825 2 - ¥³¥ó¥½¡¼¥ë¤Î¥í¥°¡¦¥ì¥Ù¥ë¤ÎÀ©¸æ¤ò͸ú¤Ë¤¹¤ë
3826 4 - ¥¡¼¥Ü¡¼¥É¤ÎÀ©¸æ¤ò͸ú¤Ë¤¹¤ë (SAK, unraw)
3827 8 - ¥×¥í¥»¥¹¤Ê¤É¤Î¥Ç¥Ð¥Ã¥°¡¦¥À¥ó¥×¤ò͸ú¤Ë¤¹¤ë
3828 16 - sync ¥³¥Þ¥ó¥É¤ò͸ú¤Ë¤¹¤ë
3829 32 - Æɤ߽Ф·ÀìÍѤǤκƥޥ¦¥ó¥È¤ò͸ú¤Ë¤¹¤ë
3830 64 - ¥×¥í¥»¥¹¤Ø¤Î¥·¥°¥Ê¥ëȯ¹Ô¤ò͸ú¤Ë¤¹¤ë (term, kill, oom-kill)
3831 128 - ¥ê¥Ö¡¼¥È/ÅŸ»¥ª¥Õ¤òµö²Ä¤¹¤ë
3832 256 - Á´¤Æ¤Î¥ê¥¢¥ë¥¿¥¤¥à¡¦¥¿¥¹¥¯¤Î nice ÃͤÎÊѹ¹¤òµö²Ä¤¹¤ë
3834 .\"O This file is only present if the
3835 .\"O .B CONFIG_MAGIC_SYSRQ
3836 .\"O kernel configuration option is enabled.
3837 .\"O For further details see the kernel source file
3838 .\"O .IR Documentation/sysrq.txt .
3839 ¥«¡¼¥Í¥ëÀßÄꥪ¥×¥·¥ç¥ó
3840 .B CONFIG_MAGIC_SYSRQ
3841 ¤¬Í¸ú¤Ê¾ì¹ç¤Î¤ß¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¸ºß¤¹¤ë¡£
3842 ¾ÜºÙ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë
3843 .I Documentation/sysrq.txt
3846 .I /proc/sys/kernel/version
3847 .\"O This file contains a string like:
3848 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Êʸ»úÎ󤬽ñ¤«¤ì¤Æ¤¤¤ë:
3850 #5 Wed Feb 25 21:49:24 MET 1998
3852 .\"O The "#5" means that
3853 .\"O this is the fifth kernel built from this source base and the
3854 .\"O date behind it indicates the time the kernel was built.
3855 \&"#5" ¤Ï¤³¤Î¥½¡¼¥¹¤Ç¹½ÃÛ¤µ¤ì¤¿ 5 ÈÖÌܤΥ«¡¼¥Í¥ë¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
3856 ¤½¤Î¸å¤Ë¤¢¤ëÆüÉդϥ«¡¼¥Í¥ë¤¬¹½ÃÛ¤µ¤ì¤¿»þ¹ï¤òɽ¤¹¡£
3858 .\"O .IR /proc/sys/kernel/threads-max " (since Linux 2.3.11)"
3859 .IR /proc/sys/kernel/threads-max " (Linux 2.3.11 °Ê¹ß)"
3860 .\"O This file specifies the system-wide limit on the number of
3861 .\"O threads (tasks) that can be created on the system.
3862 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥·¥¹¥Æ¥àÁ´ÂΤǺîÀ®²Äǽ¤Ê¥¹¥ì¥Ã¥É¿ô
3863 (¥¿¥¹¥¯¿ô) ¤Î¾å¸Â¤ò»ØÄꤹ¤ë¡£
3865 .\"O .IR /proc/sys/kernel/zero-paged " (PowerPC only) "
3866 .IR /proc/sys/kernel/zero-paged " (PowerPC ¤Î¤ß) "
3868 .\"O contains a flag.
3869 .\"O When enabled (nonzero), Linux-PPC will pre-zero pages in
3870 .\"O the idle loop, possibly speeding up get_free_pages.
3871 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥Õ¥é¥°¤ò´Þ¤à¡£
3872 (0 °Ê³°¤ÎÃͤÇ) ͸ú¤µ¤ì¤¿¾ì¹ç¡¢Linux-PPC ¤Ï¥¢¥¤¥É¥ë¥ë¡¼¥×¤Ç
3873 pre-zero page ¤ò¹Ô¤¦¤Î¤Ç¡¢get_free_pages ¤Î®ÅÙ¤¬¸þ¾å¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¡£
3875 .\"Osato: pre-zero page ¤ÎÌõ¸ì¤¬Ê¬¤«¤é¤Ê¤¤¡£
3879 .\"O This directory contains networking stuff.
3880 .\"O Explanations for some of the files under this directory can be found in
3884 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥Í¥Ã¥È¥ï¡¼¥¯´Ø·¸¤Î¾ðÊó¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
3885 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Î¤¤¤¯¤Ä¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢
3891 .I /proc/sys/net/core/somaxconn
3892 .\"O This file defines a ceiling value for the
3895 .\"O .BR listen (2);
3898 .\"O manual page for details.
3903 °ú¤¿ô¤Î¾å¸ÂÃͤòµ¬Äꤹ¤ë¡£
3906 ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¡£
3909 .\"O This directory may be empty.
3910 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¤¿¤Ö¤ó¶õ¤Ç¤¢¤ë¡£
3913 .\"O This directory supports Sun remote procedure call for network file system
3915 .\"O On some systems, it is not present.
3916 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à (NFS) ¤Ø¤Î
3917 Sun remote procedure call (±ó³Ö¼ê³¤¸Æ¤Ó½Ð¤·) ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£
3918 ¤³¤ì¤¬Â¸ºß¤·¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
3921 .\"O This directory contains files for memory management tuning, buffer and
3922 .\"O cache management.
3923 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥á¥â¥ê´ÉÍý¤ÎÄ´À°¡¢¥Ð¥Ã¥Õ¥¡¤ä¥¥ã¥Ã¥·¥å´ÉÍý¤Î¤¿¤á¤Î
3926 .\"O .IR /proc/sys/vm/drop_caches " (since Linux 2.6.16)"
3927 .IR /proc/sys/vm/drop_caches " (Linux 2.6.16 °Ê¹ß)"
3928 .\"O Writing to this file causes the kernel to drop clean caches, dentries and
3929 .\"O inodes from memory, causing that memory to become free.
3930 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥¯¥ê¡¼¥ó¤Ê¥¥ã¥Ã¥·¥å¡¢dentry¡¢
3931 inode ¤ò¥á¥â¥ê¾å¤«¤é³°¤·¡¢¤½¤Î¥á¥â¥ê¤ò²òÊü¤¹¤ë¡£
3933 .\"O To free pagecache, use
3934 .\"O .IR "echo 1 > /proc/sys/vm/drop_caches" ;
3935 .\"O to free dentries and inodes, use
3936 .\"O .IR "echo 2 > /proc/sys/vm/drop_caches" ;
3937 .\"O to free pagecache, dentries and inodes, use
3938 .\"O .IR "echo 3 > /proc/sys/vm/drop_caches" .
3939 ¥Ú¡¼¥¸¥¥ã¥Ã¥·¥å¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3940 .I "echo 1 > /proc/sys/vm/drop_caches"
3941 ¤È¤¹¤ë¡£ dentry¡¢inode ¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3942 .I "echo 2 > /proc/sys/vm/drop_caches"
3943 ¤È¤¹¤ë¡£¥Ú¡¼¥¸¥¥ã¥Ã¥·¥å¡¢dentry¡¢inode ¤ò²òÊü¤¹¤ë¤Ë¤Ï¡¢
3944 .IR "echo 3 > /proc/sys/vm/drop_caches"
3947 .\"O Because this is a nondestructive operation and dirty objects
3948 .\"O are not freeable, the
3949 .\"O user should run
3952 ¤³¤ÎÁàºî¤ÏÈóÇ˲õŪ¤ÊÁàºî¤Ç¡¢¥À¡¼¥Æ¥£¤Ê (dirty) ¥ª¥Ö¥¸¥§¥¯¥È¤Ï
3953 ²òÊü¤µ¤ì¤Ê¤¤¤Î¤Ç¡¢¤³¤ÎÁàºî¤ò¹Ô¤¦ºÝ¤ÏºÇ½é¤Ë
3955 ¤ò¼Â¹Ô¤·¤Æ¤ª¤¯¤Ù¤¤Ç¤¢¤ë¡£
3957 .IR /proc/sys/vm/swappiness
3958 .\" The following is from Documentation/sysctl/vm.txt
3959 .\"O The value in this file controls how aggressively the kernel will swap
3961 .\"O Higher values increase agressiveness, lower values
3962 .\"O descrease aggressiveness.
3963 .\"O The default value is 60.
3964 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃͤˤè¤ê¡¢¥«¡¼¥Í¥ë¤¬¤É¤ÎÄøÅٷ㤷¤¯¥á¥â¥ê¥Ú¡¼¥¸¤Î
3965 ¥¹¥ï¥Ã¥×¤ò¹Ô¤¦¤«¤¬À©¸æ¤µ¤ì¤ë¡£
3966 Â礤ÊÃͤۤɥ¹¥ï¥Ã¥×¤¬·ã¤·¤¯¤Ê¤ê¡¢¾®¤µ¤¤Ãͤۤɷ㤷¤¯¤Ê¤¯¤Ê¤ë¡£
3967 ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 60 ¤Ç¤¢¤ë¡£
3969 .\"O .IR /proc/sys/vm/legacy_va_layout " (since Linux 2.6.9)"
3970 .IR /proc/sys/vm/legacy_va_layout " (Linux 2.6.9 °Ê¹ß)"
3971 .\"O .\" The following is from Documentation/filesystems/proc.txt
3972 .\"O If nonzero, this disables the new 32-bit memory-mapping layout;
3973 .\"O the kernel will use the legacy (2.4) layout for all processes.
3974 .\" °Ê²¼¤Îµ½Ò¤Ï Documentation/filesystems/proc.txt ¤«¤é¤Î°úÍѤǤ¢¤ë¡£
3975 0 °Ê³°¤Î¾ì¹ç¡¢¿·¤·¤¤ 32¥Ó¥Ã¥È¥á¥â¥ê¥Þ¥Ã¥Ô¥ó¥°ÇÛÃÖ¤¬Ìµ¸ú¤Ë¤Ê¤ê¡¢
3976 ¥«¡¼¥Í¥ë¤ÏÁ´¤Æ¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ½¾Íè¤Î (¥«¡¼¥Í¥ë 2.4 ¤Î) ÇÛÃÖÊýË¡¤ò
3979 .\"O .IR /proc/sys/vm/oom_dump_tasks " (since Linux 2.6.25)"
3980 .IR /proc/sys/vm/oom_dump_tasks " (Linux 2.6.25 °Ê¹ß)"
3981 .\" The following is from Documentation/sysctl/vm.txt
3982 .\"O Enables a system-wide task dump (excluding kernel threads) to be
3983 .\"O produced when the kernel performs an OOM-killing.
3984 ¥«¡¼¥Í¥ë¤¬ OOM-killing ¤ò¼Â¹Ô¤¹¤ëºÝ¤Ë¡¢¥·¥¹¥Æ¥àÁ´ÂΤΥ¿¥¹¥¯¡¦¥À¥ó¥×
3985 (¥«¡¼¥Í¥ë¥¹¥ì¥Ã¥É¤ò½ü¤¯) ¤òÀ¸À®¤¹¤ë¤«¤òÀ©¸æ¤¹¤ë¡£
3986 .\"O The dump includes the following information
3987 .\"O for each task (thread, process):
3988 .\"O thread ID, real user ID, thread group ID (process ID),
3989 .\"O virtual memory size, resident set size,
3990 .\"O the CPU that the task is scheduled on,
3991 .\"O oom_adj score (see the description of
3992 .\"O .IR /proc/[pid]/oom_adj ),
3993 .\"O and command name.
3994 ¥À¥ó¥×¤Ë¤Ï¡¢¥¿¥¹¥¯ (¥¹¥ì¥Ã¥É¡¢¥×¥í¥»¥¹) Ëè¤Ë°Ê²¼¤Î¾ðÊ󤬽ÐÎϤµ¤ì¤ë:
3995 ¥¹¥ì¥Ã¥É ID¡¢¼Â¥æ¡¼¥¶ ID¡¢¥¹¥ì¥Ã¥É¥°¥ë¡¼¥× ID (¥×¥í¥»¥¹ ID)¡¢
3996 ²¾ÁÛ¥á¥â¥ê¥µ¥¤¥º¡¢Resident Set Size (¼Â¥á¥â¥ê¾å¤Ë¸ºß¤¹¤ë¥Ú¡¼¥¸¥µ¥¤¥º)¡¢
3997 ¥¿¥¹¥¯¤¬¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤µ¤ì¤¿ CPU¡¢
3999 .RI ( /proc/[pid]/oom_adj
4000 ¤ÎÀâÌÀ¤ò»²¾È)¡¢¥³¥Þ¥ó¥É̾¡£
4001 .\"O This is helpful to determine why the OOM-killer was invoked
4002 .\"O and to identify the rogue task that caused it.
4003 ¤³¤Î¥À¥ó¥×¾ðÊó¤Ï¡¢¤Ê¤¼ OOM-killer ¤¬µ¯Æ°¤µ¤ì¤¿¤«¤òÃΤꡢ
4004 ¤½¤Î¸¶°ø¤È¤Ê¤Ã¤¿¤Ê¤é¤º¼Ô¤Î¥¿¥¹¥¯¤òÆÃÄꤹ¤ë¤Î¤ËÌò¤ËΩ¤Ä¡£
4006 .\"O If this contains the value zero, this information is suppressed.
4007 .\"O On very large systems with thousands of tasks,
4008 .\"O it may not be feasible to dump the memory state information for each one.
4009 .\"O Such systems should not be forced to incur a performance penalty in
4010 .\"O OOM situations when the information may not be desired.
4011 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬ÃÍ 0 ¤Î¾ì¹ç¡¢¥À¥ó¥×¾ðÊó¤Î½ÐÎϤϹԤï¤ì¤Ê¤¤¡£
4012 ¥¿¥¹¥¯¤¬²¿Àé¤â¤¢¤ëÈó¾ï¤ËµðÂç¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
4013 ³Æ¡¹¤Î¥¿¥¹¥¯¤Ë¤Ä¤¤¤Æ¥á¥â¥ê¾õÂÖ¤ò¥À¥ó¥×¤¹¤ë¤Î¤ÏŬÀڤǤʤ¤¤«¤â¤·¤ì¤Ê¤¤¡£
4014 ¤½¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¥À¥ó¥×¾ðÊó¤¬É¬ÍפǤâ¤Ê¤¤¤È¤¤Ë
4015 ¥á¥â¥êÉÔ (OOM) ¤Î¾õ¶·¤ÇÀǽÌ̤ÎÉÔÍø±×¤¬µ¯¤³¤é¤Ê¤¤¤è¤¦¤Ë¤¹¤Ù¤¤À¤í¤¦¡£
4017 .\"O If this is set to nonzero, this information is shown whenever the
4018 .\"O OOM-killer actually kills a memory-hogging task.
4019 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬ 0 °Ê³°¤Î¾ì¹ç¡¢
4020 OOM-killer ¤¬¼ÂºÝ¤Ë¥á¥â¥ê¤òÀêͤ·¤¿¥¿¥¹¥¯¤ò kill ¤¹¤ëÅÙ¤Ë
4021 ¥À¥ó¥×¾ðÊ󤬽ÐÎϤµ¤ì¤ë¡£
4023 .\"O The default value is 0.
4024 ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 0 ¤Ç¤¢¤ë¡£
4026 .\"O .IR /proc/sys/vm/oom_kill_allocating_task " (since Linux 2.6.24)"
4027 .IR /proc/sys/vm/oom_kill_allocating_task " (Linux 2.6.24 °Ê¹ß)"
4028 .\" The following is from Documentation/sysctl/vm.txt
4029 .\"O This enables or disables killing the OOM-triggering task in
4030 .\"O out-of-memory situations.
4031 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥á¥â¥êÉÔ (OOM) ¤Î¾õ¶·¤¬µ¯¤³¤Ã¤¿ºÝ¤Ë¡¢
4032 ¥á¥â¥êÉÔ¤Τ¤Ã¤«¤±¤È¤Ê¤Ã¤¿¥¿¥¹¥¯¤ò kill ¤¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤¹¤ë¡£
4034 .\"O If this is set to zero, the OOM-killer will scan through the entire
4035 .\"O tasklist and select a task based on heuristics to kill.
4036 .\"O This normally selects a rogue memory-hogging task that
4037 .\"O frees up a large amount of memory when killed.
4038 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬ 0 ¤ËÀßÄꤵ¤ì¤¿¾ì¹ç¡¢
4039 OOM-killer ¤Ï¥¿¥¹¥¯¥ê¥¹¥ÈÁ´ÂΤò¥¹¥¥ã¥ó¤·¡¢·Ð¸³Â§¤Ë´ð¤Å¤
4040 kill ¤¹¤ë¥¿¥¹¥¯¤òÁªÂò¤¹¤ë¡£
4041 Ä̾ï¤Ï¡¢kill ¤·¤¿¾ì¹ç¤Ë¿¤¯¤Î¥á¥â¥ê¤¬²òÊü¤Ç¤¤ë¡¢
4042 ¤Ê¤é¤º¼Ô¤Î¥á¥â¥êÀêÍ¥¿¥¹¥¯¤¬ÁªÂò¤µ¤ì¤ë¡£
4044 .\"O If this is set to nonzero, the OOM-killer simply kills the task that
4045 .\"O triggered the out-of-memory condition.
4046 .\"O This avoids a possibly expensive tasklist scan.
4047 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬ 0 °Ê³°¤ËÀßÄꤵ¤ì¤¿¾ì¹ç¡¢
4048 OOM-killer ¤Ï¥á¥â¥êÉÔ¤ξõ¶·¤¬È¯À¸¤¹¤ë¤¤Ã¤«¤±¤È¤Ê¤Ã¤¿¥¿¥¹¥¯¤ò
4049 ñ½ã¤Ë kill ¤¹¤ë¤À¤±¤Ç¤¢¤ë¡£
4050 ¤³¤ì¤Ë¤è¤ê¡¢¤¿¤¤¤Æ¤¤¤Ï½Å¤¤½èÍý¤È¤Ê¤ë¥¿¥¹¥¯¥ê¥¹¥È¤Î¥¹¥¥ã¥ó¤ò²óÈò¤Ç¤¤ë¡£
4053 .\"O .I /proc/sys/vm/panic_on_oom
4054 .\"O is nonzero, it takes precedence over whatever value is used in
4055 .\"O .IR /proc/sys/vm/oom_kill_allocating_task .
4056 .I /proc/sys/vm/panic_on_oom
4058 .I /proc/sys/vm/oom_kill_allocating_task
4059 ¤Ë¤É¤Î¤è¤¦¤ÊÃͤ¬Æþ¤Ã¤Æ¤¤¤¿¤È¤·¤Æ¤â¡¢
4060 .I /proc/sys/vm/panic_on_oom
4063 .\"O The default value is 0.
4064 ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 0 ¤Ç¤¢¤ë¡£
4066 .I /proc/sys/vm/overcommit_memory
4067 .\"O This file contains the kernel virtual memory accounting mode.
4069 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥«¡¼¥Í¥ë²¾ÁÛ¥á¥â¥ê¤Î¥¢¥«¥¦¥ó¥È¥â¡¼¥É¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
4073 .\"O 0: heuristic overcommit (this is the default)
4074 0: ȯ¸«Åª¤Ê¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È (heuristic overcommit) (¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë)
4076 .\"O 1: always overcommit, never check
4077 1: ¾ï¤Ë¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È¤·¡¢¥Á¥§¥Ã¥¯¤·¤Ê¤¤¡£
4079 .\"O 2: always check, never overcommit
4080 2: ¾ï¤Ë¥Á¥§¥Ã¥¯¤·¡¢¥ª¡¼¥Ð¡¼¥³¥ß¥Ã¥È¤·¤Ê¤¤¡£
4083 .\"O In mode 0, calls of
4086 .\"O .B MAP_NORESERVE
4087 .\"O are not checked, and the default check is very weak,
4088 .\"O leading to the risk of getting a process "OOM-killed".
4091 ¤òÀßÄꤷ¤Æ¸Æ¤Ó½Ð¤µ¤ì¤¿
4093 ¤Ï¥Á¥§¥Ã¥¯¤µ¤ì¤Ê¤¤¡£
4094 ¤Þ¤¿¥Ç¥Õ¥©¥ë¥È¤Î¥Á¥§¥Ã¥¯¤Ï¤È¤Æ¤âÀȼå¤Ç¡¢
4095 ¥×¥í¥»¥¹¤ò "OOM-kill" ¤·¤Æ¤·¤Þ¤¦¥ê¥¹¥¯¤ò°ú¤µ¯¤³¤¹¡£
4096 .\"O Under Linux 2.4 any nonzero value implies mode 1.
4097 Linux 2.4 ¤Ç¤Ï 0 °Ê³°¤ÎÃͤϥ⡼¥É 1 ¤ò°ÕÌ£¤¹¤ë¡£
4098 .\"O In mode 2 (available since Linux 2.6), the total virtual address space
4099 .\"O on the system is limited to (SS + RAM*(r/100)),
4100 .\"O where SS is the size of the swap space, and RAM
4101 .\"O is the size of the physical memory, and r is the contents of the file
4102 .\"O .IR /proc/sys/vm/overcommit_ratio .
4103 (Linux 2.6 °Ê¹ß¤ÇÍøÍѲÄǽ¤Ê) ¥â¡¼¥É 2 ¤Ç¤Ï¡¢
4104 ¥·¥¹¥Æ¥à¾å¤Î²¾ÁÛ¥¢¥É¥ì¥¹¶õ´Ö¤Î¹ç·×¤¬ (SS + RAM*(r/100)) ¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë¡£
4105 ¤³¤³¤Ç¡¢SS ¤Ï¥¹¥ï¥Ã¥×¶õ´Ö¤Î¥µ¥¤¥º¡¢
4106 RAM ¤ÏʪÍý¥á¥â¥ê¤Î¥µ¥¤¥º¡¢r ¤Ï¥Õ¥¡¥¤¥ë
4107 .I /proc/sys/vm/overcommit_ratio
4110 .I /proc/sys/vm/overcommit_ratio
4111 .\"O See the description of
4112 .\"O .IR /proc/sys/vm/overcommit_memory .
4113 .I /proc/sys/vm/overcommit_memory
4114 ¤ÎÀâÌÀ¤ò»²¾È¤¹¤ë¤³¤È¡£
4116 .\"O .IR /proc/sys/vm/panic_on_oom " (since Linux 2.6.18)"
4117 .IR /proc/sys/vm/panic_on_oom " (Linux 2.6.18 °Ê¹ß)"
4118 .\" The following is adapted from Documentation/sysctl/vm.txt
4119 .\"O This enables or disables a kernel panic in
4120 .\"O an out-of-memory situation.
4121 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥á¥â¥êÉÔ»þ¤Ë¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ò
4122 µ¯¤³¤¹¤«µ¯¤³¤µ¤Ê¤¤¤«¤òÀ©¸æ¤¹¤ë¡£
4124 .\"O If this file is set to the value 0,
4125 .\"O the kernel's OOM-killer will kill some rogue process.
4126 .\"O Usually, the OOM-killer is able to kill a rogue process and the
4127 .\"O system will survive.
4128 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 0 ¤òÀßÄꤹ¤ë¤È¡¢
4129 ¥«¡¼¥Í¥ë¤Î OOM-killer ¤¬¤Ê¤é¤º¼Ô¤Î¥×¥í¥»¥¹¤ò kill ¤¹¤ë¡£
4130 ÉáÄ̤ϡ¢OOM-killer ¤¬¤Ê¤é¤º¼Ô¤Î¥×¥í¥»¥¹¤ò kill ¤¹¤ë¤³¤È¤¬¤Ç¤¡¢
4131 ¥·¥¹¥Æ¥à¤Ï²¿¤È¤«Æ°¤Â³¤±¤ë¤³¤È¤¬¤Ç¤¤ë¡£
4133 .\"O If this file is set to the value 1,
4134 .\"O then the kernel normally panics when out-of-memory happens.
4135 .\"O However, if a process limits allocations to certain nodes
4136 .\"O using memory policies
4137 .\"O .RB ( mbind (2)
4138 .\"O .BR MPOL_BIND )
4140 .\"O .RB ( cpuset (7))
4141 .\"O and those nodes reach memory exhaustion status,
4142 .\"O one process may be killed by the OOM-killer.
4143 .\"O No panic occurs in this case:
4144 .\"O because other nodes' memory may be free,
4145 .\"O this means the system as a whole may not have reached
4146 .\"O an out-of-memory situation yet.
4147 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 1 ¤òÀßÄꤹ¤ë¤È¡¢
4148 ¥á¥â¥êÉÔ¤ξõ¶·¤¬È¯À¸¤¹¤ë¤È¡¢¥«¡¼¥Í¥ë¤ÏÉáÄ̤ϥѥ˥寤¹¤ë¡£
4149 ¤·¤«¤·¤Ê¤¬¤é¡¢¥×¥í¥»¥¹¤¬
4156 ¤ò»È¤Ã¤ÆÆÃÄê¤Î¥Î¡¼¥É¤Ø¤Î¥á¥â¥ê³ä¤êÅö¤Æ¤òÀ©¸Â¤·¤Æ¤¤¤Æ¡¢
4157 ¤½¤ì¤é¤Î¥Î¡¼¥É¤Ç¥á¥â¥ê¸Ï³é¾õÂ֤˻ê¤Ã¤¿¾ì¹ç¤Ï¡¢
4158 °ì¤Ä¤Î¥×¥í¥»¥¹¤¬ OOM-killer ¤Ë¤è¤ê kill ¤µ¤ì¤ë¤À¤±¤«¤â¤·¤ì¤Ê¤¤¡£
4159 ¤³¤Î¾ì¹ç¤Ë¤Ï¡¢¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ÏȯÀ¸¤·¤Ê¤¤¡£
4160 ¤Ê¤¼¤Ê¤é¡¢Â¾¤Î¥Î¡¼¥É¤Î¥á¥â¥ê¤Ë¤Ï¶õ¤¤¬¤¢¤ë¤«¤â¤·¤ì¤º¡¢
4161 ¤·¤¿¤¬¤Ã¤Æ¡¢¥·¥¹¥Æ¥àÁ´ÂΤȤ·¤Æ¤Ï¥á¥â¥êÉÔ¤ξõ¶·¤Ë¤Þ¤À㤷¤Æ¤¤¤Ê¤¤¤«¤â
4162 ¤·¤ì¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
4164 .\"O If this file is set to the value 2,
4165 .\"O the kernel always panics when an out-of-memory condition occurs.
4166 ¤³¤Î¥Õ¥¡¥¤¥ë¤ËÃÍ 2 ¤òÀßÄꤹ¤ë¤È¡¢
4167 ¥á¥â¥êÉÔ¤ξõ¶·¤¬È¯À¸¤¹¤ë¤È¥«¡¼¥Í¥ë¤Ï¾ï¤Ë¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤¹¡£
4169 .\"O The default value is 0.
4170 .\"O 1 and 2 are for failover of clustering.
4171 .\"O Select either according to your policy of failover.
4172 ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 0 ¤Ç¤¢¤ë¡£
4173 1 ¤È 2 ¤Ï¥¯¥é¥¹¥¿¥ê¥ó¥°¤Î¥Õ¥§¥¤¥ë¥ª¡¼¥Ð¡¼ÍѤǤ¢¤ë¡£
4174 ¥Õ¥§¥¤¥ë¥ª¡¼¥Ð¡¼¤ÎÊý¿Ë¤Ë±þ¤¸¤Æ¤É¤Á¤é¤«¤ÎÃͤòÁªÂò¤¹¤ë¤³¤È¡£
4176 .\"O .IR /proc/sysrq-trigger " (since Linux 2.4.21)"
4177 .IR /proc/sysrq-trigger " (Linux 2.4.21 °Ê¹ß)"
4178 .\"O Writing a character to this file triggers the same SysRq function as
4179 .\"O typing ALT-SysRq-<character> (see the description of
4180 .\"O .IR /proc/sys/kernel/sysrq ).
4181 .\"O This file is normally only writable by
4183 .\"O For further details see the kernel source file
4184 .\"O .IR Documentation/sysrq.txt .
4185 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ëʸ»ú character ¤ò½ñ¤¹þ¤à¤È¡¢
4186 ¥¡¼¥Ü¡¼¥É¤«¤é ALT-SysRq-<character> ¤òÆþÎϤ·¤¿¾ì¹ç¤È
4187 Ʊ¤¸ SysRq ´Ø¿ô¤¬µ¯Æ°¤µ¤ì¤ë
4188 .RI ( /proc/sys/kernel/sysrq
4190 Ä̾¤³¤Î¥Õ¥¡¥¤¥ë¤Ø½ñ¤¹þ¤ß¤¬¤Ç¤¤ë¤Î¤Ï
4192 ¤À¤±¤Ç¤¢¤ë¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î
4193 .I Documentation/sysrq.txt
4197 .\"O Subdirectory containing the pseudo-files
4198 .\"O .IR msg ", " sem " and " shm "."
4200 .IR msg ", " sem ", " shm
4201 ¤ò´Þ¤à¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
4202 .\"O These files list the System V Interprocess Communication (IPC) objects
4203 .\"O (respectively: message queues, semaphores, and shared memory)
4204 .\"O that currently exist on the system,
4205 .\"O providing similar information to that available via
4207 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¸½ºß¥·¥¹¥Æ¥à¾å¤Ë¸ºß¤¹¤ë
4208 System V ¥×¥í¥»¥¹´ÖÄÌ¿® (Interprocess Communication, IPC) ¥ª¥Ö¥¸¥§¥¯¥È
4209 (¤½¤ì¤¾¤ì: ¥á¥Ã¥»¡¼¥¸¥¥å¡¼¡¢¥»¥Þ¥Õ¥©¡¢¶¦Í¥á¥â¥ê)
4212 ¤Ç¼èÆÀ¤Ç¤¤ë¾ðÊó¤ÈƱ¤¸¤â¤Î¤òÄ󶡤¹¤ë¡£
4213 .\"O These files have headers and are formatted (one IPC object per line)
4214 .\"O for easy understanding.
4215 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥Ø¥Ã¥À¤¬¤¢¤ê¡¢Íý²ò¤·¤ä¤¹¤¤¤è¤¦¤Ë
4216 (1 ¹Ô¤Ë¤Ä¤ 1 ¸Ä¤Î IPC ¥ª¥Ö¥¸¥§¥¯¥È¤Î·Á¼°¤Ç) ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¡£
4218 .\"O provides further background on the information shown by these files.
4220 ¤Ë¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤«¤éʬ¤«¤ë¾ðÊó¤Î¾ÜºÙ¤ÊÇطʤ¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
4223 .\"O Subdirectory containing the pseudo-files and subdirectories for
4224 .\"O tty drivers and line disciplines.
4225 µ¿»÷¥Õ¥¡¥¤¥ë¤ò´Þ¤à¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
4226 tty ¥É¥é¥¤¥Ð¤È¥é¥¤¥óÀßÄê (line discipline) ¤Î½ñ¤«¤ì¤¿
4227 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤â´Þ¤Þ¤ì¤ë¡£
4230 .\"O This file contains two numbers: the uptime of the system (seconds),
4231 .\"O and the amount of time spent in idle process (seconds).
4233 ¥·¥¹¥Æ¥àµ¯Æ°»þ¤«¤é·Ð²á¤·¤¿»þ´Ö (ÉÃ) ¤È
4234 ¥¢¥¤¥É¥ë (idle) ¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤¬¾ÃÈñ¤·¤¿»þ´Ö (ÉÃ) ¤Î 2 ¤Ä¤Î¿ô¤ò´Þ¤à¡£
4237 .\"O This string identifies the kernel version that is currently running.
4238 .\"O It includes the contents of
4239 .\"O .IR /proc/sys/kernel/ostype ,
4240 .\"O .I /proc/sys/kernel/osrelease
4242 .\"O .IR /proc/sys/kernel/version .
4244 ¸½ºß²ÔƯ¤·¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¼±Ê̻ҤǤ¢¤ëʸ»úÎó¡£
4246 .IR /proc/sys/ostype ,
4247 .IR /proc/sys/osrelease ,
4248 .I /proc/sys/version
4254 Linux version 1.0.9 (quinlan@phaze) #1 Sat May 14 01:51:54 EDT 1994
4258 .\" FIXME Document /proc/timer_list
4260 .\" .IR /proc/timer_list " (since Linux 2.6.21)"
4261 .\" See the 2.6.21 Change log
4262 .\" FIXME Document /proc/timer_stats
4264 .\" .IR /proc/timer_stats " (since Linux 2.6.21)"
4265 .\" See the 2.6.21 Change log
4267 .\"O .IR /proc/vmstat " (since Linux 2.6)"
4268 .IR /proc/vmstat " (Linux 2.6 °Ê¹ß)"
4269 .\"O This file displays various virtual memory statistics.
4270 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï²¾ÁÛ¥á¥â¥ê¤ÎÍÍ¡¹¤ÊÅý·×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
4272 .\"O .IR /proc/zoneinfo " (since Linux 2.6.13)"
4273 .IR /proc/zoneinfo " (Linux 2.6.13 °Ê¹ß)"
4274 .\"O This file display information about memory zones.
4275 .\"O This is useful for analyzing virtual memory behavior.
4276 .\"O .\" FIXME more should be said about /proc/zoneinfo
4277 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥á¥â¥ê¤Î¥¾¡¼¥ó (memory zone) ¤Ë´Ø¤¹¤ë¾ðÊó¤òɽ¼¨¤¹¤ë¡£
4278 ²¾ÁÛ¥á¥â¥ê¤Î¿¶Éñ¤¤¤òʬÀϤ¹¤ë¤Î¤ËÌòΩ¤Ä¡£
4279 .\" FIXME -- /proc/zoneinfo ¤Ë¤Ä¤¤¤Æ¤â¤Ã¤ÈÀâÌÀ¤¬É¬ÍפÀ
4282 .\"O Many strings (i.e., the environment and command line) are in
4283 .\"O the internal format, with subfields terminated by null bytes (\(aq\\0\(aq),
4285 .\"O may find that things are more readable if you use \fIod \-c\fP or \fItr
4286 .\"O "\\000" "\\n"\fP to read them.
4287 ¤Û¤È¤ó¤É¤Îʸ»úÎó (¤¿¤È¤¨¤Ð´Ä¶ÊÑ¿ô¤ä¥³¥Þ¥ó¥É¹Ô) ¤ÏÆâÉôɽ¸½¤Î¤Þ¤Þ¤Ê¤Î¤Ç¡¢
4288 ³Æ¥Õ¥£¡¼¥ë¥É¤Ï NULL ¥Ð¥¤¥È (\(aq\\0\(aq) ¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤ë¡£
4289 ¤À¤«¤é¡¢\fIod \-c\fP ¤ä \fItr "\\000" "\\n"\fP ¤ò»È¤¨¤Ð¡¢
4290 ¤½¤ì¤é¤Ï¤è¤êÆɤߤ䤹¤¯¤Ê¤ë¡£
4291 .\"O Alternatively, \fIecho \`cat <file>\`\fP works well.
4292 ¤Þ¤¿ \fIecho \`cat <file>\`\fP ¤Ç¤â¤è¤¤¡£
4294 .\"O This manual page is incomplete, possibly inaccurate, and is the kind
4295 .\"O of thing that needs to be updated very often.
4296 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤ÏÉÔ´°Á´¤Ç¤¢¤ê¡¢¤¿¤Ö¤óÉÔÀµ³Î¤Ç¡¢¤·¤Ð¤·¤Ð¹¹¿·¤µ¤ì¤ëɬÍפ¬¤¢¤ë¡£
4297 .\"O .\" .SH ACKNOWLEDGEMENTS
4299 .\"O .\" The material on /proc/sys/fs and /proc/sys/kernel is closely based on
4300 .\"O .\" kernel source documentation files written by Rik van Riel.
4301 .\" /proc/sys/fs ¤È /proc/sys/kernel ¤Î»ñÎÁ¤Ï¡¢
4302 .\" Rik van Riel ¤¬½ñ¤¤¤¿¥«¡¼¥Í¥ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î¥É¥¥å¥á¥ó¥È¤Ë
4303 .\" Ì©Àܤ˴ð¤Å¤¤¤Æ¤¤¤ë¡£
4331 .\"O The kernel source files:
4332 ¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¥Õ¥¡¥¤¥ë:
4333 .IR Documentation/filesystems/proc.txt ,
4334 .IR Documentation/sysctl/vm.txt