proc

PROC(5)                    Linux Programmer's Manual                   PROC(5)



åå
       proc - ããã»ã¹ã®æå ±ãå«ãæ¬ä¼¼ãã¡ã¤ã«ã·ã¹ãã

説æ
       proc ãã¡ã¤ã«ã·ã¹ãã ã¯æ¬ä¼¼çãªãã¡ã¤ã«ã·ã¹ãã ã§ããã
       ã«ã¼ãã«åã®ãã¼ã¿ã¸ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ãã¦ä½¿ç¨ãããã ä¸è¬çã«ã¯ /proc
       ã«ãã¦ã³ããããã 大é¨åã®ãã¡ã¤ã«ã¯èªã¿åºãå°ç¨ (read-only) ã§ãããã
       ããã¤ãã®ãã¡ã¤ã«ã¯æ¸ãè¾¼ã¿å¯è½ã§ããã
       ãã®ãã¡ã¤ã«ã«æ¸ãè¾¼ãã°ã«ã¼ãã«ã®åé¨å¤æ°ãå¤æ´ã§ããã

       以ä¸ã¯ /proc é層ã®ç°¡åãªããã¾ãã§ããã

       /proc/[pid]
              å®è¡ä¸ã®ããã»ã¹ã«ã¤ãã¦ã®ãµããã£ã¬ã¯ããªã ãµããã£ã¬ã¯ããªå㯠(ãã®ãã‐
              ã»ã¹ã®) ããã»ã¹ ID ã§ããã
              åãµããã£ã¬ã¯ããªã¯ã以ä¸ã®æ¬ä¼¼ãã¡ã¤ã«ã¨ãã£ã¬ã¯ããªãå«ãã

       /proc/[number]/auxv (ã«ã¼ãã« 2.6.0-test7 以é)
              å®è¡æã«ããã»ã¹ã«æ¸¡ããã ELF ã¤ã³ã¿ããªã¿æå ±ãæ ¼ç´ããã¦ããã
              åãã®ã¨ã³ããªã¯ãunsigned long åã® ID 1 åã« unsigned long åã®å¤ 1
              åãç¶ããã©ã¼ãããã§ããã æå¾ã®ã¨ã³ããªã«ã¯ 0 ã 2 åå¥ã£ã¦ããã

       /proc/[pid]/cgroup (Linux 2.6.24 以é)
              ãã®ãã¡ã¤ã«ã¯ãããã»ã¹ãã¿ã¹ã¯ãæå±ããã³ã³ããã¼ã«ã°ã«ã¼ãã示ãã cgroup
              ã®åé層ã«ã¤ãã¦ã¨ã³ããªã¼ã 1 ã¤ããã åã¨ã³ããªã¼ã¯ä»¥ä¸ã®å½¢å¼ã®ã³ã‐
              ã³åºåãã®ãã£ã¼ã«ãã§æ§æãããã

                  5:cpuacct,cpu,cpuset:/daemons

              ã³ãã³åºåãã®åãã£ã¼ã«ãã¯ãå·¦ããå³ã®é ã§ã以ä¸ã®æå³ãæã¤ã

                  1. é層 ID çªå·

                  2. ãã®é層ã«é¢é£ä»ãããµãã·ã¹ãã ã®éå

                  3. ããã»ã¹ãæå±ããé層åã®ã³ã³ããã¼ã«ã°ã«ã¼ã

              ãã®ãã¡ã¤ã«ãåå¨ããã®ã¯ãã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã»ãªãã·ã§ ã³
              CONFIG_CGROUPS ãæå¹ã«ããå ´åã ãã§ããã

       /proc/[pid]/cmdline
              ããã»ã¹ã®å®å¨ãªã³ãã³ãè¡ãä¿æããããã ãããã®ããã»ã¹ãã¾ã³ãããã»ã¹
              ã®å ´åã¯ããã®ãã¡ã¤ã«ã¯ç©ºã¨ãªããã¤ã¾ãããã®ãã¡ã¤ã«ãèªã¿åºãã¦ãä¸æå
              ãè¿ããªãããã®ãã¡ã¤ã«ã§ã¯ã³ãã³ãã©ã¤ã³å¼ãæ°ãã NULL ãã¤ã ('\0')
              ã§åºåãããæååã¨ãã¦æ¸ããã¦ããã æå¾ã®æååã®å¾ã« NULL ãã¤ããä¸ã¤ç½®ãããã

       /proc/[pid]/coredump_filter (kernel 2.6.23 以é)
              core(5)  åç§ã

       /proc/[pid]/cpuset (kernel 2.6.12 以é)
              cpuset(7)  åç§ã

       /proc/[pid]/cwd
              ããã»ã¹ã®ã«ã¬ã³ãã¯ã¼ãã³ã°ãã£ã¬ã¯ããªã¸ã®ã·ã³ããªãã¯ãªã³ã¯ã
              ä¾ãã°ãããã»ã¹ 20 ã®ã«ã¬ã³ãã¯ã¼ãã³ã°ãã£ã¬ã¯ããªãè¦ã¤ããããã«ã¯ã
              次ã®ããã«ããã°ããã

                  $ cd /proc/20/cwd; /bin/pwd

              pwd ã³ãã³ãã¯ã·ã§ã«ã®åé¨ã³ãã³ãã®ãã¨ãããããã ãã¾ãåä½ããªããããããªãã
              bash(1) ã§ã¯ pwd -P ã使ã£ã¦ãããã

              ãã«ãã¹ã¬ããããã»ã¹ã§ã¯ãã¡ã¤ã³ã¹ã¬ããããã§ã«çµäºãã¦ããå ´åã
              ãã®ã·ã³ããªãã¯ãªã³ã¯ã®å容ã¯åç§ã§ããªã (ã¹ã¬ããã®çµäºã¯é常
              pthread_exit(3)  ãå¼ã³åºãã«ããè¡ããã)ã

       /proc/[pid]/environ
              ãã®ãã¡ã¤ã«ã¯ããã»ã¹ã®ç°å¢å¤æ°ãå«ãã§ããã åã¨ã³ããªã¯ NULL ãã¤ã
              ('\0') ã§åºåããã¦ãã¦ã æ«å°¾ã« NULL ãã¤ãããããããããªãã ãããã£ã¦ãããã»ã¹
              1 ã®ç°å¢å¤æ°ã表示ããããã«ã¯ 次ã®ããã«ããã°ããã

                  $ strings /proc/1/environ

       /proc/[pid]/exe
              Linux 2.2 以éã§ã¯ããã®ãã¡ã¤ã«ã¯ã·ã³ããªãã¯ãªã³ã¯ã§ã
              å®è¡å¯è½ã³ãã³ãã®å®éã®ãã¹åãæ ¼ç´ãã¦ããã
              ãã®ã·ã³ããªãã¯ãªã³ã¯ã¯é常ã®ããã«è¾¿ããã¨ãã§ãã;
              ããããªã¼ãã³ããã¨å®è¡å¯è½ãã¡ã¤ã«ããªã¼ãã³ãããã (ã³ãã³ãã©ã¤ã³ã§)
              /proc/[pid]/exe ã¨å¥åããã¨ãããã»ã¹çªå· [pid] ã§å®è¡ããã¦ãã
              å®è¡å¯è½ãã¡ã¤ã«ãããä¸ã¤å®è¡ãããã¨ãã§ããã ãã«ãã¹ã¬ãããã‐
              ã»ã¹ã§ã¯ãã¡ã¤ã³ã¹ã¬ããããã§ã«çµäºãã¦ããå ´åã
              ãã®ã·ã³ããªãã¯ãªã³ã¯ã®å容ã¯åç§ã§ããªã (ã¹ã¬ããã®çµäºã¯é常
              pthread_exit(3)  ãå¼ã³åºãã«ããè¡ããã)ã

              Linux 2.0 以åã§ã¯ã /proc/[pid]/exe
              ã¯å®è¡ããããã¤ããªã¸ã®ãã¤ã³ã¿ã§ãã·ã³ããªãã¯ãªã³ã¯ã®ããã«è¦ããã Linux
              2.0 以åã§ã¯ããã®ãã¡ã¤ã«ã«å¯¾ã㦠readlink(2)
              ãå®è¡ããã¨ã次ã®ãã©ã¼ãããã®æååãè¿ãã

                  [ããã¤ã¹çªå·]:iãã¼ãçªå·

              ãã¨ãã°ã[0301]:1502 ã¯ã¡ã¸ã£ã¼ããã¤ã¹çªå· 03 (IDE, MFM
              ãªã©ã®ãã©ã¤ã)  ãã¤ãã¼ããã¤ã¹çªå· 01
              (æåã®ãã©ã¤ãã®æåã®ãã¼ãã£ã·ã§ã³) ã® ããã¤ã¹ä¸ã® iãã¼ãçªå· 1502
              ã§ããã

              -inum ãªãã·ã§ã³ãã¤ã㦠find(1) ã使ãã¨ã
              ãã®ãã¡ã¤ã«ã®æå¨ãæ¢ããã¨ãã§ããã

       /proc/[pid]/fd
              ããã»ã¹ããªã¼ãã³ãããã¡ã¤ã«åãã«å¯¾ããã¨ã³ããªãå«ããµããã£ã¬ã¯ããªã
              ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããã¡ã¤ã«åã§ã
              å®éã®ãã¡ã¤ã«ã¸ã®ã·ã³ããªãã¯ãªã³ã¯ã«ãªã£ã¦ããã ãããã£ã¦ 0
              ã¯æ¨æºå¥åã1 ã¯æ¨æºåºåã2 ã¯æ¨æºã¨ã©ã¼åºåããªã©ã¨ãªãã

              ãã«ãã¹ã¬ããããã»ã¹ã§ã¯ãã¡ã¤ã³ã¹ã¬ããããã§ã«çµäºãã¦ããå ´åã
              ãã®ãã£ã¬ã¯ããªã®å容ã¯åç§ã§ããªã (ã¹ã¬ããã®çµäºã¯é常
              pthread_exit(3)  ãå¼ã³åºãã«ããè¡ããã)ã

              ã³ãã³ãã©ã¤ã³å¼ãæ°ã¨ãã¦ãã¡ã¤ã«åãåãåãããå¼ãæ°ã 渡ãããªãã£ãå ´å
              ã«æ¨æºå¥åããå¥åãåãåããªããããªããã°ã©ã ãã ã³ãã³ãã©ã¤ã³å¼ãæ°ã¨ã
              ã¦æ¸ãè¾¼ã¿ãã¡ã¤ã«ãåãåãããå¼ãæ°ã 渡ãããªãã£ãå ´åã«æ¨æºåºåã«åºåã
              è¡ããªããããªããã°ã©ã ã§ãã£ã¦ãã /proc/[pid]/fd ã使ããã¨ã§æ¨æºå¥åã
              æ¨æºåºåã使ç¨ã§ããããã«ãªãã ä¾ãã°ã -i ãå¥åãã¡ã¤ã«ãæå®ãããã© ã°ã -o
              ãåºåãã¡ã¤ã«ãæå®ãããã©ã°ã¨ä»®å®ããã¨ã

                  $ foobar -i /proc/self/fd/0 -o /proc/self/fd/1 ...

              ãå®è¡ãããã¨ã«ããããã£ã«ã¿ã¨ãã¦åä½ããããã¨ãã§ããã

              /proc/self/fd/N ã¯ããã種㮠UNIX ã UNIX 風ã®ã·ã¹ãã ã«ãã
              /dev/fd/N ã¨ã ãããåãã§ããã äºå® Linux ã®ããã¦ãã® MAKEDEV
              ã¹ã¯ãªããã¯ã /dev/fd ã /proc/self/fd ã¸ã®ã·ã³ããªãã¯ãªã³ã¯ã«ãã¦ããã

              ã»ã¨ãã©ã®ã·ã¹ãã ã§ã¯ãã·ã³ããªãã¯ãªã³ã¯ /dev/stdin, /dev/stdout,
              /dev/stderr ãæä¾ããã¦ããããããã /proc/self/fd åã®ãã¡ã¤ã« 0, 1, 2
              ã«ãªã³ã¯ããã¦ããã
              ãããã£ã¦ãä¸è¿°ã®ãµã³ãã«ã³ãã³ãã¯æ¬¡ã®ããã«ãæ¸ããã¨ãã§ããã

                  $ foobar -i /dev/stdin -o /dev/stdout ...

       /proc/[pid]/fdinfo/ (kernel 2.6.22 以é)
              ãã®ãµããã£ã¬ã¯ããªã«ã¯ããã®ããã»ã¹ããªã¼ãã³ãã¦ãããã¡ã¤ã«æ¯ã®
              ã¨ã³ããªãå¥ã£ã¦ããããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããã¡ã¤ã«åã¨ãªã£ã¦ããã
              åãã¡ã¤ã«ã®å容ãèªã¿åºããã¨ã§ã対å¿ãããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã«é¢ãã
              æå ±ãå¾ããã¨ãã§ããã以ä¸ã«ä¾ã示ãã

                  $ cat /proc/12015/fdinfo/4
                  pos:    1000
                  flags:  01002002

              pos ãã£ã¼ã«ã㯠10 é²æ°ã§ãç¾å¨ã®ãã¡ã¤ã«ãªãã»ããã示ãã flags
              ãã£ã¼ã«ã㯠8 é²æ°ã§ã
              ãã¡ã¤ã«ã®ã¢ã¯ã»ã¹ã¢ã¼ãã¨ãã¡ã¤ã«ç¶æãã©ã°ã示ã (open(2)  åç§)ã

              ãã®ãã£ã¬ã¯ããªã®ãã¡ã¤ã«ã¯ãããã»ã¹ã®ææèã ããèªã¿åºããã¨ãã§ããã

       /proc/[pid]/limits (kernel 2.6.24 以é)
              This file displays the soft limit, hard limit, and units of
              measurement for each of the process's resource limits (see
              getrlimit(2)).  Up to and including Linux 2.6.35, this file is
              protected to allow reading only by the real UID of the process.
              Since Linux 2.6.36, this file is readable by all users on the
              system.

       /proc/[pid]/map_files/ (since kernel 3.3)
              This subdirectory contains entries corresponding to
              memory-mapped files (see mmap(2)).  Entries are named by memory
              region start and end address pair (expressed as hexadecimal
              numbers), and are symbolic links to the mapped files themselves.
              Here is an example, with the output wrapped and reformatted to
              fit on an 80-column display:

                  $ ls -l /proc/self/map_files/
                  lr--------. 1 root root 64 Apr 16 21:31
                              3252e00000-3252e20000 -> /usr/lib64/ld-2.15.so
                  ...

              Although these entries are present for memory regions that were
              mapped with the MAP_FILE flag, the way anonymous shared memory
              (regions created with the MAP_ANON | MAP_SHARED flags)  is
              implemented in Linux means that such regions also appear on this
              directory.  Here is an example where the target file is the
              deleted /dev/zero one:


                  lrw-------. 1 root root 64 Apr 16 21:33
                              7fc075d2f000-7fc075e6f000 -> /dev/zero (deleted)

              This directory appears only if the CONFIG_CHECKPOINT_RESTORE
              kernel configuration option is enabled.

       /proc/[pid]/maps
              A file containing the currently mapped memory regions and their
              access permissions.  See mmap(2)  for some further information
              about memory mappings.

              The format of the file is:

       address           perms offset  dev   inode       pathname
       00400000-00452000 r-xp 00000000 08:02 173521      /usr/bin/dbus-daemon
       00651000-00652000 r--p 00051000 08:02 173521      /usr/bin/dbus-daemon
       00652000-00655000 rw-p 00052000 08:02 173521      /usr/bin/dbus-daemon
       00e03000-00e24000 rw-p 00000000 00:00 0           [heap]
       00e24000-011f7000 rw-p 00000000 00:00 0           [heap]
       ...
       35b1800000-35b1820000 r-xp 00000000 08:02 135522  /usr/lib64/ld-2.15.so
       35b1a1f000-35b1a20000 r--p 0001f000 08:02 135522  /usr/lib64/ld-2.15.so
       35b1a20000-35b1a21000 rw-p 00020000 08:02 135522  /usr/lib64/ld-2.15.so
       35b1a21000-35b1a22000 rw-p 00000000 00:00 0
       35b1c00000-35b1dac000 r-xp 00000000 08:02 135870  /usr/lib64/libc-2.15.so
       35b1dac000-35b1fac000 ---p 001ac000 08:02 135870  /usr/lib64/libc-2.15.so
       35b1fac000-35b1fb0000 r--p 001ac000 08:02 135870  /usr/lib64/libc-2.15.so
       35b1fb0000-35b1fb2000 rw-p 001b0000 08:02 135870  /usr/lib64/libc-2.15.so
       ...
       f2c6ff8c000-7f2c7078c000 rw-p 00000000 00:00 0    [stack:986]
       ...
       7fffb2c0d000-7fffb2c2e000 rw-p 00000000 00:00 0   [stack]
       7fffb2d48000-7fffb2d49000 r-xp 00000000 00:00 0   [vdso]

              The address field is the address space in the process that the
              mapping occupies.  The perms field is a set of permissions:

                   r = read
                   w = write
                   x = execute
                   s = shared
                   p = private (copy on write)

              The offset field is the offset into the file/whatever; dev is
              the device (major:minor); inode is the inode on that device.  0
              indicates that no inode is associated with the memory region, as
              would be the case with BSS (uninitialized data).

              The pathname field will usually be the file that is backing the
              mapping.  For ELF files, you can easily coordinate with the
              offset field by looking at the Offset field in the ELF program
              headers (readelf -l).

              There are additional helpful pseudo-paths:

                   [stack]
                          The initial process's (also known as the main
                          thread's) stack.

                   [stack:<tid>] (since Linux 3.4)
                          A thread's stack (where the <tid> is a thread ID).
                          It corresponds to the /proc/[pid]/task/[tid]/ path.

                   [vdso] The virtual dynamically linked shared object.

                   [heap] The process's heap.

              If the pathname field is blank, this is an anonymous mapping as
              obtained via the mmap(2)  function.  There is no easy way to
              coordinate this back to a process's source, short of running it
              through gdb(1), strace(1), or similar.

              Linux 2.0 ã§ã¯ãã¹åãæ¸ãããã£ã¼ã«ãããªãã

       /proc/[pid]/mem
              ãã®ãã¡ã¤ã«ã¯ã open(2), read(2), lseek(2) ãéãã¦ããã‐
              ã»ã¹ã®ã¡ã¢ãªã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããããã«ä½¿ãããã

       /proc/[pid]/mountinfo (Linux 2.6.26 以é)
              ãã®ãã¡ã¤ã«ã«ã¯ããã¦ã³ããã¤ã³ãã«ã¤ãã¦ã®æå ±ãå¥ã£ã¦ããã
              以ä¸ã®ãããªå½¢å¼ã®è¡ããæ§æãããã

              36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue
              (1)(2)(3)   (4)   (5)      (6)      (7)   (8) (9)   (10)         (11)

              æ¬å¼§ä»ãã®æ°åã¯ã以ä¸ã®èª¬æã®ããã®ãã®ã§ããã

              (1)  ãã¦ã³ã ID: ãã¦ã³ãã®ä¸æãªèå¥å (umount(2)
                   ã®å¾ã¯åå©ç¨ããããããããªã)ã

              (2)  parent ID: 親ãã¦ã³ãã® ID
                   (ãã¦ã³ãããªã¼ã®æä¸ä½ã®å ´åã¯èªåèªèº«ã® ID ã¨ãªã)ã

              (3)  major:minor: ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ãã¡ã¤ã«ã® st_dev ã®å¤
                   (stat(2)  åç§)ã

              (4)  ã«ã¼ã: ãã®ãã¡ã¤ã«ã·ã¹ãã åã®ãã¦ã³ãã®ã«ã¼ãã

              (5)  ãã¦ã³ããã¤ã³ã: ãã¦ã³ããã¤ã³ãã®ãã®ããã»ã¹ã®ã«ã¼ãããã®ç¸å¯¾ãã¹ã

              (6)  ãã¦ã³ããªãã·ã§ã³: åãã¦ã³ãã®ãªãã·ã§ã³ã

              (7)  ãªãã·ã§ã³ãã£ã¼ã«ã: "tag[:value]" å½¢å¼ã®ãã£ã¼ã«ãã 0
                   å以ä¸ä¸¦ã¶ã

              (8)  ã»ãã¬ã¼ã¿: ãªãã·ã§ã³ãã£ã¼ã«ãã®çµããã示ãã

              (9)  ãã¡ã¤ã«ã·ã¹ãã 種å¥: ãã¡ã¤ã«ã·ã¹ãã ã®ååã "type[.subtype]"
                   ã¨ããå½¢å¼ã¨ãªãã

              (10) ãã¦ã³ãå: ãã¡ã¤ã«ã·ã¹ãã åºæã®æå ±ããªãå ´å㯠"none" ã¨ãªãã

              (11) super options: ã¹ã¼ãã¼ãããã¯åä½ã®ãªãã·ã§ã³ã

              解éããå´ã¯èªèã§ããªããªãã·ã§ã³ãã£ã¼ã«ãã¯å¨ã¦ç¡è¦ãã¹ãã§ããã
              ç¾å¨ã®ã¨ããããªãã·ã§ã³ãã£ã¼ã«ãã¨ãã¦ã¯ä»¥ä¸ã®ãããªãã®ãããã

                   shared:X          ãã¦ã³ãã¯ãã¢ã°ã«ã¼ã (peer group) X
                                     ã§å±æããã¦ããã

                   master:X          ãã¦ã³ãã¯ãã¢ã°ã«ã¼ã (peer group) X
                                     ã®ã¹ã¬ã¼ãã§ããã

                   propagate_from:X  ãã¦ã³ãã¯ã¹ã¬ã¼ãã§ããããã¢ã°ã«ã¼ã X (*) ãã
                                     mount propagation ãåä¿¡ããã

                   unbindable        ãã¦ã³ã㯠unbind ã§ããªãã

              (*) X ã¯ãããã»ã¹ã® root ã§ç´è¿ã® dominant peer group ã§ããã X
              ããã¦ã³ãã®ç´æ¥ã®ãã¹ã¿ã¼ã§ããå ´åãã åã root ã« dominant peer group
              ããªãå ´åã¯ã "master:X" ãã£ã¼ã«ãã ããåå¨ãã "propagate_from:X"
              ãã£ã¼ã«ãã¯åå¨ããªãã

              mount propagation ã®è©³ç´°ã«ã¤ãã¦ã¯ã Linux ã«ã¼ãã«ã½ã¼ã¹ããªã¼åã®
              Documentation/filesystems/sharedsubtree.txt ãåç§ã

       /proc/[pid]/mounts (Linux 2.4.19 以é)
              ãã®ããã»ã¹ã®ãã¦ã³ãåå空éã«ç¾å¨ãã¦ã³ãããã¦ãã
              å¨ãã¡ã¤ã«ã·ã¹ãã ã®ãªã¹ãã ãã®ãã¡ã¤ã«ã®ãã©ã¼ããã㯠fstab(5)
              ã«è¼ã£ã¦ããã ã«ã¼ãã« 2.6.15 以éã§ã¯ããã®ãã¡ã¤ã«ãç£è¦ãããã¨ãã§ãã
              (pollable)ã ãã®ãã¡ã¤ã«ãèª‐
              ã¿åºãç¨ã«ãªã¼ãã³ããå¾ã§ããã®ãã¡ã¤ã«ã«å¤æ´ãããã¨
              (ã¤ã¾ããã¡ã¤ã«ã·ã¹ãã ã®ãã¦ã³ããã¢ã³ãã¦ã³ããããã¨)ã select(2)
              ã§ã¯ãã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯èªã¿åºãå¯è½ã¨ãªãã poll(2)  ã¨
              epoll_wait(2) ã§ã¯ãã®ãã¡ã¤ã«ã¯ã¨ã©ã¼ç¶æã¨ãã¦éç¥ãããã

       /proc/[pid]/mountstats (Linux 2.6.17 以é)
              ãã®ãã¡ã¤ã«ãéãã¦ããã®ããã»ã¹ã®åå空éåã®ãã¦ã³ããã¤ã³ãã«é¢ãã å種æå ±
              (çµ±è¨ãè¨å®æå ±) ãåç§ã§ããã ãã¡ã¤ã«ã®åè¡ã¯ä»¥ä¸ã®ãã©ã¼ãããã§ããã

              device /dev/sda7 mounted on /home with fstype ext3 [statistics]
              (       1      )            ( 2 )             (3 ) (4)

              åè¡ã®ãã£ã¼ã«ãã¯ä»¥ä¸ã®éãã§ããã

              (1)  ãã¦ã³ãããã¦ããããã¤ã¹å (対å¿ããããã¤ã¹ããªãå ´å㯠"nodevice"
                   ã¨ãªã)ã

              (2)  ãã¦ã³ããã¤ã³ãã®ãã¡ã¤ã«ã·ã¹ãã ããªã¼ã«ããããã¹åã

              (3)  ãã¡ã¤ã«ã·ã¹ãã 種å¥ã

              (4)  追å ã®çµ±è¨ãè¨å®æå ±ã ç¾å¨ã®ã¨ãã (Linux 2.6.26 æç¹ã§ã¯)ã
                   ãã®ãã£ã¼ã«ãã§æå ±ãæä¾ããã¦ããã®ã¯ NFS ãã¡ã¤ã«ã·ã¹ãã ã ãã§ããã

              ãã®ãã¡ã¤ã«ã¯ããã»ã¹ã®ææèã ããèªã¿åºããã¨ãã§ããã

       /proc/[pid]/ns/ (Linux 3.0 以é)
              ãã®ãµããã£ã¬ã¯ããªã«ã¯ãåå空éæ¯ã« 1 ã¨ã³ããªãç½®ãããã åã¨ã³ããªã¯
              setns(2) ã«ããæä½ããµãã¼ããã¦ããã åå空éã«é¢ããæå ±ã¯ clone(2) ãåç§ã

       /proc/[pid]/ns/ipc (Linux 3.0 以é)
              ãã®ãã¡ã¤ã«ããã¡ã¤ã«ã·ã¹ãã ã®ã©ããä»ã®å ´æã« bind mount ãããã¨ã§
              (mount(2) åç§)ãç¾å¨ãã®åå空éã«ããå¨ã¦ã®ããã»ã¹ãçµäºããã¨ãã¦ãã pid
              ã§æå®ãããããã»ã¹ã® IPC åå空éã¯æå¹ãªç¶æã§ä¿ãããã

              ãã®ãã¡ã¤ã«ããªã¼ãã³ããã¨ã pid ã§æå®ãããããã»ã¹ã® IPC
              åå空éã®ãã¡ã¤ã«ãã³ãã«ãè¿ãããããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããªã¼ãã³ããã¦ããéãããã®åå空éã«ããå¨ã¦ã®ãã‐
              ã»ã¹ãçµäºããã¨ãã¦ãããã® IPC
              åå空éã¯æå¹ãªã¾ã¾ã¨ãªãããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯ setns(2)
              ã«æ¸¡ããã¨ãã§ããã

       /proc/[pid]/ns/net (Linux 3.0 以é)
              ãã®ãã¡ã¤ã«ããã¡ã¤ã«ã·ã¹ãã ã®ã©ããä»ã®å ´æã« bind mount ãããã¨ã§
              (mount(2) åç§)ãç¾å¨ãã®åå空éã«ããå¨ã¦ã®ããã»ã¹ãçµäºããã¨ãã¦ãã pid
              ã§æå®ãããããã»ã¹ã®ãããã¯ã¼ã¯åå空éã¯æå¹ãªç¶æã§ä¿ãããã

              ãã®ãã¡ã¤ã«ããªã¼ãã³ããã¨ã pid ã§æå®ããããã‐
              ã»ã¹ã®ãããã¯ã¼ã¯åå空éã®ãã¡ã¤ã«ãã³ãã«ãè¿ãããããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããªã¼ãã³ããã¦ããéãããã®åå空éã«ããå¨ã¦ã®ãã‐
              ã»ã¹ãçµäºããã¨ãã¦ãããã®ãããã¯ã¼ã¯åå空éã¯æå¹ãªã¾ã¾ã¨ãªãããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯
              setns(2) ã«æ¸¡ããã¨ãã§ããã

       /proc/[pid]/ns/uts (Linux 3.0 以é)
              ãã®ãã¡ã¤ã«ããã¡ã¤ã«ã·ã¹ãã ã®ã©ããä»ã®å ´æã« bind mount ãããã¨ã§
              (mount(2) åç§)ãç¾å¨ãã®åå空éã«ããå¨ã¦ã®ããã»ã¹ãçµäºããã¨ãã¦ãã pid
              ã§æå®ãããããã»ã¹ã® UTS åå空éã¯æå¹ãªç¶æã§ä¿ãããã

              ãã®ãã¡ã¤ã«ããªã¼ãã³ããã¨ã pid ã§æå®ãããããã»ã¹ã® UTS
              åå空éã®ãã¡ã¤ã«ãã³ãã«ãè¿ãããããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ããªã¼ãã³ããã¦ããéãããã®åå空éã«ããå¨ã¦ã®ãã‐
              ã»ã¹ãçµäºããã¨ãã¦ãããã® UTS
              åå空éã¯æå¹ãªã¾ã¾ã¨ãªãããã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯ setns(2)
              ã«æ¸¡ããã¨ãã§ããã

       /proc/[pid]/numa_maps (Linux 2.6.14 以é)
              numa(7)  ãåç§ã

       /proc/[pid]/oom_adj (Linux 2.6.11 以é)
              ãã®ãã¡ã¤ã«ã¯ãã¡ã¢ãªä¸è¶³ (OOM) ã®ç¶æ³ä¸ã§ã©ã®ãã‐
              ã»ã¹ã殺ãã¹ãããé¸æã
              ãã®ã«ä½¿ç¨ãããã¹ã³ã¢ã調æ´ããã®ã«ä½¿ç¨ããããã«ã¼ãã«ã¯ãããã»ã¹ã®
              oom_score å¤ã®ãããã·ããæä½ã«ããã®å¤ã使ç¨ããããã®å¤ã¨ãã¦æå¹ãªå¤ ã¯
              -16 ãã +15 ã¾ã§ã¨ãç¹å¥ãªæå³ãæ㤠-17 ã§ããã -17 ã¯ãã®ããã»ã¹
              ã«å¯¾ãã OOM-killing ãå®å¨ã«ç¡å¹ã«ãããã¨ãæå³ãããæ£ã®å¤ã»ã©ããã®ãã
              ã»ã¹ã OOM-killer
              ã«ãã殺ãããå¯è½æ§ãé«ããªããè² ã®å¤ã»ã©å¯è½æ§ãä½ããªãã

              ãã®ãã¡ã¤ã«ã®ããã©ã«ãå¤ã¯ 0 ã§ããã æ°ããããã»ã¹ã¯è¦ªããã»ã¹ã® oom_adj
              ã®è¨å®ãç¶æ¿ããã ãã®ãã¡ã¤ã«ãå¤æ´ããããã«ã¯ãããã»ã¹ã¯ç¹æ¨©
              (CAP_SYS_RESOURCE) ãæã£ã¦ããªããã°ãªããªãã

              Since Linux 2.6.36, use of this file is deprecated in favor of
              /proc/[pid]/oom_score_adj.

       /proc/[pid]/oom_score (Linux 2.6.11 以é)
              ãã®ãã¡ã¤ã«ã¯ãOOM-killer ã®ããã»ã¹é¸æç¨ã¨ãã¦ãã«ã¼ãã«ã ãã®ããã»ã¹
              ã«å¯¾ãã¦ä¸ããç¾å¨ã®ã¹ã³ã¢ã表示ããã é«ãã¹ã³ã¢ã¯ããã®ããã»ã¹ã
              OOM-killer ã«ããé¸æããã å¯è½æ§ãé«ããã¨ãæå³ããã ãã®ã¹ã³ã¢ã®åºæ¬ã¯
              ãã®ããã»ã¹ã使ç¨ãã¦ããã¡ã¢ãªéã§ããã 以ä¸ã®è¦å ã«ããå ç® (+) æ¸ç®
              (-) ãè¡ãããã

              * ãã®ããã»ã¹ãå¤ãã®åããã»ã¹ã fork(2)  ã使ã£ã¦ä½æãã¦ããã (+)ã

              * ãã®ããã»ã¹ãé·æéå®è¡ããã¦æ¥ããã ããã㯠å¤ãã® CPU æéã使ç¨ãã¦ããã
                (-)ã

              * ãã®ããã»ã¹ãä½ã nice å¤ (> 0) ãæã£ã¦ããã (+)ã

              * ãã®ããã»ã¹ãç¹æ¨©ãæã£ã¦ããã (-)ã

              * ãã®ããã»ã¹ã direct hardware access ãè¡ã£ã¦ããã (-)ã

              oom_score ã¯ããã®ããã»ã¹ã® oom_score_adj ã oom_adj è¨‐
              å®ã§è¦å®ããã調æ´ã«ãå½±é¿ãä¸ããã

       /proc/[pid]/oom_score_adj (Linux 2.6.36 以é)
              This file can be used to adjust the badness heuristic used to
              select which process gets killed in out-of-memory conditions.

              The badness heuristic assigns a value to each candidate task
              ranging from 0 (never kill) to 1000 (always kill) to determine
              which process is targeted.  The units are roughly a proportion
              along that range of allowed memory the process may allocate
              from, based on an estimation of its current memory and swap use.
              For example, if a task is using all allowed memory, its badness
              score will be 1000.  If it is using half of its allowed memory,
              its score will be 500.

              There is an additional factor included in the badness score:
              root processes are given 3% extra memory over other tasks.

              The amount of "allowed" memory depends on the context in which
              the OOM-killer was called.  If it is due to the memory assigned
              to the allocating task's cpuset being exhausted, the allowed
              memory represents the set of mems assigned to that cpuset (see
              cpuset(7)).  If it is due to a mempolicy's node(s) being
              exhausted, the allowed memory represents the set of mempolicy
              nodes.  If it is due to a memory limit (or swap limit) being
              reached, the allowed memory is that configured limit.  Finally,
              if it is due to the entire system being out of memory, the
              allowed memory represents all allocatable resources.

              The value of oom_score_adj is added to the badness score before
              it is used to determine which task to kill.  Acceptable values
              range from -1000 (OOM_SCORE_ADJ_MIN) to +1000
              (OOM_SCORE_ADJ_MAX).  This allows user space to control the
              preference for OOM-killing, ranging from always preferring a
              certain task or completely disabling it from OOM-killing.  The
              lowest possible value, -1000, is equivalent to disabling
              OOM-killing entirely for that task, since it will always report
              a badness score of 0.

              Consequently, it is very simple for user space to define the
              amount of memory to consider for each task.  Setting a
              oom_score_adj value of +500, for example, is roughly equivalent
              to allowing the remainder of tasks sharing the same system,
              cpuset, mempolicy, or memory controller resources to use at
              least 50% more memory.  A value of -500, on the other hand,
              would be roughly equivalent to discounting 50% of the task's
              allowed memory from being considered as scoring against the
              task.

              For backward compatibility with previous kernels,
              /proc/[pid]/oom_adj can still be used to tune the badness score.
              Its value is scaled linearly with oom_score_adj.

              Writing to /proc/[pid]/oom_score_adj or /proc/[pid]/oom_adj will
              change the other with its scaled value.

       /proc/[pid]/root
              UNIX 㨠Linux ã§ã¯ã ãã¡ã¤ã«ã·ã¹ãã ã®ã«ã¼ã (/) ãããã»ã¹ãã¨ã«å¥ãã«
              ã§ãããããã¯ã·ã¹ãã ã³ã¼ã« chroot(2) ã«ãã£ã¦è¨å®ããã ãã®ãã¡ã¤ã«ã¯ ãã‐
              ã»ã¹ã®ã«ã¼ããã£ã¬ã¯ããªãæãã·ã³ããªãã¯ãªã³ã¯ã§ã exe ã fd/* ãªã©
              ã¨åããããªåä½ãããã

              ãã«ãã¹ã¬ããããã»ã¹ã§ã¯ãã¡ã¤ã³ã¹ã¬ããããã§ã«çµäºãã¦ããå ´åã
              ãã®ã·ã³ããªãã¯ãªã³ã¯ã®å容ã¯åç§ã§ããªã (ã¹ã¬ããã®çµäºã¯é常
              pthread_exit(3)  ãå¼ã³åºãã«ããè¡ããã)ã

       /proc/[pid]/smaps (Linux 2.6.14 以é)
              ãã®ãã¡ã¤ã«ã¯ããã®ããã»ã¹ã®åãããã³ã°ã®ã¡ã¢ãªæ¶è²»éã表示ããã
              ãããã³ã°ã®ããããã«ã¤ãã¦ã以ä¸ã®ãããªå容ã表示ãããã

                  08048000-080bc000 r-xp 00000000 03:02 13130      /bin/bash
                  Size:               464 kB
                  Rss:                424 kB
                  Shared_Clean:       424 kB
                  Shared_Dirty:         0 kB
                  Private_Clean:        0 kB
                  Private_Dirty:        0 kB

              æåã®è¡ã«ã¯ã /proc/[pid]/maps
              ã§è¡¨ç¤ºããããããã³ã°ã¨åãæå ±ã表示ãããã
              æ®ãã®è¡ã«ã¯ããããã³ã°ã®ãµã¤ãºãç¾å¨ RAM ä¸ã«åå¨ãããããã³ã°ã®éã
              ãããã³ã°åã®å±æãã¼ã¸ã®ãã¡ã¯ãªã¼ã³ãªãã¼ã¸æ°ããã¼ãã£ãªãã¼ã¸æ°ã
              ãããã³ã°åã®ãã©ã¤ãã¼ããã¼ã¸ã®ãã¡ã¯ãªã¼ã³ãªãã¼ã¸æ°ã
              ãã¼ãã£ãªãã¼ã¸æ°ãã示ãã

              ãã®ãã¡ã¤ã«ãåå¨ããã®ã¯ãã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã»ãªãã·ã§ã³
              CONFIG_MMU ãæå¹ã«ããå ´åã ãã§ããã

       /proc/[pid]/stat
              ããã»ã¹ã®ç¶æã«ã¤ãã¦ã®æå ±ã ãã㯠ps(1)  ã§ä½¿ããã
              /usr/src/linux/fs/proc/array.c ã§å®ç¾©ããã¦ããã

              åãã£ã¼ã«ããé çªã«ã scanf(3)  ã®ãã©ã¼ãããæå®åä»ãã§ä»¥ä¸ã«ç¤ºãã

              pid %d      (1) ããã»ã¹ IDã

              comm %s     (2)
                          æ¬å¼§ã§ãããããå®è¡å½¢å¼ã®ãã¡ã¤ã«åãå®è¡å½¢å¼ãã¹ã¯ããã¢ã¦ãããã¦ãããã©ããã«ããããè¦ããã¨ãã§ããã

              state %c    (3) "RSDZTW" ã®ã©ãã 1 æåã R ã¯å®è¡ä¸ (running)ã S
                          ã¯å²ãè¾¼ã¿å¯è½ãªä¼ç ç¶æ (sleeping in an
                          interruptible wait)ã D
                          ã¯å²ãè¾¼ã¿ä¸å¯è½ãªãã£ã¹ã¯ã¹ãªã¼ãã®å¾æ©ç¶æ (waiting
                          in uninterruptible disk sleep)ã Z ã¯ã¾ã³ãç¶æ
                          (zombie)ã T ã¯ãã¬ã¼ã¹ããã¦ãã (traced) ã (ã·ã°ãã«ã«ãã)
                          åæ¢ãã¦ããç¶æ (stopped)ã W ã¯ãã¼ã¸ã³ã°ä¸ (paging)
                          ã表ãã¦ããã

              ppid %d     (4) 親ããã»ã¹ã® PIDã

              pgrp %d     (5) ããã»ã¹ã®ããã»ã¹ã°ã«ã¼ã IDã

              session %d  (6) ããã»ã¹ã®ã»ãã·ã§ã³ IDã

              tty_nr %d   (7) ããã»ã¹ã®å¶å¾¡ç«¯æ« (ãã¤ãã¼ã»ããã¤ã¹çªå·ã¯ããã
                          31ã20 㨠7ã0 ã«ã¾ããã£ã¦æ ¼ç´ããã
                          ã¡ã¸ã£ã¼ã»ããã¤ã¹çªå·ã¯ããã 15ã8 ã«æ ¼ç´ããã)ã

              tpgid %d    (8) ããã»ã¹ã®å¶å¾¡ç«¯æ«ã®ãã©ã¢ã°ã©ã³ãã»ãã‐
                          ã»ã¹ã»ã°ã«ã¼ãã® IDã

              flags %u (Linux 2.6.22 ããå㯠%lu)
                          (9) ããã»ã¹ã®ã«ã¼ãã«ãã©ã°ã¯ã¼ãã ãããã®æå³ã¯ã
                          <linux/sched.h> ã§å®ç¾©ããã¦ãã PF_* ãåç§ãããã¨ã
                          詳細ã¯ã«ã¼ãã«ã®ãã¼ã¸ã§ã³ã«ä¾åããã

              minflt %lu  (10) ããã»ã¹ãå¼ãèµ·ããããã¤ãã¼ãã©ã¼ã«ã (minor
                          faultããã£ã¹ã¯ãã ã¡ã¢ãªãã¼ã¸ã¸ã®ã‐
                          ã¼ããå¿è¦ã¨ããªããã©ã¼ã«ã) ã®åæ°ã

              cminflt %lu (11) (ãã®ããã»ã¹ãçµäºãå¾ã£ã¦ãã) åãã‐
                          ã»ã¹ãå¼ãèµ·ããããã¤ãã¼ãã©ã¼ã«ãã®åæ°ã

              majflt %lu  (12) ããã»ã¹ãå¼ãèµ·ãããã¡ã¸ã£ã¼ãã©ã¼ã«ã (major
                          faultããã£ã¹ã¯ããã¡ã¢ãªãã¼ã¸ã¸ã®ãã¼ããå¿è¦ã¨ãããã©ã¼ã«ã)
                          ã®åæ°ã

              cmajflt %lu (13) (ãã®ããã»ã¹ãçµäºãå¾ã£ã¦ãã) åãã‐
                          ã»ã¹ãå¼ãèµ·ãããã¡ã¸ã£ã¼ãã©ã¼ã«ãã®åæ°ã

              utime %lu   (14) ãã®ãã‐
                          ã»ã¹ãã¦ã¼ã¶ã¼ã¢ã¼ãã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããæéã®åè¨ã
                          clock tick åä½ã§è¨æ¸¬ããã (sysconf(_SC_CLK_TCK)
                          ã§å²ã£ãå¤ã表示ããã)ã ãã®å¤ã«ã¯ã²ã¹ãæé guest_time
                          (ä»®æ³ CPU ã®å®è¡ã«æ¶è²»ãããæé)
                          ãå«ã¾ãããããã¯ãã²ã¹ãæéã®ãã£ã¼ã«ããèªè‐
                          ããªãã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ãã²ã¹ãæéåãè¨ç®ã«å¥ãæã‐
                          ãªãããã«ããããã§ããã

              stime %lu   (15) ããã»ã¹ã®ã«ã¼ãã«ã¢ã¼ãã§ã®å®è¡æé (åä½ jiffies)ã
                          ãã®ããã»ã¹ãã«ã¼ãã«ã¢ã¼ãã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããæéã®åè¨ã
                          clock tick åä½ã§è¨æ¸¬ããã (sysconf(_SC_CLK_TCK)
                          ã§å²ã£ãå¤ã表示ããã)ã

              cutime %ld  (16) ãã®ããã»ã¹ã®åããã»ã¹ã§ãçµäºå¾ã¡ (waited-for)
                          ã®ããã»ã¹ãã ã¦ã¼ã¶ã¢ã¼ãã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããæéã®åè¨ã
                          clock tick åä½ã§è¨æ¸¬ããã (sysconf(_SC_CLK_TCK)
                          ã§å²ã£ãå¤ã表示ããã)ã (times(2)  ãåç§ãããã¨ã)
                          ãã®å¤ã«ã¯ã²ã¹ãæé cguest_time (ä»®æ³ CPU
                          ãå®è¡ããã®ã«æ¶è²»ããæéãä¸è¨åç§) ãå«ã¾ããã

              cstime %ld  (17) ãã®ããã»ã¹ã®åããã»ã¹ã§ãçµäºå¾ã¡ (waited-for)
                          ã®ããã»ã¹ããã«ã¼ãã«ã¢ã¼ãã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããæéã®åè¨ã
                          clock tick åä½ã§è¨æ¸¬ããã (sysconf(_SC_CLK_TCK)
                          ã§å²ã£ãå¤ã表示ããã)ã

              priority %ld
                          (18) (Linux 2.6 ã®å ´åã®èª¬æ)
                          ãªã¢ã«ã¿ã¤ã ã»ã¹ã±ã¸ã¥ã¼ãªã³ã°ããªã·ã¼ (ä¸è¨ã® policy
                          ; sched_setscheduler(2) åç§) ã§åä½ãã¦ããããã»ã¹ã§ã¯ã
                          ãã® å¤ã¯ã¹ã±ã¸ã¥ã¼ãªã³ã°åªå度ãå転ããå¤
                          (ã¹ã±ã¸ã¥ã¼ãªã³ã°åªå度ã ãã¤ãã¹ã«ã ãå¤) ã¨ãªããå¤ã¯
                          -2 ãã -100 ã¾ã§ã®ç¯å²ã®æ°å¤ã§ã ãããããªã¢ã«ã¿ã¤ã åªå
                          度㮠1 ãã 9 ã«å¯¾å¿ããã
                          ãªã¢ã«ã¿ã¤ã 以å¤ã®ã¹ã±ã¸ã¥ã¼ãªã³ã°ããªã·ã¼ã§åä½ã
                          ã¦ããããã»ã¹ã§ã¯ã ãã®å¤ã¯ã«ã¼ãã«åã§ç®¡çããã¦ãã nice
                          å¤ãã®ãã® (setpriority(2)) ã¨ãªãã ã«ã¼ãã«ã¯ nice å¤ã
                          0 (é«) ãã 39 (ä½) ã®ç¯å² ã®å¤ã¨ãã¦ä¿æãã¦ããã
                          ããããã¦ã¼ã¶ã«è¦ãã nice å¤ã® -20 ãã 19 ã«å¯¾å¿ ããã

                          Linux 2.6 ããåã§ã¯ããã®ãã‐
                          ã»ã¹ã«å²ãå½ã¦ãããã¹ã±ã¸ã¥ã¼ãªã³ã°
                          éã¿ãå¤æããå¤ã表示ããã¦ããã

              nice %ld    (19) nice å¤ (setpriority(2) åç§)ã 19 (æä½åªå) ãã
                          -20 (æé«åªå) ã®ç¯å²ã®å¤ã§ããã

              num_threads %ld
                          (20) ãã®ããã»ã¹ã®ã¹ã¬ããæ° (Linux 2.6 以é)ã ã«ã¼ãã«
                          2.6 ããåã§ã¯ããã®ãã£ã¼ã«ãã¯åé¤ããããã£ã¼ã«ãã®
                          å ´æåãã¨ã㦠0 ã«ãã¼ãã³ã¼ãããã¦ããã

              itrealvalue %ld
                          (21) ã¤ã³ã¿ã¼ãã«ã¿ã¤ãã«ãã£ã¦ã次㫠SIGALRM ããã‐
                          ã»ã¹ã¸éãããã¾ã§ã®æé (åä½ jiffies)ã ã«ã¼ãã« 2.6.17
                          以éã§ã¯ããã®ãã£ã¼ã«ãã¯ã¡ã³ããã³ã¹ãããªããªãã 0
                          ã«ãã¼ãã³ã¼ãããã¦ããã

              starttime %llu (Linux 2.6 ããå㯠%lu)
                          (22) The time the process started after system boot.
                          In kernels before Linux 2.6, this value was
                          expressed in jiffies.  Since Linux 2.6, the value is
                          expressed in clock ticks (divide by
                          sysconf(_SC_CLK_TCK)).

              vsize %lu   (23) ä»®æ³ã¡ã¢ãªã®ãµã¤ãºãåä½ã¯ãã¤ãã

              rss %ld     (24) Resident Set Sizeããã‐
                          ã»ã¹ãæã£ã¦ããå®ã¡ã¢ãªä¸ã®ãã¼ã¸æ°ã ããã¯ã¡ããã©ãã‐
                          ã¹ãããã¼ã¿ãã¹ã¿ãã¯ç©ºéã«ä½¿ããã¦ãããã¼ã¸æ°ã§ããã ããã³ãã‐
                          ã¼ãããã¦ããªããã¼ã¸ã
                          ã¹ã¯ããã¢ã¦ãããããã¼ã¸ã®æ°ã¯å«ãã§ããªãã

              rsslim %lu  (25) ãã®ããã»ã¹ã® rss ã®ç¾å¨ã®ã½ããã»ãªããã (ãã¤ãåä½)ã
                          getrlimit(2) ã® RLIMIT_RSS ã®èª¬æãåç§ã

              startcode %lu
                          (26) ããã°ã©ã ããã¹ããå®è¡å¯è½ã§ãããããªé åã®åé ã¢ãã¬ã¹ã

              endcode %lu (27) ããã°ã©ã ãã‐
                          ã¹ããå®è¡å¯è½ã§ãããããªé åã®æ«å°¾ã¢ãã¬ã¹ã

              startstack %lu
                          (28) ã¹ã¿ãã¯ã®éå§ã¢ãã¬ã¹ (ããªãã¡ãã¹ã¿ãã¯ã®åº)ã

              kstkesp %lu (29) ç¾å¨ã® ESP (ã¹ã¿ãã¯ãã¤ã³ã¿) ã®å¤ã ãã‐
                          ã»ã¹ã®ã«ã¼ãã«ã¹ã¿ãã¯ãã¼ã¸ã«ããã

              kstkeip %lu (30) ç¾å¨ã® EIP (ã¤ã³ã¹ãã©ã¯ã·ã§ã³ãã¤ã³ã¿) ã®å¤ã

              signal %lu  (31) å¦çå¾ã¡ã®ã·ã°ãã«ã®ããããããã 10
                          é²æ°ã§è¡¨ç¤ºãããããã®ãã£ã¼ã«ãã¯å»æ‐
                          ¢äºå®ã§ããããªã¢ã«ã¿ã¤ã ã»ã·ã°ãã«ã«é¢ããæå ±ã¯è¡¨ç¤ºãããªãããã§ããã代ããã«
                          /proc/[pid]/status ã使ããã¨ã

              blocked %lu (32) ãããã¯ããã (blocked) ã·ã°ãã«ã®ããããããã 10
                          é²æ°ã§è¡¨ç¤ºãããã ãã®ãã£ã¼ã«ãã¯å»æ¢äºå®ã§ããã
                          ãªã¢ã«ã¿ã¤ã ã»ã·ã°ãã«ã«é¢ããæå ±ã¯è¡¨ç¤ºãããªãããã§ããã
                          代ããã« /proc/[pid]/status ã使ããã¨ã

              sigignore %lu
                          (33) ç¡è¦ããã (ignored) ã·ã°ãã«ã®ããããããã 10
                          é²æ°ã§è¡¨ç¤ºãããã ãã®ãã£ã¼ã«ãã¯å»æ¢äºå®ã§ããã
                          ãªã¢ã«ã¿ã¤ã ã»ã·ã°ãã«ã«é¢ããæå ±ã¯è¡¨ç¤ºãããªãããã§ããã
                          代ããã« /proc/[pid]/status ã使ããã¨ã

              sigcatch %lu
                          (34) ææããã (caught) ã·ã°ãã«ã®ããããããã 10
                          é²æ°ã§è¡¨ç¤ºãããã ãã®ãã£ã¼ã«ãã¯å»æ¢äºå®ã§ããã
                          ãªã¢ã«ã¿ã¤ã ã»ã·ã°ãã«ã«é¢ããæå ±ã¯è¡¨ç¤ºãããªãããã§ããã
                          代ããã« /proc/[pid]/status ã使ããã¨ã

              wchan %lu   (35) ãã‐
                          ã»ã¹ãå¾ã£ã¦ããããã£ãã«ããããã¯ã·ã¹ãã ã³ã¼ã«ã®ã¢ãã¬ã¹ã§ããã
                          æååãå¿è¦ãªãã° (ã¢ãã¬ã¹ã¨ã·ã¹ãã ã³ã¼ã«åã¨ã®)
                          対å¿è¡¨ããè¦ã¤ãããã (ãã /etc/psdatabase [訳注:
                          ãã®ãã¡ã¤ã«åã¯ããã±ã¼ã¸ã«ãã] ãæ´æ° ãã¦ãããªãã°ã ps -l
                          ã㦠WCHAN ãã£ã¼ã«ããè¦ã)ã

              nswap %lu   (36) ã¹ã¯ããããããã¼ã¸æ° (ã¡ã³ããã³ã¹ããã¦ããªã)ã

              cnswap %lu  (37) åããã»ã¹ã® nswap ã®ç´¯è¨ (ã¡ã³ããã³ã¹ããã¦ããªã)ã

              exit_signal %d (Linux 2.1.22 以é)
                          (38) ããã»ã¹ãæ»ãã ã¨ãã«è¦ªããã»ã¹ã«éãããã·ã°ãã«ã

              processor %d (Linux 2.2.8 以é)
                          (39) ãã®ããã»ã¹ãæå¾ã«å®è¡ãã CPU ã®çªå·ã

              rt_priority %u (Linux 2.5.19 以é; Linux 2.6.22 ããå㯠%lu)
                          (40) ãªã¢ã«ã¿ã¤ã ã»ã¹ã±ã¸ã¥ã¼ãªã³ã°ã®åªå度ã
                          ãªã¢ã«ã¿ã¤ã ã»ããªã·ã¼ã®åã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ããããã‐
                          ã»ã¹ã§ã¯ 1 ãã 99 ã®ç¯å²ã®å¤ã¨ãªãã
                          ãªã¢ã«ã¿ã¤ã 以å¤ã®ã¹ã±ã¸ã¥ã¼ãªã³ã°ããªã·ã¼ã®ãã‐
                          ã»ã¹ã§ã¯ 0 ã¨ãªã (sched_setscheduler(2)  åç§)ã

              policy %u (Linux 2.5.19 以é; Linux 2.6.22 ããå㯠%lu)
                          (41) ã¹ã±ã¸ã¥ã¼ãªã³ã°ã»ããªã·ã¼
                          (sched_setscheduler(2)  åç§)ã å¤ã¯ã linux/sched.h ã®
                          SCHED_* å®æ°ã使ã£ã¦ãã³ã¼ãããã°ããã

              delayacct_blkio_ticks %llu (Linux 2.6.18 以é)
                          (42) (clock tick (100åã®1ç§) åä½ã§ã®) ããã㯠I/O
                          ã®ç·é延éã

              guest_time %lu (Linux 2.6.24 以é)
                          (43) ããã»ã¹ã®ã²ã¹ãæé (ã²ã¹ã OS ã®ä»®æ³ CPU
                          ãå®è¡ããã®ã«æ¶è²»ãããæé)ã clock tick åä½ã§è¨æ¸¬ããã
                          (sysconf(_SC_CLK_TCK) ã§å²ã£ãå¤ã表示ããã)ã

              cguest_time %ld (Linux 2.6.24 以é)
                          (44) ããã»ã¹ã®åããã»ã¹ã®ã²ã¹ãæéã clock tick
                          åä½ã§è¨æ¸¬ããã (sysconf(_SC_CLK_TCK)
                          ã§å²ã£ãå¤ã表示ããã)ã

       /proc/[pid]/statm
              (ãã¼ã¸åä½ã§è¨æ¸¬ãã) ã¡ã¢ãªä½¿ç¨éã«ã¤ãã¦ã®æå ±ãæä¾ããã
              ååã¯ä»¥ä¸ã®éãã§ããã

                  size       ããã°ã©ã ãµã¤ãºã®ç·è¨
                             (/proc/[pid]/status ã® VmSize ã¨åã)
                  resident   å®ã¡ã¢ãªä¸ã«åå¨ãããã¼ã¸
                             (/proc/[pid]/status ã® VmRSS ã¨åã)
                  share      å±æãã¼ã¸ (ãã¡ã¤ã«ã¨é¢é£ä»ãããã¦ãããã¼ã¸)
                  text       ããã¹ã (ã³ã¼ã)
                  lib        ã©ã¤ãã©ãª (Linux 2.6 ã§ã¯æªä½¿ç¨)
                  data       ãã¼ã¿ + ã¹ã¿ãã¯
                  dt         ãã¼ãã£ãã¼ã¸ (Linux 2.6 ã§ã¯æªä½¿ç¨)

       /proc/[pid]/status
              /proc/[pid]/stat 㨠/proc/[pid]/statm
              ã«ããå¤ãã®æå ±ãã人éã解æããããå½¢å¼ã§æä¾ããã 以ä¸ã«ä¾ã示ãã

                  $ cat /proc/$$/status
                  Name:   bash
                  State:  S (sleeping)
                  Tgid:   3515
                  Pid:    3515
                  PPid:   3452
                  TracerPid:      0
                  Uid:    1000    1000    1000    1000
                  Gid:    100     100     100     100
                  FDSize: 256
                  Groups: 16 33 100
                  VmPeak:     9136 kB
                  VmSize:     7896 kB
                  VmLck:         0 kB
                  VmHWM:      7572 kB
                  VmRSS:      6316 kB
                  VmData:     5224 kB
                  VmStk:        88 kB
                  VmExe:       572 kB
                  VmLib:      1708 kB
                  VmPTE:        20 kB
                  Threads:        1
                  SigQ:   0/3067
                  SigPnd: 0000000000000000
                  ShdPnd: 0000000000000000
                  SigBlk: 0000000000010000
                  SigIgn: 0000000000384004
                  SigCgt: 000000004b813efb
                  CapInh: 0000000000000000
                  CapPrm: 0000000000000000
                  CapEff: 0000000000000000
                  CapBnd: ffffffffffffffff
                  Cpus_allowed:   00000001
                  Cpus_allowed_list:      0
                  Mems_allowed:   1
                  Mems_allowed_list:      0
                  voluntary_ctxt_switches:        150
                  nonvoluntary_ctxt_switches:     545

              ãã£ã¼ã«ãã®è©³ç´°ã¯ä»¥ä¸ã®éãã§ããã

              * Name: ãã®ããã»ã¹ã«ããå®è¡ãããã³ãã³ãã

              * State: ããã»ã¹ã®ç¾å¨ã®ç¶æã "R (running; å®è¡ä¸)", "S (sleeping;
                ä¼ç ç¶æ)", "D (disk sleep; ãã£ã¹ã¯å¾ã¡ã®ä¼ç ç¶æ)", "T
                (stopped; åæ¢ç¶æ)", "T (tracing stop; ãã¬ã¼ã¹ã«ããåæ¢)", "Z
                (zombie; ã¾ã³ãç¶æ)", "X (dead; æ»äº¡)" ã®ããããã§ããã

              * Tgid: ã¹ã¬ããã°ã«ã¼ã ID (ããªãã¡ãããã»ã¹ ID)ã

              * Pid: ã¹ã¬ãã ID (gettid(2)  åç§)ã

              * PPid: 親ããã»ã¹ã® PIDã

              * TracerPid: ãã®ããã»ã¹ããã¬ã¼ã¹ãã¦ããããã»ã¹ã® PID
                (ãã¬ã¼ã¹ããã¦ããªãå ´å㯠0)ã

              * Uid, Gid: å® UID/GIDãå®å¹ UID/GIDãä¿å
                set-UID/GIDããã¡ã¤ã«ã·ã¹ãã  UID/GIDã

              * FDSize: ç¾å¨å²ãå½ã¦ããã¦ãããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®ã¹ãããæ°ã

              * Groups: è£å©ã°ã«ã¼ãã®ãªã¹ãã

              * VmPeak: ä»®æ³ã¡ã¢ãªãµã¤ãºã®ãã¼ã¯å¤ã

              * VmSize: ä»®æ³ã¡ã¢ãªãµã¤ãºã

              * VmLck: ããã¯ããã¦ããã¡ã¢ãªãµã¤ãº (mlock(3) åç§)ã

              * VmHWM: å®ã¡ã¢ãªä¸ã«åå¨ãããã¼ã¸ãµã¤ãº (resident set size)
                ã®ãã¼ã¯å¤ ("high water mark")ã

              * VmRSS: å®ã¡ã¢ãªä¸ã«åå¨ãããã¼ã¸ãµã¤ãºã

              * VmData, VmStk, VmExe: ãã¼ã¿ãã¹ã¿ãã¯ãããã¹ãã»ã°ã¡ã³ãã®ãµã¤ãºã

              * VmLib: å±æã©ã¤ãã©ãªã»ã³ã¼ãã®ãµã¤ãºã

              * VmPTE: ãã¼ã¸ã»ãã¼ãã«ã»ã¨ã³ããªã®ãµã¤ãº (Linux 2.6.10 以é)ã

              * Threads: ãã®ã¹ã¬ãããå±ããããã»ã¹ã®ã¹ã¬ããæ°ã

              * SigQ: ãã®ãã£ã¼ã«ãã«ã¯ã¹ã©ãã·ã¥ã§åºåããã 2 ã¤ã®æ°å‐
                ãå¥ã£ã¦ããããã®æ°åã¯ãã®ããã»ã¹ã®å®ã¦ã¼ã¶ ID å®ã«ã‐
                ã¥ã¼ã¤ã³ã°ãããã·ã°ãã«ã«é¢ãããã®ã§ãããä¸ã¤ç®ã®æ°åã¯ããã®å®ã¦ã¼ã¶ ID
                å®ã«ç¾å¨ãã¥ã¼ã¤ã³ã°ããã¦ããã·ã°ãã«æ°ã§ãããäºã¤ç®ã®æ°åã¯ããã®ãã‐
                ã»ã¹å®ã«ãã¥ã¼ã¤ã³ã°ãããã·ã°ãã«æ°ã«é¢ãããªã½ã¼ã¹ä¸éå¤ã§ãã
                (getrlimit(2) ã® RLIMIT_SIGPENDING ã®èª¬æãåç§)ã

              * SigPnd, ShdPnd: ã¹ã¬ããå®ããã³ããã»ã¹å¨ä½å®ã®å¦çå¾ã¡ã·ã°ãã«ã®æ°
                (pthreads(7), signal(7)  åç§)ã

              * SigBlk, SigIgn, SigCgt: ãã‐
                ãã¯ãããã·ã°ãã«ãç¡è¦ãããã·ã°ãã«ãææå¾ã¡ã®ã·ã°ãã«ã 示ããã¹ã¯å¤
                (signal(7))ã

              * CapInh, CapPrm, CapEff: ç¶æ¿å¯è½ (inheritable)ã許å¯
                (permitted)ãå®å¹ (effective)
                ã®åã±ã¼ãããªãã£ã»ããã§æå¹ã«ãªã£ã¦ããã±ã¼ãããªãã£ã®ãã¹ã¯å¤
                (capabilities(7)  åç§)ã

              * CapBnd: ã±ã¼ãããªãã£ã»ãã¦ã³ãã£ã³ã°ã»ãã (ã«ã¼ãã« 2.6.26 以éã
                capabilities(7)  åç§)ã

              * Cpus_allowed: ãã®ããã»ã¹ãå®è¡ã許å¯ããã¦ãã CPU ã®ãã¹ã¯å¤ (Linux
                2.6.24 以éã cpuset(7) åç§)ã

              * Cpus_allowed_list: åé ã¨åãã ããããªã¹ãå½¢å¼ãã§ã®è¡¨ç¤º (Linux
                2.6.26 以éã cpuset(7) åç§)ã

              * Mems_allowed: ãã®ããã»ã¹ã使ç¨ã§ããã¡ã¢ãªãã¼ãã®ãã¹ã¯å¤ (Linux
                2.6.24 以éã cpuset(7) åç§)ã

              * Mems_allowed_list: åé ã¨åãã ããããªã¹ãå½¢å¼ãã§ã®è¡¨ç¤º (Linux
                2.6.26 以éã cpuset(7) åç§)ã

              * voluntary_context_switches, nonvoluntary_context_switches:
                èªçºç/éèªçºçãªã³ã³ããã¹ãã¹ã¤ããã®åæ° (Linux 2.6.23 以é)ã

       /proc/[pid]/task (Linux 2.6.0-test6 以é)
              ãã®ãã£ã¬ã¯ããªã«ã¯ããã®ããã»ã¹ã®ã¹ã¬ããæå ±ãå«ã ãµããã£ã¬ã¯ããªã 1
              ã¹ã¬ããã«ã¤ã 1 ã¤ç½®ãããã åãµããã£ã¬ã¯ããªã®ååã¯ã¹ã¬ããã®ã¹ã¬ãã ID
              ([tid])  ã示ãæ°åã§ãã (gettid(2) ãåç§)ã ãããã®åãµããã£ã¬ã¯ããªã«ã¯ã
              /proc/[pid] ãã£ã¬ã¯ããªä»¥ä¸ã¨åãååã¨å容ã®ãã¡ã¤ã«ç¾¤ãããã
              ãã¹ã¦ã®ã¹ã¬ããã§å±æãããå±æ§ã®å ´åã task/[tid]
              ãµããã£ã¬ã¯ããªä»¥ä¸ã®åãã¡ã¤ã«ã®å容㯠親ãã£ã¬ã¯ã㪠/proc/[pid]
              ã®å¯¾å¿ãããã¡ã¤ã«ã¨åãã«ãªããã¨ã ãã (ä¾ãã°ããã«ãã¹ã¬ããã»ãã‐
              ã»ã¹ã§ã¯ãã¡ã¤ã« task/[tid]/cwd ã¯ãããã親ãã£ã¬ã¯ããªåã®
              /proc/[pid]/cwd ã¨åãå¤ãæã¤ãã¨ã«ãªãããªããªããä¸ã¤ã®ãã‐
              ã»ã¹ã«å±ããã¹ã¦ã® ã¹ã¬ããã¯ä½æ¥ãã£ã¬ã¯ããªãå±æããããã§ãã)ã
              ã¹ã¬ããæ¯ã«ç¬ç«ãªå±æ§ã®å ´åã task/[tid]
              ãµããã£ã¬ã¯ããªä»¥ä¸ã®åãã¡ã¤ã«ã¯ç°ãªãå¤ãæã¤ãã¨ããã (ä¾ãã°ããã¡ã¤ã«
              task/[tid]/status ã¯ã¹ã¬ããæ¯ã«ç°ãªãå¤ãæã¤å¯è½æ§ããã)ã

              ãã«ãã¹ã¬ããããã»ã¹ã§ã¯ãã¡ã¤ã³ã¹ã¬ããããã§ã«çµäºãã¦ããå ´åã
              /proc/[pid]/task ãã£ã¬ã¯ããªã®å容ã¯åç§ã§ããªã (ã¹ã¬ããã®çµäºã¯é常
              pthread_exit(3)  ãå¼ã³åºãã«ããè¡ããã)ã

       /proc/apm
              Advanced Power Management ã®ãã¼ã¸ã§ã³ã¨ããããªæå ±ã
              ã«ã¼ãã«ã®ã³ã³ãã¤ã«æã« CONFIG_APM ãå®ç¾©ããã¨ãã«åå¨ããã

       /proc/bus
              ã¤ã³ã¹ãã¼ã«ããã¦ããåãã¹ç¨ã«ãµããã£ã¬ã¯ããªãããã

       /proc/bus/pccard
              PCMCIA ããã¤ã¹ã®æå ±ãæ¸ããããµããã£ã¬ã¯ããªã ã«ã¼ãã«ã®ã³ã³ãã¤ã«æã«
              CONFIG_PCMCIA ãå®ç¾©ããã¨ãã«åå¨ããã

       /proc/bus/pccard/drivers

       /proc/bus/pci
              ããã¤ãã®ãµããã£ã¬ã¯ããªãããã PCI ãã¹ã»ã¤ã³ã¹ãã¼ã«ããã¦ããããã¤ã¹ã»
              ããã¤ã¹ãã©ã¤ãã®æå ±ãæ¸ãããä»®æ³ãã¡ã¤ã«ãããã
              ãããã®ãã¡ã¤ã«ã®ãã¡ããã¤ã㯠ASCII ãã©ã¼ãããã§ã¯ãªãã

       /proc/bus/pci/devices
              PCI ããã¤ã¹ã®æå ±ã lspci(8)  ã setpci(8)  ã§ã¢ã¯ã»ã¹ãããã¨ãã§ããã

       /proc/cmdline
              ãã¼ãæã« Linux ã«ã¼ãã«ã«æ¸¡ãããå¼ãæ°ã å¼ãæ°ã®åã渡ãã¯ãããã¦ã
              lilo(8)  ã grub(8) ã¨ãã£ããã¼ãããã¼ã¸ã£ã使ã£ã¦è¡ãããã

       /proc/config.gz (Linux 2.6 以é)
              ãã®ãã¡ã¤ã«ã§ã¯ãç¾å¨å®è¡ä¸ã®ã«ã¼ãã«ã®æ§ç¯æã«ä½¿ç¨ããã è¨‐
              å®ãªãã·ã§ã³ãåç§ã§ããã æ¸å¼ã¯ã (make xconfig, make config
              ãªã©ã使ã£ã¦) ã«ã¼ãã«ã®è¨å®ãå¤æ´ããéã«çæããã .config
              ãã¡ã¤ã«ã®ãã®ã¨åãã§ããã ãã¡ã¤ã«ã®å容ã¯å§ç¸®ããã¦ããã zcat(1),
              zgrep(1)  ãªã©ã使ãã¨ã表示ãæ¤ç´¢ãã§ããã ãã¡ã¤ã«ãå¤æ´ããã¦ããªãéãã
              /proc/config.gz ã®å容ã¯æ¬¡ã®ã³ãã³ãã§å¾ãããå容ã¨åãã§ããã

                  cat /lib/modules/$(uname -r)/build/.config

              /proc/config.gz ãæä¾ãããã®ã¯ãã«ã¼ãã«ã®è¨å®ã§ CONFIG_IKCONFIG_PROC
              ãæå¹ã«ãªã£ã¦ããå ´åã®ã¿ã§ããã

       /proc/cpuinfo
              ãã®ãã¡ã¤ã«ã¯ãCPU ããã³ã·ã¹ãã ã¢ã¼ããã¯ãã£ã«ä¾åããé ç®ã
              éãããã®ã§ããªã¹ãã®å容ã¯ãµãã¼ãããã¦ããã¢ã¼ããã¯ãã£æ¯ã«ç°ãªãã 2
              ã¤ã ãå±éã®é ç®ãããã processor ã¯ããã»ããµçªå·ã§ã bogomips
              ã¯ã«ã¼ãã«ã®åæåæã«è¨ç®ãããã·ã¹ãã å®æ°ã§ããã SMP ãã·ã³ã§ã¯å CPU
              ã«ã¤ãã¦ã®æå ±ãæ¸ããã¦ããã lscpu(1) ã³ãã³ãã¯ãã®ãã¡ã¤ã«ããæå ±ãåéããã

       /proc/devices
              ã¡ã¸ã£ã¼ããã¤ã¹çªå·ã¨ããã¤ã¹ã°ã«ã¼ãã®ããã¹ãå½¢å¼ã®ãªã¹ãã MAKEDEV
              ã¹ã¯ãªããã¯ãã®ãã¡ã¤ã«ã使ã£ã¦ã ã«ã¼ãã«ã¨ã®æ´åæ§ãä¿ã¤ãã¨ãã§ããã

       /proc/diskstats (Linux 2.5.69 以é)
              ãã®ãã¡ã¤ã«ã«ã¯åãã£ã¹ã¯ããã¤ã¹ã®ãã£ã¹ã¯ I/O çµ±è¨æå ±ãæ¸ããã¦ããã
              æ´ã«è©³ããæå ±ã¯ãLinux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã«
              Documentation/iostats.txt ãåç§ãããã¨ã

       /proc/dma
              ç»é²ããã¦ãã ISA DMA (direct memory access) ãã£ãã«ã®ãªã¹ãã

       /proc/driver
              空ã®ãµããã£ã¬ã¯ããªã

       /proc/execdomains
              å®è¡ãã¡ã¤ã³ã®ãªã¹ã (ABI ãã¼ã½ããªãã£)ã

       /proc/fb
              ã«ã¼ãã«ã®ã³ã³ãã¤ã«æã« CONFIG_FB
              ãå®ç¾©ããã¦ããå ´åããã¬ã¼ã ãããã¡ã®æå ±ãæ¸ãããã

       /proc/filesystems
              ã«ã¼ãã«ã対å¿ãã¦ãããã¡ã¤ã«ã·ã¹ãã ã®ããã¹ãå½¢å¼ã®ãªã¹ãã
              ã«ã¼ãã«ã«çµã¿è¾¼ã¾ãã¦ã³ã³ãã¤ã«ããããã¡ã¤ã«ã·ã¹ãã ã¨ã
              ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãç¾å¨ãã¼ãããã¦ãããã¡ã¤ã«ã·ã¹ãã ãåæããã
              (filesystems(5)  åç§)ã ãã¡ã¤ã«ã·ã¹ãã ã« "nodev"
              ã¨ããå°ãä»ãã¦ããå ´åã ãã®ãã¡ã¤ã«ã·ã¹ãã ããã¦ã³ãããããã®ãããã¯ããã¤ã¹ã
              å¿è¦ã¨ããªããã¨ãæå³ãã (ä¾ãã°ã
              ä»®æ³ãã¡ã¤ã«ã·ã¹ãã ããããã¯ã¼ã¯ãã¡ã¤ã«ã·ã¹ãã ãªã©)ã

              ã¡ãªã¿ã«ããã¦ã³ãæã«ãã¡ã¤ã«ã·ã¹ãã ãæå®ãããã
              ã©ããã£ã¦ããã¡ã¤ã«ã·ã¹ãã ã®ç¨®é¡ãå¤å®ã§ããªãã£ãéã«ã ãã®ãã¡ã¤ã«ã
              mount(8) ã使ç¨ãããããããªãã
              ãã®å ´åããã®ãã¡ã¤ã«ã«å«ã¾ãããã¡ã¤ã«ã·ã¹ãã ã試ããã (ãã ãã"nodev"
              ã®å°ãã¤ãããã®ã¯é¤ã)ã

       /proc/fs
              空ã®ãµããã£ã¬ã¯ããªã

       /proc/ide
              ãã®ãã£ã¬ã¯ããªã¯ IDE ãã¹ããã¤ã·ã¹ãã ã«åå¨ããã å IDE
              ãã£ãã«ã¨ããã«åãä»ãããã¦ããåããã¤ã¹ãã¨ã«ãã£ã¬ã¯ããªãããã
              以ä¸ã®ãã¡ã¤ã«ãå«ã¾ãã¦ããã

                  cache              ãããã¡ãµã¤ãº (KB)
                  capacity           ã»ã¯ã¿æ°
                  driver             ãã©ã¤ãã®ãã¼ã¸ã§ã³
                  geometry           ç©çã¸ãªã¡ããªã¨è«çã¸ãªã¡ããª
                  identify           16 é²æ°è¡¨è¨
                  media              ã¡ãã£ã¢ã®ã¿ã¤ã
                  model              製é èã®ã¢ãã«çªå·
                  settings           ãã©ã¤ãã®è¨å®
                  smart_thresholds   16 é²æ°è¡¨è¨
                  smart_values       16 é²æ°è¡¨è¨

              hdparm(8)  ã¦ã¼ãã£ãªãã£ã¯ãåãããããå½¢å¼ã§
              ãã®æå ±ã«ã¢ã¯ã»ã¹ããããã®æ段ãæä¾ããã

       /proc/interrupts
              IO ããã¤ã¹æ¯ã® CPU å¥ã®å²ãè¾¼ã¿åæ°ã®è¨é²ã«ä½¿ãããã Linux 2.6.24
              以éãå°ãªãã¨ã i386 㨠x86_64 ã¢ã¼ããã¯ãã£ã§ã¯ã (ããã¤ã¹ã¨é¢é£ããªã)
              ã·ã¹ãã åé¨ã®å²ãè¾¼ã¿ã«ã¤ãã¦ãè¨é²ãããã
              ã·ã¹ãã åé¨ã®å²ãè¾¼ã¿ã«ã¯ãNMI (nonmaskable interrupt), LOC (local
              timer interrupt) ããSMP ã·ã¹ãã ã§ã¯ TLB (TLB flush interrupt),
              RES (rescheduling interrupt), CAL (remote function call
              interrupt)  ãªã©ãããã ç°¡åã«èªããã¨ã®ã§ãããã©ã¼ãããã§ãASCII
              ã§è¡¨è¨ããã¦ããã

       /proc/iomem
              Linux 2.4 ã«ããã I/O ã¡ã¢ãªãããã

       /proc/ioports
              ç¾å¨ç»é²ãã使ããã¦ãã I/O ãã¼ãé åã®ãªã¹ãã

       /proc/kallsyms (Linux 2.5.71 以é)
              ã«ã¼ãã«ã®å¤é¨ã·ã³ãã«å®ç¾©ãä¿æããã modules(X)  é¢ä¿ã®ãã¼ã«ãã‐
              ã¼ããã«ã¢ã¸ã¥ã¼ã«ãåçã«ãªã³ã¯ããã ãã¤ã³ã (bind) ããã®ã«ä½¿ãããã Linux
              2.5.47 以åã§ã¯ãå¾®å¦ã«ç°ãªãæ¸å¼ã®ä¼¼ããããªãã¡ã¤ã«ã ksyms
              ã¨ããååã§ãã£ãã

       /proc/kcore
              ãã®ãã¡ã¤ã«ã¯ã·ã¹ãã ã®ç©çã¡ã¢ãªã表ç¾ãã¦ããã ELF ã³ã¢ãã¡ã¤ã«å½¢å¼
              (core file format) ã§ä¿æããã¦ããã ãã®æ¬ä¼¼ãã¡ã¤ã«ã¨ strip
              ããã¦ããªãã«ã¼ãã«ã®ãã¤ã㪠(/usr/src/linux/vmlinux)  [訳注:
              ããã±ã¼ã¸ã«ä¾åãã]) ãããã°ã GDB
              ã¯ã«ã¼ãã«åã®ä»»æã®ãã¼ã¿æ§é ã®ç¾å¨ã®ç¶æã調ã¹ãããã

              ãã®ãã¡ã¤ã«ã®å¤§ããã¯ç©çã¡ã¢ãª (RAM) ã®ãµã¤ãºã« 4KB ãå ããå¤ã§ããã

       /proc/kmsg
              ãã®ãã¡ã¤ã«ã¯ syslog(2)  ã·ã¹ãã ã³ã¼ã«ã§ã«ã¼ãã«ã¡ãã»ã¼ã¸ãèª‐
              ã¿åºã代ãã«ä½¿ããã ããã»ã¹ããã®ãã¡ã¤ã«ãèª‐
              ãããã«ã¯ã¹ã¼ãã¼ã¦ã¼ã¶ã¼æ¨©éãå¿è¦ã§ããã ãã¡ã¤ã«ãèªã¿åºãã®ã¯ 1
              ã¤ã®ããã»ã¹ã®ã¿ã«éãã¹ãã§ããã ã«ã¼ãã«ã¡ãã»ã¼ã¸ãè¨é²ããããã«ã
              syslog(2)  ã·ã¹ãã ã³ã¼ã«ã®æ©è½ã使ã syslog ããã»ã¹ã稼åãã¦ããå ´åã
              ãã®ãã¡ã¤ã«ãèªã¿åºãã¹ãã§ã¯ãªãã

              ãã®ãã¡ã¤ã«ã®ä¸ã®æå ±ã¯ dmesg(1)  ã«ãã£ã¦è¡¨ç¤ºãããã

       /proc/ksyms (Linux 1.1.23-2.5.47)
              /proc/kallsyms ãåç§ã

       /proc/loadavg
              ãã®ãã¡ã¤ã«ã®æåã® 3 ã¤ã®ãã£ã¼ã«ãã¯ãã¼ãã¢ãã¬ã¼ã¸ã®æ°å¤ã§ã 1, 5, 15
              å ãããã®å®è¡ãã¥ã¼å (state R) ã¾ã㯠ãã£ã¹ã¯ I/O å¾ã¡ (state D)
              ã®ã¸ã§ãæ° ãä¸ããã ãã㯠uptime(1) ãªã©ã®ãã‐
              ã°ã©ã ã«ãã£ã¦å¾ãããå¤ã¨åãã§ããã 4 çªç®ã®ãã£ã¼ã«ãã¯ã¹ã©ãã·ã¥ (/)
              ã§åºåããã 2 ã¤ã®æ°å¤ããæ§æãããã
              ãã®æ°å¤ã®ãã¡æåã®ãã®ã¯ãç¾å¨å®è¡å¯è½ãªã«ã¼ãã«ã¹ã±ã¸ã¥ã¼ã«ã¨ã³ãã£ãã£
              (ããã»ã¹ãã¹ã¬ãã) ã®æ°ã§ãããã¹ã©ãã·ã¥ã®å¾ã®æ°å¤ã¯ãç¾å¨ã·ã¹ãã ä¸ã«
              åå¨ããã«ã¼ãã«ã¹ã±ã¸ã¥ã¼ã«ã¨ã³ãã£ãã£ã®æ°ã§ããã 5 çªç®ã®ãã£ã¼ã«ãã¯
              ã·ã¹ãã ä¸ã«æãæè¿çæãããããã»ã¹ã® PID ã§ããã

       /proc/locks
              ãã®ãã¡ã¤ã«ã¯ç¾å¨ã®ãã¡ã¤ã«ãã㯠(flock(2) 㨠fcntl(2))  ã¨ãªã¼ã¹
              (fcntl(2))  ã表示ããã

       /proc/malloc (Linux 2.2 以åã®ã¿)
              ã³ã³ãã¤ã«ã®ã¨ãã« CONFIGDEBUGMALLOC
              ãå®ç¾©ããã¦ããã¨ãã®ã¿ããã®ãã¡ã¤ã«ã¯åå¨ããã

       /proc/meminfo
              This file reports statistics about memory usage on the system.
              It is used by free(1)  to report the amount of free and used
              memory (both physical and swap)  on the system as well as the
              shared memory and buffers used by the kernel.  Each line of the
              file consists of a parameter name, followed by a colon, the
              value of the parameter, and an option unit of measurement (e.g.,
              "kB").  The list below describes the parameter names and the
              format specifier required to read the field value.  Except as
              noted below, all of the fields have been present since at least
              Linux 2.6.0.  Some fileds are displayed only if the kernel was
              configured with various options; those dependencies are noted in
              the list.

              MemTotal %lu
                     Total usable RAM (i.e. physical RAM minus a few reserved
                     bits and the kernel binary code).

              MemFree %lu
                     The sum of LowFree+HighFree.

              Buffers %lu
                     Relatively temporary storage for raw disk blocks that
                     shouldn't get tremendously large (20MB or so).

              Cached %lu
                     In-memory cache for files read from the disk (the page
                     cache).  Doesn't include SwapCached.

              SwapCached %lu
                     Memory that once was swapped out, is swapped back in but
                     still also is in the swap file.  (If memory pressure is
                     high, these pages don't need to be swapped out again
                     because they are already in the swap file.  This saves
                     I/O.)

              Active %lu
                     Memory that has been used more recently and usually not
                     reclaimed unless absolutely necessary.

              Inactive %lu
                     Memory which has been less recently used.  It is more
                     eligible to be reclaimed for other purposes.

              Active(anon) %lu (Linux 2.6.28 以é)
                     [To be documented.]

              Inactive(anon) %lu (Linux 2.6.28 以é)
                     [To be documented.]

              Active(file) %lu (Linux 2.6.28 以é)
                     [To be documented.]

              Inactive(file) %lu (Linux 2.6.28 以é)
                     [To be documented.]

              Unevictable %lu (Linux 2.6.28 以é)
                     (From Linux 2.6.28 to 2.6.30, CONFIG_UNEVICTABLE_LRU was
                     required.)  [To be documented.]

              Mlocked %lu (Linux 2.6.28 以é)
                     (From Linux 2.6.28 to 2.6.30, CONFIG_UNEVICTABLE_LRU was
                     required.)  [To be documented.]

              HighTotal %lu
                     (Starting with Linux 2.6.19, CONFIG_HIGHMEM is required.)
                     Total amount of highmem.  Highmem is all memory above
                     ~860MB of physical memory.  Highmem areas are for use by
                     user-space programs, or for the page cache.  The kernel
                     must use tricks to access this memory, making it slower
                     to access than lowmem.

              HighFree %lu
                     (Starting with Linux 2.6.19, CONFIG_HIGHMEM is required.)
                     Amount of free highmem.

              LowTotal %lu
                     (Starting with Linux 2.6.19, CONFIG_HIGHMEM is required.)
                     Total amount of lowmem.  Lowmem is memory which can be
                     used for everything that highmem can be used for, but it
                     is also available for the kernel's use for its own data
                     structures.  Among many other things, it is where
                     everything from Slab is allocated.  Bad things happen
                     when you're out of lowmem.

              LowFree %lu
                     (Starting with Linux 2.6.19, CONFIG_HIGHMEM is required.)
                     Amount of free lowmem.

              MmapCopy %lu (Linux 2.6.29 以é)
                     (CONFIG_MMU is required.)  [To be documented.]

              SwapTotal %lu
                     Total amount of swap space available.

              SwapFree %lu
                     Amount of swap space that is currently unused.

              Dirty %lu
                     Memory which is waiting to get written back to the disk.

              Writeback %lu
                     Memory which is actively being written back to the disk.

              AnonPages %lu (Linux 2.6.18 以é)
                     Non-file backed pages mapped into user-space page tables.

              Mapped %lu
                     Files which have been mmaped, such as libraries.

              Shmem %lu (Linux 2.6.32 以é)
                     [To be documented.]

              Slab %lu
                     In-kernel data structures cache.

              SReclaimable %lu (Linux 2.6.19 以é)
                     Part of Slab, that might be reclaimed, such as caches.

              SUnreclaim %lu (Linux 2.6.19 以é)
                     Part of Slab, that cannot be reclaimed on memory
                     pressure.

              KernelStack %lu (Linux 2.6.32 以é)
                     Amount of memory allocated to kernel stacks.

              PageTables %lu (Linux 2.6.18 以é)
                     Amount of memory dedicated to the lowest level of page
                     tables.

              Quicklists %lu (Linux 2.6.27 以é)
                     (CONFIG_QUICKLIST is required.)  [To be documented.]

              NFS_Unstable %lu (Linux 2.6.18 以é)
                     NFS pages sent to the server, but not yet committed to
                     stable storage.

              Bounce %lu (Linux 2.6.18 以é)
                     Memory used for block device "bounce buffers".

              WritebackTmp %lu (Linux 2.6.26 以é)
                     Memory used by FUSE for temporary writeback buffers.

              CommitLimit %lu (Linux 2.6.10 以é)
                     Based on the overcommit ratio ('vm.overcommit_ratio'),
                     this is the total amount of memory currently available to
                     be allocated on the system.  This limit is adhered to
                     only if strict overcommit accounting is enabled (mode 2
                     in /proc/sys/vm/overcommit_ratio).  The CommitLimit is
                     calculated using the following formula:

                         CommitLimit = (overcommit_ratio * Physical RAM) +
                     Swap

                     For example, on a system with 1GB of physical RAM and 7GB
                     of swap with a overcommit_ratio of 30, this formula
                     yields a CommitLimit of 7.3GB.  For more details, see the
                     memory overcommit documentation in the kernel source file
                     Documentation/vm/overcommit-accounting.

              Committed_AS %lu
                     The amount of memory presently allocated on the system.
                     The committed memory is a sum of all of the memory which
                     has been allocated by processes, even if it has not been
                     "used" by them as of yet.  A process which allocates 1GB
                     of memory (using malloc(3)  or similar), but touches only
                     300MB of that memory will show up as using only 300MB of
                     memory even if it has the address space allocated for the
                     entire 1GB.  This 1GB is memory which has been
                     "committed" to by the VM and can be used at any time by
                     the allocating application.  With strict overcommit
                     enabled on the system (mode 2
                     /proc/sys/vm/overcommit_memory), allocations which would
                     exceed the CommitLimit (detailed above) will not be
                     permitted.  This is useful if one needs to guarantee that
                     processes will not fail due to lack of memory once that
                     memory has been successfully allocated.

              VmallocTotal %lu
                     Total size of vmalloc memory area.

              VmallocUsed %lu
                     Amount of vmalloc area which is used.

              VmallocChunk %lu
                     Largest contiguous block of vmalloc area which is free.

              HardwareCorrupted %lu (Linux 2.6.32 以é)
                     (CONFIG_MEMORY_FAILURE is required.)  [To be documented.]

              AnonHugePages %lu (Linux 2.6.38 以é)
                     (CONFIG_TRANSPARENT_HUGEPAGE is required.)  Non-file
                     backed huge pages mapped into user-space page tables.

              HugePages_Total %lu
                     (CONFIG_HUGETLB_PAGE is required.)  The size of the pool
                     of huge pages.

              HugePages_Free %lu
                     (CONFIG_HUGETLB_PAGE is required.)  The number of huge
                     pages in the pool that are not yet allocated.

              HugePages_Rsvd %lu (Linux 2.6.17 以é)
                     (CONFIG_HUGETLB_PAGE is required.)  This is the number of
                     huge pages for which a commitment to allocate from the
                     pool has been made, but no allocation has yet been made.
                     These reserved huge pages guarantee that an application
                     will be able to allocate a huge page from the pool of
                     huge pages at fault time.

              HugePages_Surp %lu (Linux 2.6.24 以é)
                     (CONFIG_HUGETLB_PAGE is required.)  This is the number of
                     huge pages in the pool above the value in
                     /proc/sys/vm/nr_hugepages.  The maximum number of surplus
                     huge pages is controlled by
                     /proc/sys/vm/nr_overcommit_hugepages.

              Hugepagesize %lu
                     (CONFIG_HUGETLB_PAGE is required.)  The size of huge
                     pages.

       /proc/modules
              ç¾å¨ã·ã¹ãã ã«ãã¼ãããã¦ããã¢ã¸ã¥ã¼ã«ã®ããã¹ãå½¢å¼ã®ãªã¹ãã lsmod(8)
              ãåç§ã

       /proc/mounts
              ã«ã¼ãã« 2.4.19 ããåã§ã¯ããã®ãã¡ã¤ã«ã¯ç¾å¨ã·ã¹ãã ã«ãã¦ã³ãããã¦ãã
              å¨ã¦ã®ãã¡ã¤ã«ã·ã¹ãã ã®ãªã¹ãã§ãã£ãã Linux 2.4.19 ã§ãã‐
              ã»ã¹åä½ã®ãã¦ã³ãåå空éãå°å¥ããããã¨ã«ä¼´ãã ãã®ãã¡ã¤ã«ã¯
              /proc/self/mounts ã¸ã®ãªã³ã¯ã¨ãªã£ãã /proc/self/mounts ã¯ãã®ãã‐
              ã»ã¹èªèº«ã®ãã¦ã³ãåå空éã®ãã¦ã³ããã¤ã³ãã®ãªã¹ãã§ããã
              ãã®ãã¡ã¤ã«ã®ãã©ã¼ããã㯠fstab(5)  ã«è¨è¿°ããã¦ããã

       /proc/mtrr
              Memory Type Range Registersã 詳細ã¯ãLinux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã«
              Documentation/mtrr.txt ãåç§ãããã¨ã

       /proc/net
              ãã¾ãã¾ãªãããã¯ã¼ã¯ã«ã¤ãã¦ã®æ¬ä¼¼ãã¡ã¤ã«ã§ã
              ããããããããã¯ã¼ã¯å±¤ã®å種ã®ç¶æãä¸ããã ãããã®ãã¡ã¤ã«ã®å容㯠ASCII
              å½¢å¼ãªã®ã§ã cat(1)  ã§èªã¿åºããã ã¨ã¯ããåºæ¬ã³ãã³ãã® netstat(8)
              ã¯ãããã®ãã¡ã¤ã«ã®å容ã®ãããã£ããã¨ãã表示ãæä¾ããã

       /proc/net/arp
              ã¢ãã¬ã¹è§£æ±ºã«ä½¿ãããã«ã¼ãã«ã® ARP ãã¼ãã«ã® ASCII å¯èª‐
              ãªãã³ããä¿æãã¦ããã åççµåããããã®ã¨åºå® (preprogrammed) ã®ä¸¡æ¹ã® APP
              ã¨ã³ããªãè¦ããã¨ãã§ããããã©ã¼ãããã¯ä»¥ä¸ã®ã¨ãã:

        IP address     HW type   Flags     HW address          Mask   Device
        192.168.0.50   0x1       0x2       00:50:BF:25:68:F3   *      eth0
        192.168.0.250  0x1       0xc       00:00:00:00:00:00   *      eth0

              ãã㧠IP address ã¯ãã·ã³ã® IPv4 ã¢ãã¬ã¹ã HW type ã¯ãã®ã¢ãã¬ã¹ã®
              RFC 826 ã§å®ãããã¦ãããã¼ãã¦ã§ã¢ã®å½¢å¼ã Flags 㯠ARP æ§é ä½
              (/usr/include/linux/if_arp.h åã§å®ç¾©ããã¦ãã) ã®åé¨ãã©ã°ã HW
              address ã¯ãã® IP ã¢ãã¬ã¹ã«ãããããã¦ãããã¼ã¿ãªã³ã¯å±¤ã®ã¢ãã¬ã¹
              (ããããã£ã¦ããã°) ã§ããã

       /proc/net/dev
              æ¬ä¼¼ãã¡ã¤ã« dev ã¯ãããã¯ã¼ã¯ããã¤ã¹ã®ç¶ææå ±ãå«ãã§ããã
              ããã¯éåä¿¡ãããã±ããæ°ãã¨ã©ã¼ã¨ã³ãªã¸ã§ã³ (collision) ã®åæ°ã
              ãã®ä»ã®åºæ¬çãªçµ±è¨ãä¸ããã ããã㯠ifconfig(8)
              ãããã¤ã¹ã®ç¶æãå ±åããã®ã«ä½¿ãããã ãã©ã¼ãããã¯ä»¥ä¸ã®ã¨ãã:

 Inter-|   Receive                                                |  Transmit
  face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
     lo: 2776770   11307    0    0    0     0          0         0  2776770   11307    0    0    0     0       0          0
   eth0: 1215645    2751    0    0    0     0          0         0  1782404    4324    0    0    0   427       0          0
   ppp0: 1622270    5552    1    0    0     0          0         0   354130    5669    0    0    0     0       0          0
   tap0:    7714      81    0    0    0     0          0         0     7714      81    0    0    0     0       0          0

       /proc/net/dev_mcast
              /usr/src/linux/net/core/dev_mcast.c
              ã§å®ç¾©ããã¦ããã以ä¸ã®å½¢å¼ã§ããã
                   indx interface_name  dmi_u dmi_g dmi_address
                   2    eth0            1     0     01005e000001
                   3    eth1            1     0     01005e000001
                   4    eth2            1     0     01005e000001

       /proc/net/igmp
              Internet Group Management Protocol (ã¤ã³ã¿ã¼ãããã°ã«ã¼ã管çãã‐
              ãã³ã«)ã /usr/src/linux/net/core/igmp.c ã§å®ç¾©ããã¦ããã

       /proc/net/rarp
              ãã®ãã¡ã¤ã«ã¯ arp ã¨åããã©ã¼ããã㧠éã¢ãã¬ã¹è§£æ±ºãµã¼ãã¹ (reverse
              address lookup services) rarp(8)
              ã«æä¾ããããã«ä½¿ãããç¾å¨ã®éããããã¼ã¿ãã¼ã¹ã®å容ãå«ãã§ããã RARP
              ãã«ã¼ãã«ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ã«è¨å®ããã¦ããªããã°ã ãã®ãã¡ã¤ã«ã¯å‐
              å¨ããªãã

       /proc/net/raw
              RAW ã½ã±ãããã¼ãã«ã®ãã³ããä¿æãã¦ããã ã»ã¨ãã©ã®æå ±ã¯ãããã°ä»¥å¤ã§ã¯
              使ãããªãã "sl" ã®å¤ã¯ã½ã±ããã®ã«ã¼ãã«ããã·ã¥ã¹ãããã "local_address"
              ã¯ãã¼ã«ã«ã¢ãã¬ã¹ã¨ãããã³ã«çªå·ã®ã㢠[訳è追å : "rem_address"
              ã¯ãªã¢ã¼ãã¢ãã¬ã¹ã¨ãããã³ã«çªå·ã®ãã¢]ã "st" ã¯ã½ã±ããã®åé¨ç¶æã
              "tx_queue" 㨠"rx_queue" ã¯ã«ã¼ãã«ã¡ã¢ãªã æ¶è²»ãã¦ãã
              éä¿¡/åä¿¡ãã¼ã¿ãã¥ã¼ã®ãµã¤ãºã "tr" 㨠"tm->when" 㨠"rexmits"
              ãã£ã¼ã«ã㯠RAW ã§ã¯ä½¿ããã¦ããªãã "uid" ãã£ã¼ã«ãã¯ã½ã±ããçæèã®å®å¹
              UID ãä¿æãã¦ããã

       /proc/net/snmp
              ãã®ãã¡ã¤ã«ã¯ SNMP ã¨ã¼ã¸ã§ã³ããå¿è¦ã¨ãã IP, ICMP, TCP, UDP
              管çæå ±ã ASCII ãã¼ã¿ã¨ãã¦ä¿æãã¦ããã

       /proc/net/tcp
              TCP ã½ã±ãããã¼ãã«ã®ãã³ããä¿æãã¦ããã 大é¨åã®æå ±ã¯ãããã°ä»¥å¤ã«ã¯
              使ãããªãã sl ã¯ã½ã±ããã®ã«ã¼ãã«ããã·ã¥ã¹ãããã®å¤ã "local_address"
              ã¯ãã¼ã«ã«ã¢ãã¬ã¹ã¨ãã¼ãçªå·ã®ãã¢ã§ããã (ã½ã±ãããæ¥ç¶ãã¦ããå ´åã¯)
              "rem_address" ã¯ãªã¢ã¼ãã¢ãã¬ã¹ã¨ãã¼ãçªå·ã®å¯¾ã§ããã "st" ã¯ã½ã±ãã
              ã®åé¨ç¶æã§ããã "tx_queue" 㨠"rx_queue"
              ã¯ã«ã¼ãã«ã¡ã¢ãªãæ¶è²»ãã¦ãã éä¿¡/åä¿¡ãã¼ã¿ãã¥ã¼ã®ãµã¤ãºã "tr" ã¨
              "tm->when" 㨠"rexmits" ãã£ã¼ã«ãã¯ã½ã±ããç¶æã®ã«ã¼ãã«
              åé¨æå ±ãä¿æãã¦ãããã ãããã¯ãããã°ã®ã¨ãã«ããå½¹ã«ç«ããªãã "uid"
              ãã£ã¼ã«ãã¯ã½ã±ãã çæèã®å®å¹ UID ãä¿æãã¦ããã

       /proc/net/udp
              UDP ã½ã±ãããã¼ãã«ã®ãã³ããä¿æãã¦ããã 大é¨åã®æå ±ã¯ãããã°ä»¥å¤ã«ã¯
              使ãããªãã sl ã¯ã½ã±ããã®ã«ã¼ãã«ããã·ã¥ã¹ãããã®å¤ã "local_address"
              ã¯ãã¼ã«ã«ã¢ãã¬ã¹ã¨ãã¼ãçªå·ã®ãã¢ã§ããã (ã½ã±ãããæ¥ç¶ãã¦ããå ´åã¯)
              "rem_address" ã¯ãªã¢ã¼ãã¢ãã¬ã¹ã¨ãã¼ãçªå·ã®ãã¢ã§ããã "st"
              ã¯ã½ã±ããã® åé¨ç¶æã§ããã "tx_queue" 㨠"rx_queue"
              ã¯ã«ã¼ãã«ã¡ã¢ãªãæ¶è²»ãã¦ãã éä¿¡/åä¿¡ãã¼ã¿ãã¥ã¼ã®ãµã¤ãºã "tr" ã¨
              "tm->when" 㨠"rexmits" ãã£ã¼ã«ã㯠UDP ã§ã¯ä½¿ããã¦ããªãã "uid"
              ãã£ã¼ã«ãã¯ã½ã±ããçæèã® å®å¹ UID ãä¿æãã¦ããã ãã©ã¼ãããã¯ä»¥ä¸ã®ã¨ãã:

 sl  local_address rem_address   st tx_queue rx_queue tr rexmits  tm->when uid
  1: 01642C89:0201 0C642C89:03FF 01 00000000:00000001 01:000071BA 00000000 0
  1: 00000000:0801 00000000:0000 0A 00000000:00000000 00:00000000 6F000100 0
  1: 00000000:0201 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0

       /proc/net/unix
              UNIX ãã¡ã¤ã³ã½ã±ããã®ãªã¹ãã ãã©ã¼ãããã¯ä»¥ä¸ã®ã¨ãã:
              Num RefCount Protocol Flags    Type St Path
               0: 00000002 00000000 00000000 0001 03
               1: 00000001 00000000 00010000 0001 01 /dev/printer

              ããã§ãNum ã¯ã«ã¼ãã«ã®ãã¼ãã«ã¹ãããæ°ã RefCount ã¯ã½ã±ããã使ç¨ãã¦
              ããã¦ã¼ã¶ã¼æ°ã Protocol ã¯ãã¾ã®ã¨ãããã¤ã 0 ã§ãFlags ã¯ã½ã±ããã®ç¶æ
              ãä¿æãã¦ãã ã«ã¼ãã«åé¨ã®ãã©ã°ã§ããã Type ã¯ãã¾ã®ã¨ãããã¤ã 1 (UNIX
              ãã¡ã¤ã³ã®ãã¼ã¿ã°ã©ã ã½ã±ããã¯ãç¾å¨ã®ã«ã¼ãã«ã§ã¯ãµãã¼ãããã¦ããªã
              [訳注: 2.0.34 ã§ã¯ãµãã¼ãããã¦ããããã ])ã St
              ã¯ã½ã±ããã®åé¨ç¶æã§ãPath ã¯(ããããã°) ã½ã±ããã®ãã¹åã§ããã

       /proc/partitions
              åãã¼ãã£ã·ã§ã³ã®ã¡ã¸ã£ã¼çªå·ã¨ãã¤ãã¼çªå·ãæ¸ããã¦ããã ããã«ããã‐
              ãã¯æ°ã¨ãã¼ãã£ã·ã§ã³åãæ¸ããã¦ããã

       /proc/pci
              ã«ã¼ãã«ã®åæåæã«è¦ã¤ãã£ããã¹ã¦ã® PCI ããã¤ã¹ã®ãªã¹ã㨠ãã®è¨å®ã

              ãã®ãã¡ã¤ã«ã¯éæ¨å¥¨ã§ãããæ°ãã PCI ç¨ã® /proc ã¤ã³ã¿ã¼ãã§ã¤ã¹
              (/proc/bus/pci)  ã使ããã¨ã ãã®ãã¡ã¤ã«ã¯ Linux 2.2
              ã§ãªãã·ã§ã³ã«ãªã£ã (ã«ã¼ãã«ã®ã³ã³ãã¤ã«æã« CONFIG_PCI_OLD_PROC
              ãã»ããããã¨å©ç¨å¯è½ã§ãã£ã)ã Linux 2.4
              ã§åã³ãªãã·ã§ã³ãªãã§æå¹ã«æ»ã£ãã ããã«ãLinux 2.6 ã§éæ¨å¥¨ã¨ãªã
              (CONFIG_PCI_LEGACY_PROC ãã»ããããã¨ã¾ã å©ç¨å¯è½ã§ãã£ã)ã æçµçã«
              Linux 2.6.17 以éã§å®å¨ã«åé¤ãããã

       /proc/profile (Linux 2.4 以é)
              This file is present only if the kernel was booted with the
              profile=1 command-line option.  It exposes kernel profiling
              information in a binary format for use by readprofile(1).
              Writing (e.g., an empty string) to this file resets the
              profiling counters; on some architectures, writing a binary
              integer "profiling multiplier" of size sizeof(int) sets the
              profiling interrupt frequency.

       /proc/scsi
              scsi ä¸éã¬ãã«æ¬ä¼¼ãã¡ã¤ã«ã¨ããã¤ãã® SCSI ä½ã¬ãã«ãã©ã¤ãã®
              ãã£ã¬ã¯ããªãå«ããã£ã¬ã¯ããªã ãããã®ãã¡ã¤ã«ã¯ ASCII ã§è¡¨ç¾ããã¦ããã®ã§
              cat(1)  ã§èªããã

              ããã¤ãã®ãã¡ã¤ã«ã¯æ¸ãè¾¼ã¿å¯è½ã§ããµãã·ã¹ãã ã®è¨å®ãå¤æ´ãããã
              ç¹å®ã®æ©è½ããªã³/ãªããããã¨ãã§ããã

       /proc/scsi/scsi
              ã«ã¼ãã«ãç¥ã£ã¦ãããã¹ã¦ã® SCSI ããã¤ã¹ã®ãªã¹ãã ãã®ãªã¹ãã¯èµ·åæã«
              (ã³ã³ã½ã¼ã«ã§) è¦ããããã®ã¨ã»ã¼åãã§ããã scsi ã¯ç¾å¨ã®ã¨ãã
              add-single-device ã³ãã³ãã®ã¿ããµãã¼ããã¦ããã ããã«ããã«ã¼ã (root)
              ã¯æ¢ç¥ã®ããã¤ã¹ãªã¹ãã¸æ´»ç·æ¿æ (hotplugged)  ããã¤ã¹ãå ãããã¨ãã§ããã

              次ã®ã³ãã³ããå®è¡ããã¨ã

                  echo 'scsi add-single-device 1 0 5 0' > /proc/scsi/scsi

              ãã¹ãã¢ããã¿ scsi1 㯠SCSI ãã£ãã« 0 㧠ID 5 LUN 0 ã®ããã¤ã¹ãæ¢ãã
              ãããã®ã¢ãã¬ã¹ã«æ¢ç¥ã®ããã¤ã¹ããããã ä¸æ‐
              £ãªã¢ãã¬ã¹ã§ãã£ããªãã°ã¨ã©ã¼ãè¿ãã

       /proc/scsi/[drivername]
              ãã¾ã®ã¨ãã [drivername] 㯠NCR53c7xx, aha152x, aha1542, aha1740,
              aic7xxx, buslogic, eata_dma, eata_pio, fdomain, in2000, pas16,
              qlogic, scsi_debug, seagate, t128, u15-24f, ultrastore, wd7000
              ã®ã©ããã§ããã å°ãªãã¨ã 1 ã¤ã® SCSI ãã¹ããã¹ã¢ããã¿ (HBA) ã«
              ãã©ã¤ããå²ãå½ã¦ããã¦ããã¨ããã®ãã©ã¤ãã«å¯¾å¿ãããã£ã¬ã¯ããªãç¾ããã
              ããããã®ãã£ã¬ã¯ããªã«ã¯ã ç»é²ããããã¹ãã¢ããã¿ã«å¯¾å¿ãã¦ãã¡ã¤ã«ãä½ãããã
              ãã®ãã¡ã¤ã«ã®ååã¯ãã·ã¹ãã ã®åæåã®éã«
              ãã¹ãã¢ããã¿ã«å²ãå½ã¦ãããçªå·ã«ãªãã

              ãããã®ãã¡ã¤ã«ãèªãã°ãã©ã¤ãã¨ãã¹ãã¢ããã¿ã®è¨å®ã
              çµ±è¨ãªã©ãè¦ããã¨ãã§ããã

              ãããã®ãã¡ã¤ã«ã¸ã®æ¸ãè¾¼ã¿ã¯ãã¹ãã¢ããã¿ãã¨ã«ç°ãªãåä½ãå¼ãèµ·ããã
              ãã¨ãã° latency 㨠nolatency ã³ãã³ããç¨ããã¨ã ã«ã¼ã
              (rootãã¹ã¼ãã¼ã¦ã¼ã¶ã¼) 㯠eata_dma ãã©ã¤ãã®é ã測å®ã³ã¼ãã®
              ãªã³/ãªããåãæ¿ãããã¨ãã§ããã ã¾ã  lockup 㨠unlock
              ã³ãã³ããç¨ããã¨ãã«ã¼ã㯠scsi_debug ãã©ã¤ããã·ãã¥ã¬ã¼ããããã¹ããã¯ã¢ãã
              (bus lockup) ã å¶å¾¡ãããã¨ãã§ããã

       /proc/self
              ãã®ãã£ã¬ã¯ããªã¯ããã»ã¹ã« (ããã»ã¹èªèº«ã®)  /proc
              ãã¡ã¤ã«ã·ã¹ãã ã¸ã®ã¢ã¯ã»ã¹ãåç§ãããã ãã㯠/proc åã® (ãã®ããã»ã¹ã®)
              ããã»ã¹ ID ãååã¨ãªã£ã¦ãã ãã£ã¬ã¯ããªã¨å¨ãåä¸ã§ããã

       /proc/slabinfo
              Linux 2.6.16 以éã§ã¯ã ã«ã¼ãã«è¨å®ãªãã·ã§ã³ CONFIG_SLAB
              ãæå¹ã®å ´åã«ã®ã¿ããã®ãã¡ã¤ã«ã¯åå¨ããã ã«ã¼ãã«ãã£ãã·ã¥ã®æå ±ã
              /proc/slabinfo ã®ãã£ã¼ã«ãã¯ä»¥ä¸ã®ã¨ããã

                  cache-name
                  num-active-objs
                  total-objs
                  object-size
                  num-active-slabs
                  total-slabs
                  num-pages-per-slab

              詳細㯠slabinfo(5)  ãåç§ãããã¨ã

       /proc/stat
              ã«ã¼ãã«/ã·ã¹ãã ã®çµ±è¨ã ã¢ã¼ããã¯ãã£ã«ãã£ã¦ç°ãªãã
              å±éã¨ã³ããªã«ã¯ä»¥ä¸ã®ãã®ãå«ã¾ããã

              cpu  3357 0 4313 1362393
                     The amount of time, measured in units of USER_HZ
                     (1/100ths of a second on most architectures, use
                     sysconf(_SC_CLK_TCK) to obtain the right value), that the
                     system spent in various states:

                     user   (1) Time spent in user mode.

                     nice   (2) Time spent in user mode with low priority
                            (nice).

                     system (3) Time spent in system mode.

                     idle   (4) Time spent in the idle task.  This value
                            should be USER_HZ times the second entry in the
                            /proc/uptime pseudo-file.

                     iowait (Linux 2.5.41 以é)
                            (5) Time waiting for I/O to complete.

                     irq (Linux 2.6.0-test4 以é)
                            (6) Time servicing interrupts.

                     softirq (Linux 2.6.0-test4 以é)
                            (7) Time servicing softirqs.

                     steal (Linux 2.6.11 以é)
                            (8) çã¾ããæé (stolen
                            time)ãä»®æ³åç°å¢ã§ã®åä½æã«ä»ã®ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã«ããæ¶è²»ãããæéã§ããã

                     guest (Linux 2.6.24 以é)
                            (9) Linux
                            ã«ã¼ãã«ã®å¶å¾¡ä¸ã®ã²ã¹ããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã®ä»®æ³
                            CPU ã® å®è¡ã«æ¶è²»ãããæéã

                     guest_nice (Linux 2.6.33 以é)
                            (10) nice ãé©ç¨ãããã²ã¹ã (Linux
                            ã«ã¼ãã«ã®å¶å¾¡ä¸ã®ã²ã¹ããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã®ä»®æ³
                            CPU) ã® å®è¡ã«æ¶è²»ãããæéã

              page 5741 1808
                     ã·ã¹ãã ã (ãã£ã¹ã¯ãã) ãã¼ã¸ã¤ã³/ãã¼ã¸ã¢ã¦ããããã¼ã¸æ°ã

              swap 1 0
                     ã¹ã¯ããã¤ã³/ã¹ã¯ããã¢ã¦ãããããã¼ã¸æ°ã

              intr 1462898
                     ãã®è¡ã¯ã·ã¹ãã èµ·åæ以éã«å¦çãããå²ãè¾¼ã¿ã®åæ°ã示ãã
                     æåã®æ¬ã¯å¦çãããå²ãè¾¼ã¿å¨ã¦ã®åè¨ã§ããããã以éã®æ¬ã¯
                     åãã®å²ãè¾¼ã¿ã«ã¤ãã¦ã®åè¨æ°ã§ããã

              disk_io: (2,0):(31,30,5764,1,2) (3,0):...
                     (ã¡ã¸ã£ã¼çªå·, ãã£ã¹ã¯ã¤ã³ããã¯ã¹çªå·):(æå ±ãªã (noinfo),
                     èªã¿è¾¼ã¿åæ°, èªã¿è¾¼ã¿ãããã¯æ°, æ¸ãåºãåæ°, æ¸ãåºããããã¯æ°)
                     (Linux 2.4 ã®ã¿)

              ctxt 115315
                     ã³ã³ãã¯ã¹ãã»ã¹ã¤ããã®å»¶ã¹åæ°ã

              btime 769041601
                     èµ·åæå»ãç´å (Epoch; 1970-01-01 00:00:00 +0000 (UTC))
                     ããã®ç§æ°ã

              processes 86031
                     ã·ã¹ãã èµ·åæããã®å»¶ã¹ãã©ã¼ã¯ (fork) æ°ã

              procs_running 6
                     å®è¡ä¸ç¶æã®ããã»ã¹æ° (Linux 2.5.45 以é)ã

              procs_blocked 2
                     I/O å®äºå¾ã¡ã§åæ¢ (blocked) ãã¦ããããã»ã¹æ° (Linux 2.5.45
                     以é)ã

       /proc/swaps
              使ç¨ä¸ã®ã¹ã¯ããé åã swapon(8)  ãåç§ãããã¨ã

       /proc/sys
              ãã®ãã£ã¬ã¯ã㪠(1.3.57 以éã«åå¨) ã¯ã«ã¼ãã«å¤æ°ã«å¯¾å¿ããããã¤ãã®
              ãã¡ã¤ã«ã¨ãµããã£ã¬ã¯ããªãå«ãã ãããã®å¤æ°ã¯èªã¿åºãå¯è½ã§ããã
              ã¾ãå ´åã«ãã£ã¦ã¯ /proc ãã¡ã¤ã«ã·ã¹ãã ãã (éæ¨å¥¨ã®) ã·ã¹ãã ã³ã¼ã«
              sysctl(2) ãç¨ãã¦æ¸ãæãããã¨ãã§ããã

       /proc/sys/abi (Linux 2.4.10 以é)
              ãã®ãã£ã¬ã¯ããªã«ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ãã¤ããªæå ±ãå¥ã£ããã¡ã¤ã«ãç½®ãããã
              æ´ã«è©³ããæå ±ã¯ã Linux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã«
              Documentation/sysctl/abi.txt ãåç§ãããã¨ã

       /proc/sys/debug
              ãã®ãã£ã¬ã¯ããªã¯ç©ºã®å ´åãããã

       /proc/sys/dev
              ãã®ãã£ã¬ã¯ããªã«ã¯ããã¤ã¹ç¹æã®æå ± (ãã¨ãã° dev/cdrom/info)
              ãå«ã¾ããã ãã®ãã£ã¬ã¯ããªã空ã«ãªã£ã¦ããã·ã¹ãã ãããã

       /proc/sys/fs
              ãã®ãã£ã¬ã¯ããªã«ã¯ããã¡ã¤ã«ã·ã¹ãã ã«é¢é£ããã«ã¼ãã«å¤æ°ç¨ã®
              ãã£ã¬ã¯ããªã¨ãµããã£ã¬ã¯ããªãå«ã¾ããã

       /proc/sys/fs/binfmt_misc
              ãã®ãã£ã¬ã¯ããªä»¥ä¸ã®ãã¡ã¤ã«ã«ã¤ãã¦ã®ããã¥ã¡ã³ãã¯ã Linux
              ã«ã¼ãã«ã½ã¼ã¹ã® Documentation/binfmt_misc.txt ã«ããã

       /proc/sys/fs/dentry-state (Linux 2.2 以é)
              ãã®ãã¡ã¤ã«ã«ã¯ããã£ã¬ã¯ããªãã£ãã·ã¥ (dcache) ã®ç¶æã«é¢ããæå ±ã
              å¥ã£ã¦ããããã¡ã¤ã«ã«ã¯ã nr_dentry, nr_unused, age_limit (ç§åä½ã®
              age), want_pages (ã·ã¹ãã ããªã¯ã¨ã¹ããããã¼ã¸æ°), ããã¼ã® 2 ã¤ã®å¤ã
              ã¨ãã 6 ã¤ã®æ°åãæ¸ããã¦ããã

              * nr_dentry ã¯å²ãå½ã¦ããã dentry (dcache ã¨ã³ããª) ã®æ°ã§ããã
                ãã®ãã£ã¼ã«ã㯠Linux 2.2 ã§ã¯ä½¿ç¨ãããªãã

              * nr_unused ã¯æªä½¿ç¨ã® dentry æ°ã§ããã

              * age_limit ã¯ãã¡ã¢ãªãä¸è¶³ãã¦ããå ´åã«æ¬¡ã« dcache entry
                ãåè¦æ±ã§ããããã« ãªãã¾ã§ã®æ®ãæé (ç§æ°) ã§ããã

              * want_pages ã¯ãã«ã¼ãã«ã shrink_dcache_pages() ãå¼ã³åºããã dcache
                ãã¾ã 縮å°ããã¦ããªãå ´åã«ã0 以å¤ã®å¤ã¨ãªãã

       /proc/sys/fs/dir-notify-enable
              ãã®ãã¡ã¤ã«ã¯ fcntl(2)  ã«è¨è¿°ããã¦ãã dnotify
              ã¤ã³ã¿ã¼ãã§ã¼ã¹ãã·ã¹ãã å¨ä½ã§ç¡å¹ã«ãããæå¹ã«ãããããã ãã®ãã¡ã¤ã«ã«å¤
              0 ãæ¸ããã¦ããå ´åã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¡å¹ã«ãªãã å¤ 1
              ã®å ´åã¯æå¹ã«ãªãã

       /proc/sys/fs/dquot-max
              ãã®ãã¡ã¤ã«ã«ã¯ãã£ãã·ã¥ããããã£ã¹ã¯ quota ã¨ã³ããªã®æ大æ°ãæ¸ããã¦ããã
              (2.4 ç³»ã®) ã·ã¹ãã ã®ä¸ã«ã¯ããã®ãã¡ã¤ã«ãåå¨ããªããã®ãããã ã‐
              ã£ãã·ã¥ããããã£ã¹ã¯ quota ã¨ã³ããªã®ç©ºããé常ã«å°ãªãã
              ã¨ã¦ãå¤ãã®ã·ã¹ãã ã¦ã¼ã¶ã¼ãåæã«åå¨ããå ´åã ãã®å¶éãä¸ããã¨ãããããããªãã

       /proc/sys/fs/dquot-nr
              ãã®ãã¡ã¤ã«ã«ã¯å²ãå½ã¦ããã¦ãããã£ã¹ã¯ quota ã®ã¨ã³ããªæ°ã¨ã
              空ãã¦ãããã£ã¹ã¯ quota ã®ã¨ã³ããªæ°ãæ¸ããã¦ããã

       /proc/sys/fs/epoll (Linux 2.6.28 以é)
              ãã®ãã£ã¬ã¯ããªã«ã¯ããã¡ã¤ã« max_user_watches ãããã ãããã¯ã epoll
              ã¤ã³ã¿ãã§ã¼ã¹ãæ¶è²»ããã«ã¼ãã«ã¡ã¢ãªéãå¶éããã®ã«ä½¿ç¨ã§ããã 詳細ã¯
              epoll(7)  ãåç§ã

       /proc/sys/fs/file-max
              This file defines a system-wide limit on the number of open
              files for all processes.  (See also setrlimit(2), which can be
              used by a process to set the per-process limit, RLIMIT_NOFILE,
              on the number of files it may open.)  If you get lots of error
              messages in the kernel log about running out of file handles
              (look for "VFS: file-max limit <number> reached"), try
              increasing this value:

                  echo 100000 > /proc/sys/fs/file-max

              file-max ã«æ¸ããã¦ããå¤ã¯ãã«ã¼ãã«å®æ° NR_OPEN ã«å¶éãããã

              /proc/sys/fs/file-max ãå¢ãããå ´åã¯ã /proc/sys/fs/inode-max ãæ°ãã
              /proc/sys/fs/file-max ã®å¤ã® 3-4 åã«å¢ããã¦ãããã¨ã ããããªã㨠inode
              ã使ãæããã¦ãã¾ãã ããã

              ç¹æ¨©ããã»ã¹ (CAP_SYS_ADMIN) 㯠file-max ä¸éãä¸æ¸ãã§ããã

       /proc/sys/fs/file-nr
              This (read-only) file contains three numbers: the number of
              allocated file handles (i.e., the number of files presently
              opened); the number of free file handles; and the maximum number
              of file handles (i.e., the same value as /proc/sys/fs/file-max).
              If the number of allocated file handles is close to the maximum,
              you should consider increasing the maximum.  Before Linux 2.6,
              the kernel allocated file handles dynamically, but it didn't
              free them again.  Instead the free file handles were kept in a
              list for reallocation; the "free file handles" value indicates
              the size of that list.  A large number of free file handles
              indicates that there was a past peak in the usage of open file
              handles.  Since Linux 2.6, the kernel does deallocate freed file
              handles, and the "free file handles" value is always zero.

       /proc/sys/fs/inode-max
              ãã®ãã¡ã¤ã«ã«ã¯ãã¡ã¢ãªå inode ã®æ大å¤ãæ¸ããã¦ããã (2.4 ç³»ã®)
              ã·ã¹ãã ã«ãã£ã¦ã¯ããã®ãã¡ã¤ã«ãåå¨ããªããããããªãã ãã®å¤ã¯ file-max
              ã®å¤ã® 3-4 åã«ãã¹ãã§ããã ãã㯠stdin, stdout,
              ãããã¯ã¼ã¯ã½ã±ãããæ±ãã«ã inode ãå¿è¦ãªããã§ããã æ¥å¸¸çã« inode
              ã使ãæããã¦ããå ´åã¯ããã®å¤ãå¢ããå¿è¦ãããã

       /proc/sys/fs/inode-nr
              ãã®ãã¡ã¤ã«ã«ã¯ã inode-state ã®æåã® 2 ã¤ã®å¤ãæ¸ããã¦ããã

       /proc/sys/fs/inode-state
              ãã®ãã¡ã¤ã«ã«ã¯ 7 åã®å¤ãæ¸ããã¦ãã: nr_inodes, nr_free_inodes,
              preshrink 㨠4 ã¤ã®ããã¼ã®å¤ã§ããã nr_inodes ã¯ã·ã¹ãã ã確ä¿ãã
              inode ã®æ°ã§ããã Linux 㯠1 度㫠1 ãã¼ã¸åãã£ã±ãã« nr_inode
              ã確ä¿ããã®ã§ããã®å¤ã inode-max ããå¹¾å大ãããªããã¨ãããã
              nr_free_inodes ã¯ç©ºãã¦ãã inode ã®æ°ã表ãã nr_inodes > inode-max
              ã®å ´åã preshrink 㯠0 以å¤ã®å¤ã«ãªãã ãã®å ´åã·ã¹ãã 㯠inode
              ãããã«ç¢ºä¿ããã®ã§ã¯ãªãã inode ãªã¹ããåãè©°ããå¿è¦ãããã

       /proc/sys/fs/inotify (Linux 2.6.13 以é)
              ãã®ãã£ã¬ã¯ããªã«ã¯ããã¡ã¤ã« max_queued_events, max_user_instances,
              and max_user_watches ãããããããã¯ã inotify
              ã¤ã³ã¿ãã§ã¼ã¹ãæ¶è²»ããã«ã¼ãã«ã¡ã¢ãªéãå¶éããã®ã«å©ç¨ã§ããã 詳細ã¯
              inotify(7)  ãåç§ã

       /proc/sys/fs/lease-break-time
              ãã®ãã¡ã¤ã«ã¯ããã¡ã¤ã«ãä¿æãã¦ããããã»ã¹ã«å¯¾ã㦠ã«ã¼ãã«ãã·ã°ãã«ãéãã
              ä»ã®ããã»ã¹ããã®ãã¡ã¤ã«ããªã¼ãã³ããã®ãå¾ã£ã¦ãããã¨ãéç¥ãã¦ããã ãã®ãã‐
              ã»ã¹ã«å¯¾ãã¦ã«ã¼ãã«ããã¡ã¤ã«ã®ãªã¼ã¹ (lease, 貸ãåºã) (fcntl(2)
              ãåç§) ã許ãç¶äºæéãæå®ããã ãªã¼ã¹ãã«ã (lease holder:
              ãã¡ã¤ã«ã®è²¸ãåºããåãã¦ããããã»ã¹) ã ç¶äºæéä¸‐
              ã«ãªã¼ã¹ãåé¤ãããéç´ãä½ãããªãå ´åã
              ã«ã¼ãã«ã¯ãã¡ã¤ã«ã®ãªã¼ã¹ãå¼·å¶çã«æ¢ããã

       /proc/sys/fs/leases-enable
              ãã®ãã¡ã¤ã«ã¯ã·ã¹ãã å¨ä½ã§ã®ãã¡ã¤ã«ãªã¼ã¹ (fcntl(2)  ãåç§)
              ãæå¹ã¾ãã¯ç¡å¹ã«ããã ãã¡ã¤ã«ã«å¤ 0
              ãæ¸ãè¾¼ã¾ãã¦ããå ´åããªã¼ã¹ã¯ç¡å¹ã§ããã 0
              以å¤ã®å ´åã«ã¯ãªã¼ã¹ã¯æå¹ã§ããã

       /proc/sys/fs/mqueue (Linux 2.6.6 以é)
              ãã®ãã£ã¬ã¯ããªã«ã¯ãã¡ã¤ã« msg_max, msgsize_max, and queues_max
              ããããããã㯠POSIX ã¡ãã»ã¼ã¸ãã¥ã¼ã§ä½¿ç¨ããããªã½ã¼ã¹ã® å¶å¾¡ãè¡ãã
              詳細㯠mq_overview(7)  ãåç§ã

       /proc/sys/fs/overflowgid 㨠/proc/sys/fs/overflowuid
              ãããã®ãã¡ã¤ã«ã«ãããã¦ã¼ã¶ã¼ã¯åºå® UID ã¨åºå® GID ã®å¤ãå¤æ´ã§ããã
              ããã©ã«ã㯠65534 ã§ããã Linux ã® UID 㨠GID 㯠32 ãããã§ãããã 16
              ãããã® UID 㨠GID ãããµãã¼ãããªããã¡ã¤ã«ã·ã¹ãã ãããã
              ãã®ãããªãã¡ã¤ã«ã·ã¹ãã ãæ¸ãè¾¼ã¿ã許å¯ãã¦ãã¦ã³ããããå ´åã 65535
              ãè¶ãã UID 㨠GID ã¯ã ãã£ã¹ã¯ã«æ¸ãè¾¼ã¾ããåã«ãªã¼ãã¼ãã‐
              ã¼å¤ã«å¤æãããã

       /proc/sys/fs/pipe-max-size (Linux 2.6.35 以é)
              ãã®ãã¡ã¤ã«ã®å¤ã«ããã fcntl(2) ã® F_SETPIPE_SZ
              æä½ã§å¢ãããã¨ãã§ãããã¤ã容éã®ä¸éå¤ãå®ç¾©ãããããã®ä¸éã¯éç¹æ¨©ãã‐
              ã»ã¹ã«ã®ã¿é©ç¨ãããããã®ãã¡ã¤ã«ã®ããã©ã«ãå¤ã¯ 1,048,576
              ã§ããããã®ãã¡ã¤ã«ã«è¨‐
              å®ããå¤ã¯åãä¸ãããã¦ãå®è£å´ã§å©ç¨ããã®ã«é½åã®ããå¤ã«å¤æ´ãããå ´åããããåãä¸ããããå¤ã確èªããã«ã¯ãå¤ãè¨‐
              å®ããå¾ã§ãã®ãã¡ã¤ã«ã®å容ã表示ããã°ããããã®ãã¡ã¤ã«ã«è¨‐
              å®ã§ããæå°å¤ã¯ã·ã¹ãã ã®ãã¼ã¸ãµã¤ãºã§ããã

       /proc/sys/fs/protected_hardlinks (Linux 3.6 以é)
              When the value in this file is 0, no restrictions are placed on
              the creation of hard links (i.e., this is the historical
              behaviour before Linux 3.6).  When the value in this file is 1,
              a hard link can be created to a target file only if one of the
              following conditions is true:

              *  The caller has the CAP_FOWNER capability.

              *  The file system UID of the process creating the link matches
                 the owner (UID) of the target file (as described in
                 credentials(7), a process's file system UID is normally the
                 same as its effective UID).

              *  All of the following conditions are true:

                  ·  the target is a regular file;

                  ·  the target file does not have its set-user-ID permission
                     bit enabled;

                  ·  the target file does not have both its set-group-ID and
                     group-executable permission bits enabled; and

                  ·  the caller has permission to read and write the target
                     file (either via the file's permissions mask or because
                     it has suitable capabilities).

              The default value in this file is 0.  Setting the value to 1
              prevents a longstanding class of security issues caused by
              hard-link-based time-of-check, time-of-use races, most commonly
              seen in world-writable directories such as /tmp.  The common
              method of exploiting this flaw is to cross privilege boundaries
              when following a given hard link (i.e., a root process follows a
              hard link created by another user).  Additionally, on systems
              without separated partitions, this stops unauthorized users from
              "pinning" vulnerable set-user-ID and set-group-ID files against
              being upgraded by the administrator, or linking to special
              files.

       /proc/sys/fs/protected_symlinks (Linux 3.6 以é)
              When the value in this file is 0, no restrictions are placed on
              following symbolic links (i.e., this is the historical behaviour
              before Linux 3.6).  When the value in this file is 1, symbolic
              links are followed only in the following circumstances:

              *  the file system UID of the process following the link matches
                 the owner (UID) of the symbolic link (as described in
                 credentials(7), a process's file system UID is normally the
                 same as its effective UID);

              *  the link is not in a sticky world-writable directory; or

              *  the symbolic link and and its parent directory have the same
                 owner (UID)

              A system call that fails to follow a symbolic link because of
              the above restrictions returns the error EACCES in errno.

              The default value in this file is 0.  Setting the value to 1
              avoids a longstanding class of security issues based on
              time-of-check, time-of-use races when accessing symbolic links.

       /proc/sys/fs/suid_dumpable (Linux 2.6.13 以é)
              ãã®ãã¡ã¤ã«ã®å¤ã«ãããset-user-ID ããããã¤ããªãã ä¿è·ãããã£ã
              (protected) ãã¤ã㪠/ tainted 㪠(æ±æããã;
              ã©ã¤ã»ã³ã¹ãã«ã¼ãã«ã¨é©åããªã) ãã¤ããªã«å¯¾ãã¦ãã³ã¢ãã³ããã¡ã¤ã«ã
              çæãããã©ããã決å®ãããã 以ä¸ã® 3ã¤ã®å¤ãæå®ãããã¨ãã§ãã:

              0 (default)
                     ãã®å¤ãæå®ããã¨ã以åã¨åã (Linux 2.6.13 ããåã®) åä½ãããã
                     (seteuid(2), setgid(2) ãªã©ãå¼ã³åºããã¨ããset-user-ID ã
                     set-group-ID ãããããã°ã©ã ã å®è¡ãããã¨ã§) è³æ ¼æå ±
                     (credentials) ãå¤æ´ããã¦ããããã»ã¹ãã ããã»ã¹ã®å®è¡ãã¤ããªã®èª‐
                     ã¿åºã許å¯ããªãããã»ã¹ã«å¯¾ãã¦ã ã³ã¢ãã³ããçæããªãã

              1 ("debug")
                     ãã¹ã¦ã®ããã»ã¹ã§ãå¯è½ã§ããã°ã³ã¢ãã³ããè¡ãã
                     ã³ã¢ãã³ããã¡ã¤ã«ã®ææèã¯ããã³ããè¡ãããã»ã¹ã®ãã¡ã¤ã«ã·ã¹ãã  UID
                     ã¨ãªããã»ãã¥ãªãã£ä¸ã®èæ®ã¯è¡ãããªãã
                     ãã®å¤ã¯ãã·ã¹ãã ãããã°ã®å ´é¢ã ããæ³å®ãã¦è¨ãããã¦ããã ptrace
                     ã®ãã§ãã¯ãè¡ãããªãã

              2 ("suidsafe")
                     é常ã¯ãã³ããããªããããªãã¤ã㪠(ä¸è¨ã® "0" åç§) ã root ã ããèª‐
                     ã¿åºãå¯è½ãªå½¢ã§ãã³ãããã
                     ãã®å ´åãã¦ã¼ã¶ã¯ãã®ã³ã¢ãã³ããã¡ã¤ã«ãåé¤ãããã¨ã¯ã§ãããã èª‐
                     ããã¨ã¯ã§ããªãã ã»ãã¥ãªãã£ä¸ã®çç±ããããã®ã¢ã¼ãã®ã³ã¢ãã³ãã§ã¯ã
                     æ¢åã®ãã³ããã¡ã¤ã«ãä»ã®ãã¡ã¤ã«ãä¸æ¸ããããã¨ã¯ãªãã
                     ãã®ã¢ã¼ãã¯ã管çèãé常ã®ç°å¢ã§åé¡ã解æãããã¨ããéã« é©ãã¦ããã

                     Additionally, since Linux 3.6,
                     /proc/sys/kernel/core_pattern must either be an absolute
                     pathname or a pipe command, as detailed in core(5).
                     Warnings will be written to the kernel log if
                     core_pattern does not follow these rules, and no core
                     dump will be produced.

       ãã®ãã¡ã¤ã«ã¯ã¹ã¼ããããã¯ã®å¤ãå¶å¾¡ããã
              ãã®å¤ã¯ã«ã¼ãã«ããã¦ã³ãã§ãããã¡ã¤ã«ã·ã¹ãã ã®æ大å¤ã«ãªãã ç¾å¨ã
              super-max ã§è¨±å¯ããã¦ãããã¡ã¤ã«ã·ã¹ãã æ°ä»¥ä¸ã«
              ãã¦ã³ãããå¿è¦ãããå ´åã¯ããã®å¤ãå¢å ãããã ãã§ããã

       /proc/sys/fs/super-nr
              ãã®ãã¡ã¤ã«ã«ã¯ç¾å¨ãã¦ã³ãããã¦ãããã¡ã¤ã«ã·ã¹ãã æ°ãæ¸ããã¦ããã

       /proc/sys/kernel
              ãã®ãã£ã¬ã¯ããªã«ã¯ã以ä¸ã§èª¬æããæ§ããªã«ã¼ãã«ãã©ã¡ã¼ã¿ã
              å¶å¾¡ããããã®ãã¡ã¤ã«ãéç½®ããã¦ããã

       /proc/sys/kernel/acct
              ãã®ãã¡ã¤ã«ã«ã¯ 3 ã¤ã®å¤ãå«ã¾ãã¦ãã: highwater, lowwater,
              frequency ã§ããã BSD-style process accounting ãæå¹ã«ãªã£ã¦ããå ´åã
              ããã 3 ã¤ã®å¤ãåä½ãå¶å¾¡ããã ãã°ãã¡ã¤ã«ã®ãããã¡ã¤ã«ã·ã¹ãã ã®ç©ºãé åã
              lowwater ãã¼ã»ã³ã以ä¸ã«ãªã£ãå ´åã¯ããã°è¨é²ãä¸æåæ¢ããã 空ãé åã
              highwater ãã¼ã»ã³ã以ä¸ã«ãªã£ãå ´åã«ããã°è¨é²ãåéããã frequency
              ã¯ã«ã¼ãã«ã空ãé åã®ãã§ãã¯ãããé »åº¦ã§ãã (åä½ã¯ç§)ã
              ããã©ã«ãã®å¤ã¯ã4, 2, 30 ã§ããã ã¤ã¾ãã空ãé åã 2% 以ä¸ã«ãªãã¨ã‐
              ã°è¨é²ãä¸æåæ¢ãã 空ãé åã 4% 以ä¸ã¨ãªã£ãã¨ãã«åéããã
              空ãé åã«ã¤ãã¦ã®æå ±ã¯ 30 ç§éæå¹ã§ããç¹ã«æ³¨æãããã¨ã

       /proc/sys/kernel/cap_last_cap (since Linux 3.2)
              See capabilities(7).

       /proc/sys/kernel/cap-bound (Linux 2.2 to 2.6.24 以é)
              /proc/sys/kernel/cap-bound ãã®ãã¡ã¤ã«ã«ã¯ã«ã¼ãã«ã® capability
              bounding set (符å·ä»ã 10 é²æ°è¡¨ç¾) ã®å¤ãæ¸ããã¦ããã execve(2)
              ä¸ã¯ããã®ã»ããã¨ããã»ã¹ã«è¨±å¯ããã¦ãã権éã® AND ãã¨ãããã Linux 2.6.25
              以éã§ã¯ãã·ã¹ãã å¨ä½ã®ã±ã¼ãããªãã£ãã¦ã³ãã£ã³ã°ã»ããã¯
              ãªããªããã¹ã¬ããåä½ã®ãã¦ã³ãã£ã³ã°ã»ããã«ç½®ãæããããã capabilities(7)
              ãåç§ã

       /proc/sys/kernel/core_pattern
              core(5)  åç§ã

       /proc/sys/kernel/core_uses_pid
              core(5)  åç§ã

       /proc/sys/kernel/ctrl-alt-del
              ãã®ãã¡ã¤ã«ã¯ãã¼ãã¼ãã® Ctrl-Alt-Del ã®æ±ããå¶å¾¡ããã
              ãã®ãã¡ã¤ã«ã«ããå¤ã 0 ã®å ´åã Ctrl-Alt-Del ãææããã㨠init(8)  ãã‐
              ã°ã©ã ã«éããã¦ãæ£ããåèµ·åãããã å¤ã 0 ãã大ããå ´åãVulcan Nerve Pinch
              (tm) ã«åå¿ãã¦ã Linux ã¯ãã¼ãã£ãããã¡ãåæããããã¨ãªããããã«åèµ·åãè¡ãã
              注æ: ããã°ã©ã  (dosemu ãªã©) ã« "raw" ã¢ã¼ãã®ãã¼ãã¼ããããå ´åã
              ctrl-alt-del ã¯ã«ã¼ãã«ã® tty ã¬ã¤ã¤ã¼ã«å°éããåã« ããã°ã©ã ã«é®æããã
              ããã°ã©ã ã«éããã¦ã©ã®ããã«æ±ããã決ããããã

       /proc/sys/kernel/dmesg_restrict (Linux 2.6.37 以é)
              The value in this file determines who can see kernel syslog
              contents.  A value of 0 in this file imposes no restrictions.
              If the value is 1, only privileged users can read the kernel
              syslog.  (See syslog(2)  for more details.)  Since Linux 3.4,
              only users with the CAP_SYS_ADMIN capability may change the
              value in this file.

       /proc/sys/kernel/domainname 㨠/proc/sys/kernel/hostname
              ãããã®ãã¡ã¤ã«ã¯ãã³ãã³ã domainname(1), hostname(1)  ã¨å¨ãåãæ¹æ³ã§ã
              ãã·ã³ã® NIS/YP ãã¡ã¤ã³åã¨ãã¹ãåã®è¨å®ã«ä½¿ããã ããªãã¡

                  # echo 'darkstar' > /proc/sys/kernel/hostname
                  # echo 'mydomain' > /proc/sys/kernel/domainname

              ã¯ã以ä¸ã¨åãå¹æãããã

                  # hostname 'darkstar'
                  # domainname 'mydomain'

              注æ: å¸åç㪠darkstar.frop.org ã¨ããååã«ã¯ã ãã¹ãå "darkstar" ã¨
              DNS (Internet Domain Name Server)  ãã¡ã¤ã³å "frop.org"
              ãå«ã¾ãã¦ããããDNS ãã¡ã¤ã³å㨠NIS (Network Information Service)
              ã¾ã㯠YP (Yellow Pages) ã®ãã¡ã¤ã³åãæ··åãã¦ã¯ãªããªãã ä¸è¬ã«ããã 2
              ã¤ã®ãã¡ã¤ã³åã¯ç°ãªãã 詳細ãªè°è«ã¯ã hostname(1)  ã® man
              ãã¼ã¸ãåç§ãããã¨ã

       /proc/sys/kernel/hotplug
              ãã®ãã¡ã¤ã«ã¯ããããã©ã°ã»ããªã·ã¼ã»ã¨ã¼ã¸ã§ã³ãã®ãã¹ãæ¸ããã¦ããã
              ãã®ãã¡ã¤ã«ã®ããã©ã«ãå¤ã¯ /sbin/hotplug ã§ããã

       /proc/sys/kernel/htab-reclaim
              (PowerPC ã®ã¿) ãã®ãã¡ã¤ã«ã 0 以å¤ã®å¤ã«è¨å®ããã¨ã PowerPC htab
              (ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã« Documentation/powerpc/ppc_htab.txt åç§)
              ããã·ã¹ãã ãã¢ã¤ãã«ã«ã¼ãã«ãªããã³ã«åãè©°ããã

       /proc/sys/kernel/kptr_restrict (Linux 2.6.38 以é)
              The value in this file determines whether kernel addresses are
              exposed via /proc files and other interfaces.  A value of 0 in
              this file imposes no restrictions.  If the value is 1, kernel
              pointers printed using the %pK format specifier will be replaced
              with zeros unless the user has the CAP_SYSLOG capability.  If
              the value is 2, kernel pointers printed using the %pK format
              specifier will be replaced with zeros regardless of the user's
              capabilities.  The initial default value for this file was 1,
              but the default was changed to 0 in Linux 2.6.39.  Since Linux
              3.4, only users with the CAP_SYS_ADMIN capability can change the
              value in this file.

       /proc/sys/kernel/l2cr
              (PowerPC ã®ã¿) ãã®ãã¡ã¤ã«ã«ã¯ G3 ããã»ããµãã¼ãã® L2 ã‐
              ã£ãã·ã¥ãå¶å¾¡ãããã©ã°ãå«ã¾ããã 0 ã®å ´åããã£ãã·ã¥ã¯ç¡å¹ã«ãªãã 0
              以å¤ã®å ´åã¯æå¹ã«ãªãã

       /proc/sys/kernel/modprobe
              ãã®ãã¡ã¤ã«ã«ã¯ãã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãã¼ãã¸ã®ãã¹ãå«ã¾ããã
              ããã©ã«ãã®å¤ã¯ /sbin/modprobe ã§ããããã®ãã¡ã¤ã«ã¯ãCONFIG_MODULES
              ãªãã·ã§ã³ (Linux 2.6.26 以åã§ã¯ CONFIG_KMOD)
              ãæå¹ã«ãã¦ã«ã¼ãã«ãä½æããã¦ããå ´åã«ã®ã¿åå¨ããã
              ãã®ãã¡ã¤ã«ã«ã¤ãã¦ã¯ãLinux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã«
              Documentation/kmod.txt (ã«ã¼ãã« 2.4 以åã®ã¿ã«åå¨)
              ã«è¨è¿°ããã¦ããã

       /proc/sys/kernel/modules_disabled (Linux 2.6.31 以é)
              A toggle value indicating if modules are allowed to be loaded in
              an otherwise modular kernel.  This toggle defaults to off (0),
              but can be set true (1).  Once true, modules can be neither
              loaded nor unloaded, and the toggle cannot be set back to false.
              The file is present only if the kernel is built with the
              CONFIG_MODULES option enabled.

       /proc/sys/kernel/msgmax
              ãã®ãã¡ã¤ã«ã¯ãSystem V ã¡ãã»ã¼ã¸ãã¥ã¼ã«æ¸ãè¾¼ã¾ãã 1
              ã¤ã®ã¡ãã»ã¼ã¸ã® æ大ãã¤ãæ°ããã·ã¹ãã å¨ä½ã§å¶éããã

       /proc/sys/kernel/msgmni (since Linux 2.4)
              This file defines the system-wide limit on the number of message
              queue identifiers.

       /proc/sys/kernel/msgmnb
              ãã®ãã¡ã¤ã«ã¯ã msg_qbytes ã®è¨å®ãåæåããã·ã¹ãã å¨ä½ã®ãã©ã¡ã¼ã¿ã§
              ããã msg_qbytes ã¯ä»¥éã§ä½æãããã¡ãã»ã¼ã¸ãã¥ã¼ã§ä½¿ãããã msg_qbytes
              è¨å®ã§ã¯ãã¡ãã»ã¼ã¸ãã¥ã¼ã«æ¸ãè¾¼ã¾ããæ大ãã¤ãæ°ãæå®ããã

       /proc/sys/kernel/ostype 㨠/proc/sys/kernel/osrelease
              ãããã®ãã¡ã¤ã«ã¯æåå /proc/version ã®åé¨åãä¸ããã

       /proc/sys/kernel/overflowgid 㨠/proc/sys/kernel/overflowuid
              ãããã®ãã¡ã¤ã«ã¯ /proc/sys/fs/overflowgid ã¨
              /proc/sys/fs/overflowuid ãè¤è£½ãããã®ã§ããã

       /proc/sys/kernel/panic
              ãã®ãã¡ã¤ã«ã¯ã«ã¼ãã«å¤æ° panic_timeout ã¸ã®èª‐
              ã¿åºãã¨æ¸ãè¾¼ã¿ã®ã¢ã¯ã»ã¹ãä¸ããã ãã®å¤ã 0 ãªãã°ããããã¯æã«ã«ã¼ãã«ã¯
              (ç¡é) ã«ã¼ãã«å¥ãã 0 ã§ãªããã°ããã®ç§æ°ã ãå¾ã£ã¦ããèªåçã«åèµ·åããã
              ã½ããã¦ã§ã¢ watchdog ãã©ã¤ãã使ã£ã¦ããå ´åã æ¨å¥¨ãããè¨å®ã¯ 60
              ã§ããã

       /proc/sys/kernel/panic_on_oops (Linux 2.5.68 以é)
              ãã®ãã¡ã¤ã«ã¯ãoops ã BUG ãèµ·ãã£ãå ´åã®ã«ã¼ãã«ã®åä½ãå¶å¾¡ããã
              ãã¡ã¤ã«ã« 0 ãæ¸ããã¦ããå ´åãã·ã¹ãã ã¯æä½ãç¶è¡ãããã¨ããã 1
              ãæ¸ããã¦ããå ´åãã·ã¹ãã 㯠(klogd ã oops åºåãè¨é²ããæéãä¸ããããã«)
              æ°ç§éé延ããå¾ã panic ãèµ·ããã /proc/sys/kernel/panic ãã¡ã¤ã«ã 0
              ã§ãªãå ´åããã·ã³ã¯åèµ·åãããã

       /proc/sys/kernel/pid_max (Linux 2.5.34 以é)
              ãã®ãã¡ã¤ã«ã¯ãPID ãããã¤ã§çµäºã«ããããæå®ãã
              (ããªãã¡ããã®ãã¡ã¤ã«ã®å¤ã¯æ大 PID ãã 1 大ãã)ã
              ãã®ãã¡ã¤ã«ã®ããã©ã«ãå¤ã¯ 32768 ã§ããã ãã®å ´åã«ã¯ä»¥åã®ã«ã¼ãã«ã¨åã
              PID ã®ç¯å²ã«ãªãã 32ãããã®ãã©ãããã©ã¼ã ã§ã¯ã pid_max ã®æ大å¤ã¯
              32768 ã§ããã 64ãããã®ãã©ãããã©ã¼ã ã§ã¯ã 2^22 (PID_MAX_LIMIT, ç´
              4,000,000) ã¾ã§ã®ä»»æã®å¤ãè¨å®ã§ããã

       /proc/sys/kernel/powersave-nap (PowerPC ã®ã¿)
              ãã®ãã¡ã¤ã«ã«ã¯ãã©ã°ãæ¸ããã¦ããã ãã©ã°ãè¨å®ãããã¨ãLinux-PPC ã¯
              çé»åã® "nap" ã¢ã¼ãã使ãã è¨å®ãããªãå ´åã¯ã"doze" ã¢ã¼ãã使ãããã

       /proc/sys/kernel/printk
              ãã®ãã¡ã¤ã«ã«ãã 4 ã¤ã®å¤ã¯ã console_loglevel,
              default_message_loglevel, minimum_console_loglevel,
              default_console_loglevel ã§ããã
              ãããã®å¤ã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ãããè¨é²ããããã printk()
              ã®åä½ã«å½±é¿ããã å loglevel ã®æå ±ã«ã¤ãã¦ã¯ã syslog(2)
              ãåç§ãããã¨ã åªå度ã console_loglevel
              以ä¸ã®ã¡ãã»ã¼ã¸ã¯ãã³ã³ã½ã¼ã«ã«è¡¨ç¤ºãããã
              åªå度ãæ示ããã¦ããªãã¡ãã»ã¼ã¸ã¯ãåªå度ã default_message_level
              ã®ã¨ãã«è¡¨ç¤ºãããã minimum_console_loglevel 㯠console_loglevel
              ã«è¨å®ã§ããæå° (æé«) ã®å¤ã§ããã default_console_loglevel ã¯
              console_loglevel ã®ããã©ã«ãã®å¤ã§ããã

       /proc/sys/kernel/pty (Linux 2.6.4 以é)
              ãã®ãã£ã¬ã¯ããªã¯ãUNIX 98 çä¼¼ç«¯æ« (pts(4) ãåç§) ã®æ°ã«é¢é£ãã 2
              ã¤ã®ãã¡ã¤ã«ãå«ãã

       /proc/sys/kernel/pty/max
              ãã®ãã¡ã¤ã«ã¯ç似端æ«ã®æ大æ°ãå®ç¾©ããã

       /proc/sys/kernel/pty/nr
              ãã®èªã¿åºãå°ç¨ã®ãã¡ã¤ã«ã¯ãç¾å¨ããã¤ã®ç似端æ«ã使ããã¦ãããã表ãã

       /proc/sys/kernel/random
              ãã®ãã£ã¬ã¯ããªã¯ããã¡ã¤ã« /dev/random
              ã®æä½ãå¶å¾¡ããæ§ããªãã©ã¡ã¼ã¿ãæ¸ããã¦ããã 詳細㯠random(4) ãåç§ã

       /proc/sys/kernel/real-root-dev
              ãã®ãã¡ã¤ã«ã¯ Linux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã« Documentation/initrd.txt
              ã«è¨è¿°ããã¦ããã

       /proc/sys/kernel/reboot-cmd (Sparc ã®ã¿)
              ãã®ãã¡ã¤ã«ã¯ SPARC ROM/Flash ãã¼ããã¼ãã«å¼ãæ°ã渡ãæ¹æ³ã
              æä¾ãã¦ããããã«æãããã åèµ·åå¾ã«ä½ãããããæå®ãã¦ããã®ã ãããï¼

       /proc/sys/kernel/rtsig-max
              (2.6.7 ã¾ã§ã®ã«ã¼ãã«ã«ã®ã¿åå¨ããã setrlimit(2)  ãåç§ãããã¨)
              ãã®ãã¡ã¤ã«ã¯ã·ã¹ãã ã§çºè¡ããã POSIX real-time (queued) signal ã®
              æ大æ°ã調æ´ããã®ã«ä½¿ç¨ãããã

       /proc/sys/kernel/rtsig-nr
              (2.6.7 ã¾ã§ã®ã«ã¼ãã«ã«ã®ã¿åå¨ãã)  ãã®ãã¡ã¤ã«ã¯ç¾å¨ã‐
              ã¥ã¼ã«å¥ã£ã¦ãã POSIX real-time signal ã®æ°ã表ãã

       /proc/sys/kernel/sched_rr_timeslice_ms (since Linux 3.9)
              See sched_rr_get_interval(2).

       /proc/sys/kernel/sem (Linux 2.4 以é)
              ãã®ãã¡ã¤ã«ã«ã¯ System V IPC ã»ããã©ãå¶éãã 4 ã¤ã®å¤ãæ¸ããã¦ããã
              ãããã®ãã£ã¼ã«ãã¯æ¬¡ã®é çªã«ä¸¦ãã§ãã:

              SEMMSL  ã»ããã©éåãã¨ã®ã»ããã©æ°ã®æ大å¤ã

              SEMMNS  ã·ã¹ãã å¨ä½ã§ã®ãå¨ã¦ã®ã»ããã©éåã«ãããã»ããã©æ°ã®å¶éã

              SEMOPM  semop(2)  ã³ã¼ã«ã«æå®ããããªãã¬ã¼ã·ã§ã³æ°ã®æ大å¤ã

              SEMMNI  ã·ã¹ãã å¨ä½ã§ã®ã»ããã©èå¥åã®æ大å¤ã

       /proc/sys/kernel/sg-big-buff
              ãã®ãã¡ã¤ã«ã¯ãæ±ç¨ SCSI ããã¤ã¹ (sg) ã®ãããã¡ãµã¤ãºã®æ大å¤ã表ãã
              ä»ã¯ãããå¤æ´ãããã¨ã¯ã§ããªããã ã³ã³ãã¤ã«æã« include/scsi/sg.h
              ãç·¨éã㦠SG_BIG_BUFF ã®å¤ãå¤ããã°å¤æ´ã§ããã
              ãã ãããã®å¤ãå¤æ´ããçç±ã¯ãªãã ããã

       /proc/sys/kernel/shm_rmid_forced (since Linux 3.1)
              If this file is set to 1, all System V shared memory segments
              will be marked for destruction as soon as the number of attached
              processes falls to zero; in other words, it is no longer
              possible to create shared memory segments that exist
              independently of any attached process.

              The effect is as though a shmctl(2)  IPC_RMID is performed on
              all existing segments as well as all segments created in the
              future (until this file is reset to 0).  Note that existing
              segments that are attached to no process will be immediately
              destroyed when this file is set to 1.  Setting this option will
              also destroy segments that were created, but never attached,
              upon termination of the process that created the segment with
              shmget(2).

              Setting this file to 1 provides a way of ensuring that all
              System V shared memory segments are counted against the resource
              usage and resource limits (see the description of RLIMIT_AS in
              getrlimit(2))  of at least one process.

              Because setting this file to 1 produces behavior that is
              nonstandard and could also break existing applications, the
              default value in this file is 0.  Only set this file to 1 if you
              have a good understanding of the semantics of the applications
              using System V shared memory on your system.

       /proc/sys/kernel/shmall
              ãã®ãã¡ã¤ã«ã«ã¯ System V å±æã¡ã¢ãªã®ç·ãã¼ã¸æ°ã®
              ã·ã¹ãã å¨ä½ã§ã®å¶éãæ¸ããã¦ããã

       /proc/sys/kernel/shmmax
              ãã®ãã¡ã¤ã«ãéãã¦ã(System V IPC) å±æã¡ã¢ãªã»ã°ã¡ã³ããä½æããã¨ãã®
              æ大ãµã¤ãºã®å®è¡æä¸é (run-time limit) ãåå¾ã¾ãã¯è¨å®ã§ããã ç¾å¨ã¯
              1GB ã¾ã§ã®å±æã¡ã¢ãªã»ã°ã¡ã³ãã ã«ã¼ãã«ã§ãµãã¼ãããã¦ããã
              ãã®å¤ã®ããã©ã«ã㯠SHMMAX ã§ããã

       /proc/sys/kernel/shmmni (since Linux 2.4)
              ãã®ãã¡ã¤ã«ã¯ãã·ã¹ãã å¨ä½ã§ä½æå¯è½ãª System V
              å±æã¡ã¢ãªã»ã°ã¡ã³ãæ°ãæå®ããã

       /proc/sys/kernel/sysrq
              ãã®ãã¡ã¤ã«ã¯ãSysRq ãã¼ã«ããèµ·åã許å¯ããã¦ããé¢æ°ç¾¤ãå¶å¾¡ãã
              ãã®ã§ãããããã©ã«ãã§ã¯ããã¡ã¤ã«ã®å容㯠1 ã§ããã ããã¯èµ·ããå¾ãå¨ã¦ã®
              SysRq ãªã¯ã¨ã¹ãã許å¯ããããã¨ãæå³ãã
              (å¤ããã¼ã¸ã§ã³ã®ã«ã¼ãã«ã§ã¯ãSysRq ã¯ããã©ã«ãã§ã¯ç¡å¹ã«ãªã£ã¦ããã
              å®è¡æã«æ示çã«æå¹ã«ããå¿è¦ããã£ãããä»ã¯ããã§ã¯ãªã)ã
              ãã®ãã¡ã¤ã«ã§æå®å¯è½ãªå¤ã¯ä»¥ä¸ã®éãã

                 0 - sysrq ãå®å¨ã«ç¡å¹ã«ãã
                 1 - sysrq ã®å¨ã¦ã®é¢æ°ãæå¹ã«ãã
                >1 - 許å¯ãã sysrq é¢æ°ã®ããããã¹ã¯ãå訳ã¯ä»¥ä¸ã®éãã
                        2 - ã³ã³ã½ã¼ã«ã®ãã°ã»ã¬ãã«ã®å¶å¾¡ãæå¹ã«ãã
                        4 - ãã¼ãã¼ãã®å¶å¾¡ãæå¹ã«ãã (SAK, unraw)
                        8 - ããã»ã¹ãªã©ã®ãããã°ã»ãã³ããæå¹ã«ãã
                       16 - sync ã³ãã³ããæå¹ã«ãã
                       32 - èªã¿åºãå°ç¨ã§ã®åãã¦ã³ããæå¹ã«ãã
                       64 - ããã»ã¹ã¸ã®ã·ã°ãã«çºè¡ãæå¹ã«ãã (term, kill,
              oom-kill)
                      128 - ãªãã¼ã/é»æºãªãã許å¯ãã
                      256 - å¨ã¦ã®ãªã¢ã«ã¿ã¤ã ã»ã¿ã¹ã¯ã® nice å¤ã®å¤æ´ã許å¯ãã

              ã«ã¼ãã«è¨å®ãªãã·ã§ã³ CONFIG_MAGIC_SYSRQ
              ãæå¹ãªå ´åã®ã¿ããã®ãã¡ã¤ã«ã¯åå¨ããã 詳細ã¯ãLinux
              ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã« Documentation/sysrq.txt ãåç§ã®ãã¨ã

       /proc/sys/kernel/version
              ãã®ãã¡ã¤ã«ã«ã¯ã以ä¸ã®ãããªæååãæ¸ããã¦ãã:

                  #5 Wed Feb 25 21:49:24 MET 1998

              "#5" ã¯ãã®ã½ã¼ã¹ã§æ§ç¯ããã 5 çªç®ã®ã«ã¼ãã«ã§ãããã¨ãæå³ããã
              ãã®å¾ã«ããæ¥ä»ã¯ã«ã¼ãã«ãæ§ç¯ãããæå»ã表ãã

       /proc/sys/kernel/threads-max (Linux 2.3.11 以é)
              ãã®ãã¡ã¤ã«ã¯ãã·ã¹ãã å¨ä½ã§ä½æå¯è½ãªã¹ã¬ããæ° (ã¿ã¹ã¯æ°)
              ã®ä¸éãæå®ããã

       /proc/sys/kernel/zero-paged (PowerPC ã®ã¿)
              ãã®ãã¡ã¤ã«ã¯ãã©ã°ãå«ãã (0 以å¤ã®å¤ã§) æå¹ãããå ´åãLinux-PPC
              ã¯ã¢ã¤ãã«ã«ã¼ã㧠pre-zero page ãè¡ãã®ã§ãget_free_pages
              ã®é度ãåä¸ããå¯è½æ§ãããã

       /proc/sys/net
              ãã®ãã£ã¬ã¯ããªã«ã¯ãããã¯ã¼ã¯é¢ä¿ã®æå ±ãå¥ã£ã¦ããã
              ãã®ãã£ã¬ã¯ããªã«ãããã¡ã¤ã«ã®ããã¤ãã«ã¤ãã¦ã¯ã tcp(7)  ã ip(7)
              ã«èª¬æãããã

       /proc/sys/net/core/somaxconn
              ãã®ãã¡ã¤ã«ã¯ listen(2)  ã® backlog å¼ãæ°ã®ä¸éå¤ãè¦å®ããã 詳細ã¯
              listen(2) ã®ããã¥ã¢ã«ãã¼ã¸ãåç§ã

       /proc/sys/proc
              ãã®ãã£ã¬ã¯ããªã¯ç©ºã®å ´åãããã

       /proc/sys/sunrpc
              ãã®ãã£ã¬ã¯ããªã¯ãããã¯ã¼ã¯ãã¡ã¤ã«ã·ã¹ãã  (NFS) ã¸ã® Sun remote
              procedure call (é éæç¶ãå¼ã³åºã) ããµãã¼ãããã ãããåå¨ããªãã·ã¹ãã ãããã

       /proc/sys/vm
              ãã®ãã£ã¬ã¯ããªã«ã¯ã¡ã¢ãªç®¡çã®èª¿æ´ããããã¡ããã£ãã·ã¥ç®¡çã®ããã®
              ãã¡ã¤ã«ãããã

       /proc/sys/vm/drop_caches (Linux 2.6.16 以é)
              ãã®ãã¡ã¤ã«ã«æ¸ãè¾¼ã¿ãè¡ããã¨ã§ãã¯ãªã¼ã³ãªãã£ãã·ã¥ãdentryã inode
              ãã¡ã¢ãªä¸ããå¤ãããã®ã¡ã¢ãªã解æ¾ããã

              ãã¼ã¸ãã£ãã·ã¥ã解æ¾ããã«ã¯ã echo 1 > /proc/sys/vm/drop_caches
              ã¨ããã dentryãinode ã解æ¾ããã«ã¯ã echo 2 >
              /proc/sys/vm/drop_caches ã¨ããããã¼ã¸ãã£ãã·ã¥ãdentryãinode
              ã解æ¾ããã«ã¯ã echo 3 > /proc/sys/vm/drop_caches ã¨ããã

              ãã®æä½ã¯éç ´å£çãªæä½ã§ããã¼ãã£ãª (dirty) ãªãã¸ã§ã¯ãã¯
              解æ¾ãããªãã®ã§ããã®æä½ãè¡ãéã¯æåã« sync(8) ãå®è¡ãã¦ããã¹ãã§ããã

       /proc/sys/vm/legacy_va_layout (Linux 2.6.9 以é)
              0 以å¤ã®å ´åãæ°ãã 32ãããã¡ã¢ãªãããã³ã°éç½®ãç¡å¹ã«ãªãã
              ã«ã¼ãã«ã¯å¨ã¦ã®ããã»ã¹ã«å¯¾ãã¦å¾æ¥ã® (ã«ã¼ãã« 2.4 ã®) éç½®æ¹æ³ã
              使ç¨ããã

       /proc/sys/vm/memory_failure_early_kill (Linux 2.6.32 以é)
              ãã®ãã¡ã¤ã«ã¯ãã«ã¼ãã«ãå¦çã§ããªãè¨æ£ä¸è½ãªã¡ã¢ãªã¨ã©ã¼
              (é常ã¯ã¡ã¢ãªã¢ã¸ã¥ã¼ã«ã§ã® 2 ãããã¨ã©ã¼)
              ãããã¯ã°ã©ã¦ã³ãã§ãã¼ãã¦ã§ã¢ã«ããæ¤åºãããéã«ãããã»ã¹ãã©ã®ããã« kill
              ããããå¶å¾¡ããã (ãã¼ã¸ã®æå¹ãªã³ãã¼ããã£ã¹ã¯ä¸ã«ãåå¨ãããªã©)
              ããã¤ãã®å ´é¢ã§ã¯ãã«ã¼ãã«ã¯ã¢ããªã±ã¼ã·ã§ã³ã«å½±é¿ãä¸ããã«ééçã«æéãå¦çããããããããã¼ã¿ã®ææ°ã®ã³ãã¼ãä»ã«ã¯ãªãå ´åã«ã¯ããã¼ã¿ç ´å£ãæ³¢åããã®ãé²ããããã«ã¼ãã«ã¯ãã‐
              ã»ã¹ã kill ããã

              ãã®ãã¡ã¤ã«ã¯ä»¥ä¸ã®ããããã®å¤ãæã¤ã

              1:  ãã¼ã¿ç ´å£ãæ¤åºãããã¨ããã«ãæéãæ¤åºãã復åã§ããªããã¼ã¸
                  (corrupted-and-not-reloadable page) ãããããã¦ããå¨ã¦ã®ããã»ã¹ã
                  kill ããããã®æ©è½ã¯ã(ã«ã¼ãã«åé¨ã§å²ãå½ã¦ããããã¼ã¿ãã¹ã¯ããã®ã‐
                  ã£ãã·ã¥ãªã©)
                  å°æ°ã®ããã¤ãã®ã¿ã¤ãã®ãã¼ã¸ã§ã¯ãµãã¼ãããã¦ããªããã大åã®ã¦ã¼ã¶ãã¼ã¸ã§ã¯ãã®æ©è½ã¯åãã

              0:  ãã¼ã¿ç ´å£ãæ¤åºããããã¼ã¸ã®å¨ã¦ã®ããã»ã¹ããã® unmap
                  ã®ã¿ãè¡ãããã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ãããã¨ããããã»ã¹ã®ã¿ã kill ããã

              ãã® kill 㯠si_code ã« BUS_MCEERR_AO ãè¨å®ãã SIGBUS
              ã·ã°ãã«ã使ã£ã¦è¡ãããããã‐
              ã»ã¹å´ã§ã¯å¿è¦ã§ããã°ãã®ã·ã°ãã«ãå¦çãããã¨ãã§ããã詳細ã¯
              sigaction(2) ãåç§ã

              ãã®æ©è½ã¯ãé«åº¦ãªãã·ã³ãã§ãã¯æ©æ§ãæã£ãã¢ã¼ã‐
              ãã¯ãã£/ãã©ãããã©ã¼ã ã«ããã¦ã®ã¿æå¹ã§ããããã¼ãã¦ã§ã¢æ©è½ã«ãä¾åãã¦ããã

              ã¢ããªã±ã¼ã·ã§ã³ã¯ prctl(2) ã® PR_MCE_KILL æä½ã使ã£ã¦åå¥ã«
              memory_failure_early_kill ã®è¨å®ãä¸æ¸ããããã¨ãã§ããã

              ã«ã¼ãã«ã®è¨å®ã§ CONFIG_MEMORY_FAILURE ãæå¹ã«ãªã£ã¦ããå ´åã«ã®ã¿
              åå¨ããã

       /proc/sys/vm/memory_failure_recovery (Linux 2.6.32 以é)
              ã¡ã¢ãªæéå復 (memory failure recovery) ãæå¹ã«ãã
               (ãã©ãããã©ã¼ã ããµãã¼ããã¦ããå ´å)

              1:  å復ã試ã¿ãã

              0:  ã¡ã¢ãªæéæã«ã¯å¸¸ã« panic ãèµ·ããã

              ã«ã¼ãã«ã®è¨å®ã§ CONFIG_MEMORY_FAILURE ãæå¹ã«ãªã£ã¦ããå ´åã«ã®ã¿
              åå¨ããã

       /proc/sys/vm/oom_dump_tasks (Linux 2.6.25 以é)
              ã«ã¼ãã«ã OOM-killing ãå®è¡ããéã«ãã·ã¹ãã å¨ä½ã®ã¿ã¹ã¯ã»ãã³ã
              (ã«ã¼ãã«ã¹ã¬ãããé¤ã) ãçæããããå¶å¾¡ããã ãã³ãã«ã¯ãã¿ã¹ã¯ (ã¹ã¬ããããã‐
              ã»ã¹) æ¯ã«ä»¥ä¸ã®æå ±ãåºåããã: ã¹ã¬ãã IDãå®ã¦ã¼ã¶
              IDãã¹ã¬ããã°ã«ã¼ã ID (ããã»ã¹ ID)ã ä»®æ³ã¡ã¢ãªãµã¤ãºãResident Set
              Size (å®ã¡ã¢ãªä¸ã«åå¨ãããã¼ã¸ãµã¤ãº)ã ã¿ã¹ã¯ãã¹ã±ã¸ã¥ã¼ãªã³ã°ããã
              CPUã oom_adj ã¹ã³ã¢ (/proc/[pid]/oom_adj ã®èª¬æãåç§)ãã³ãã³ãåã
              ãã®ãã³ãæå ±ã¯ããªã OOM-killer ãèµ·åãããããç¥ãã
              ãã®åå ã¨ãªã£ããªããèã®ã¿ã¹ã¯ãç¹å®ããã®ã«å½¹ã«ç«ã¤ã

              ãã®ãã¡ã¤ã«ã®å容ãå¤ 0 ã®å ´åããã³ãæå ±ã®åºåã¯è¡ãããªãã
              ã¿ã¹ã¯ãä½åãããé常ã«å·¨å¤§ãªã·ã¹ãã ã§ã¯ã
              åãã®ã¿ã¹ã¯ã«ã¤ãã¦ã¡ã¢ãªç¶æããã³ãããã®ã¯é©åã§ãªããããããªãã
              ãã®ãããªã·ã¹ãã ã§ã¯ããã³ãæå ±ãå¿è¦ã§ããªãã¨ãã« ã¡ã¢ãªä¸è¶³ (OOM)
              ã®ç¶æ³ã§æ§è½é¢ã®ä¸å©çãèµ·ãããªãããã«ãã¹ãã ããã

              ãã®ãã¡ã¤ã«ã®å容ã 0 以å¤ã®å ´åã OOM-killer
              ãå®éã«ã¡ã¢ãªãå æããã¿ã¹ã¯ã kill ãã度㫠ãã³ãæå ±ãåºåãããã

              ããã©ã«ãå¤ã¯ 0 ã§ããã

       /proc/sys/vm/oom_kill_allocating_task (Linux 2.6.24 以é)
              ãã®ãã¡ã¤ã«ã¯ãã¡ã¢ãªä¸è¶³ (OOM) ã®ç¶æ³ãèµ·ãã£ãéã«ã
              ã¡ã¢ãªä¸è¶³ã®ãã£ããã¨ãªã£ãã¿ã¹ã¯ã kill ãããã©ãããå¶å¾¡ããã

              ãã®ãã¡ã¤ã«ã 0 ã«è¨å®ãããå ´åã OOM-killer ã¯ã¿ã¹ã¯ãªã¹ãå¨ä½ãã¹ã‐
              ã£ã³ããçµé¨åã«åºã¥ã kill ããã¿ã¹ã¯ãé¸æããã é常ã¯ãkill
              ããå ´åã«å¤ãã®ã¡ã¢ãªã解æ¾ã§ããã ãªããèã®ã¡ã¢ãªå æã¿ã¹ã¯ãé¸æãããã

              ãã®ãã¡ã¤ã«ã 0 以å¤ã«è¨å®ãããå ´åã OOM-killer
              ã¯ã¡ã¢ãªä¸è¶³ã®ç¶æ³ãçºçãããã£ããã¨ãªã£ãã¿ã¹ã¯ã åç´ã« kill
              ããã ãã§ããã ããã«ãããããã¦ãã¯éãå¦çã¨ãªãã¿ã¹ã¯ãªã¹ãã®ã¹ãã£ã³ãåé¿ã§ããã

              /proc/sys/vm/panic_on_oom ã 0 以å¤ã®å ´åã
              /proc/sys/vm/oom_kill_allocating_task
              ã«ã©ã®ãããªå¤ãå¥ã£ã¦ããã¨ãã¦ãã /proc/sys/vm/panic_on_oom
              ã®æ¹ãåªåãããã

              ããã©ã«ãå¤ã¯ 0 ã§ããã

       /proc/sys/vm/overcommit_memory
              ãã®ãã¡ã¤ã«ã«ã¯ã«ã¼ãã«ä»®æ³ã¡ã¢ãªã®ã¢ã«ã¦ã³ãã¢ã¼ããæ¸ããã¦ããã
              å¤ã¯ä»¥ä¸ã®éã:

                     0: çºè¦çãªãªã¼ãã¼ã³ããã (heuristic overcommit)
                     (ãããããã©ã«ãã§ãã)
                     1: 常ã«ãªã¼ãã¼ã³ããããããã§ãã¯ããªãã
                     2: 常ã«ãã§ãã¯ãããªã¼ãã¼ã³ãããããªãã

              ã¢ã¼ã 0 ã§ã¯ã MAP_NORESERVE ãè¨å®ãã¦å¼ã³åºããã mmap(2)
              ã¯ãã§ãã¯ãããªãã ã¾ãããã©ã«ãã®ãã§ãã¯ã¯ã¨ã¦ãèå¼±ã§ã ããã»ã¹ã
              "OOM-kill" ãã¦ãã¾ããªã¹ã¯ãå¼ãèµ·ããã Linux 2.4 ã§ã¯ 0
              以å¤ã®å¤ã¯ã¢ã¼ã 1 ãæå³ããã (Linux 2.6 以éã§å©ç¨å¯è½ãª) ã¢ã¼ã 2
              ã§ã¯ã ã·ã¹ãã ä¸ã®ä»®æ³ã¢ãã¬ã¹ç©ºéã®åè¨ã (SS + RAM*(r/100))
              ã«å¶éããã¦ããã ããã§ãSS ã¯ã¹ã¯ãã空éã®ãµã¤ãºã RAM
              ã¯ç©çã¡ã¢ãªã®ãµã¤ãºãr ã¯ãã¡ã¤ã« /proc/sys/vm/overcommit_ratio
              ã®å容ã§ããã

       /proc/sys/vm/overcommit_ratio
              /proc/sys/vm/overcommit_memory ã®èª¬æãåç§ãããã¨ã

       /proc/sys/vm/panic_on_oom (Linux 2.6.18 以é)
              ãã®ãã¡ã¤ã«ã¯ãã¡ã¢ãªä¸è¶³æã«ã«ã¼ãã«ãããã¯ã
              èµ·ãããèµ·ãããªãããå¶å¾¡ããã

              ãã®ãã¡ã¤ã«ã«å¤ 0 ãè¨å®ããã¨ã ã«ã¼ãã«ã® OOM-killer ããªããèã®ããã»ã¹ã
              kill ããã æ®éã¯ãOOM-killer ããªããèã®ããã»ã¹ã kill ãããã¨ãã§ãã
              ã·ã¹ãã ã¯ä½ã¨ãåãç¶ãããã¨ãã§ããã

              ãã®ãã¡ã¤ã«ã«å¤ 1 ãè¨å®ããã¨ã
              ã¡ã¢ãªä¸è¶³ã®ç¶æ³ãçºçããã¨ãã«ã¼ãã«ã¯æ®éã¯ãããã¯ããã ããããªãããããã»ã¹ã
              ã¡ã¢ãªããªã·ã¼ (mbind(2)  ã® MPOL_BIND)  ã cpusets (cpuset(7))
              ã使ã£ã¦ç¹å®ã®ãã¼ãã¸ã®ã¡ã¢ãªå²ãå½ã¦ãå¶éãã¦ãã¦ã
              ãããã®ãã¼ãã§ã¡ã¢ãªæ¯æ¸ç¶æã«è³ã£ãå ´åã¯ã ä¸ã¤ã®ããã»ã¹ã OOM-killer
              ã«ãã kill ãããã ããããããªãã ãã®å ´åã«ã¯ãã«ã¼ãã«ãããã¯ã¯çºçããªãã
              ãªããªããä»ã®ãã¼ãã®ã¡ã¢ãªã«ã¯ç©ºãããããããããã
              ãããã£ã¦ãã·ã¹ãã å¨ä½ã¨ãã¦ã¯ã¡ã¢ãªä¸è¶³ã®ç¶æ³ã«ã¾ã éãã¦ããªããã
              ãããªãããã§ããã

              ãã®ãã¡ã¤ã«ã«å¤ 2 ãè¨å®ããã¨ã
              ã¡ã¢ãªä¸è¶³ã®ç¶æ³ãçºçããã¨ã«ã¼ãã«ã¯å¸¸ã«ãããã¯ãèµ·ããã

              ããã©ã«ãå¤ã¯ 0 ã§ããã 1 㨠2
              ã¯ã¯ã©ã¹ã¿ãªã³ã°ã®ãã§ã¤ã«ãªã¼ãã¼ç¨ã§ããã
              ãã§ã¤ã«ãªã¼ãã¼ã®æ¹éã«å¿ãã¦ã©ã¡ããã®å¤ãé¸æãããã¨ã

       /proc/sys/vm/swappiness
              ãã®ãã¡ã¤ã«ã®å¤ã«ãããã«ã¼ãã«ãã©ã®ç¨åº¦æ¿ããã¡ã¢ãªãã¼ã¸ã® ã¹ã¯ãããè¡ã
              ããå¶å¾¡ãããã 大ããªå¤ã»ã©ã¹ã¯ãããæ¿ãããªããå°ããå¤ã»ã©æ¿ãããªããªãã
              ããã©ã«ãå¤ã¯ 60 ã§ããã

       /proc/sysrq-trigger (Linux 2.4.21 以é)
              ãã®ãã¡ã¤ã«ã«æå character ãæ¸ãè¾¼ãã¨ã ãã¼ãã¼ããã
              ALT-SysRq-<character> ãå¥åããå ´å㨠åã SysRq é¢æ°ãèµ·åããã
              (/proc/sys/kernel/sysrq ã®èª¬æãåç§)ã
              é常ããã®ãã¡ã¤ã«ã¸æ¸ãè¾¼ã¿ãã§ããã®ã¯ root
              ã ãã§ããã詳細ã«ã¤ãã¦ã¯ãLinux ã«ã¼ãã«ã½ã¼ã¹ãã¡ã¤ã«ã®
              Documentation/sysrq.txt ãåç§ã®ãã¨ã

       /proc/sysvipc
              çä¼¼ãã¡ã¤ã« msg, sem, shm ãå«ããµããã£ã¬ã¯ããªã
              ãããã®ãã¡ã¤ã«ã¯ãç¾å¨ã·ã¹ãã ä¸ã«åå¨ãã System V ããã»ã¹ééä¿¡
              (Interprocess Communication, IPC) ãªãã¸ã§ã¯ã (ãããã: ã¡ãã»ã¼ã¸ã‐
              ã¥ã¼ãã»ããã©ãå±æã¡ã¢ãª) ã®ãªã¹ãã§ããã ipcs(1)
              ã§åå¾ã§ããæå ±ã¨åããã®ãæä¾ããã ãããã®ãã¡ã¤ã«ã«ã¯ãããããããç解ããããããã«
              (1 è¡ã«ã¤ã 1 åã® IPC ãªãã¸ã§ã¯ãã®å½¢å¼ã§) ãã©ã¼ãããããã¦ããã
              svipc(7) ã«ã¯ãããã®ãã¡ã¤ã«ããåããæå ±ã®è©³ç´°ãªèæ¯ãæ¸ããã¦ããã

       /proc/tty
              çä¼¼ãã¡ã¤ã«ãå«ããµããã£ã¬ã¯ããªã tty ãã©ã¤ãã¨ã©ã¤ã³è¨å® (line
              discipline) ã®æ¸ããã ãµããã£ã¬ã¯ããªãå«ã¾ããã

       /proc/uptime
              ãã®ãã¡ã¤ã«ã¯ ã·ã¹ãã èµ·åæããçµéããæé (ç§) 㨠ã¢ã¤ãã« (idle)
              ãã¦ããããã»ã¹ãæ¶è²»ããæé (ç§) ã® 2 ã¤ã®æ°ãå«ãã

       /proc/version
              ç¾å¨ç¨¼åãã¦ããã«ã¼ãã«ã®ãã¼ã¸ã§ã³èå¥åã§ããæååã ããã«ã¯
              /proc/sys/ostype, /proc/sys/osrelease, /proc/sys/version
              ã®å容ãå«ã¾ããã ãã¨ãã°ãã®ããã«:
            Linux version 1.0.9 (quinlan@phaze) #1 Sat May 14 01:51:54 EDT 1994

       /proc/vmstat (Linux 2.6 以é)
              ãã®ãã¡ã¤ã«ã¯ä»®æ³ã¡ã¢ãªã®æ§ããªçµ±è¨æå ±ã表示ããã

       /proc/zoneinfo (Linux 2.6.13 以é)
              ãã®ãã¡ã¤ã«ã¯ã¡ã¢ãªã®ã¾ã¼ã³ (memory zone) ã«é¢ããæå ±ã表示ããã
              ä»®æ³ã¡ã¢ãªã®æ¯èããåæããã®ã«å½¹ç«ã¤ã

注æ
       ã»ã¨ãã©ã®æåå (ãã¨ãã°ç°å¢å¤æ°ãã³ãã³ãè¡) ã¯åé¨è¡¨ç¾ã®ã¾ã¾ãªã®ã§ã
       åãã£ã¼ã«ã㯠NULL ãã¤ã ('\0') ã§åºåããã¦ãããã ããã od -c ã tr "\000" "\n"
       ã使ãã°ããããã¯ããèªã¿ããããªãã ã¾ã echo `cat <file>` ã§ãããã

       ãã®ããã¥ã¢ã«ã¯ä¸å®å¨ã§ããããã¶ãä¸æ£ç¢ºã§ããã°ãã°æ´æ°ãããå¿è¦ãããã

é¢é£é ç®
       cat(1), dmesg(1), find(1), free(1), ps(1), tr(1), uptime(1), chroot(2),
       mmap(2), readlink(2), syslog(2), slabinfo(5), hier(7), time(7), arp(8),
       hdparm(8), ifconfig(8), init(8), lsmod(8), lspci(8), mount(8),
       netstat(8), procinfo(8), route(8), sysctl(8)

       Linux ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«: Documentation/filesystems/proc.txt,
       Documentation/sysctl/vm.txt

ãã®ææ¸ã«ã¤ãã¦
       ãã® man ãã¼ã¸ã¯ Linux man-pages ããã¸ã§ã¯ãã®ãªãªã¼ã¹ 3.51 ã®ä¸é¨
       ã§ãããããã¸ã§ã¯ãã®èª¬æã¨ãã°å ±åã«é¢ããæå ±ã¯
       http://www.kernel.org/doc/man-pages/ ã«æ¸ããã¦ããã



Linux                             2013-04-17                           PROC(5)