Lines Matching refs:proc

2                        T H E  /proc   F I L E S Y S T E M
4 /proc/sys Terrehon Bowden <terrehon@pacbell.net> October 7 1999
23 1.3 IDE devices in /proc/ide
24 1.4 Networking info in /proc/net
26 1.6 Parallel port info in /proc/parport
27 1.7 TTY info in /proc/tty
30 2.1 /proc/sys/fs - File system data
31 2.2 /proc/sys/fs/binfmt_misc - Miscellaneous binary formats
32 2.3 /proc/sys/kernel - general kernel parameters
33 2.4 /proc/sys/vm - The virtual memory subsystem
34 2.5 /proc/sys/dev - Device specific parameters
35 2.6 /proc/sys/sunrpc - Remote procedure calls
36 2.7 /proc/sys/net - Networking stuff
37 2.8 /proc/sys/net/ipv4 - IPV4 settings
50 /proc file system and we've used many freely available sources to write these
54 we know, it is the first 'all-in-one' document about the /proc file system. It
93 * Investigating the properties of the pseudo file system /proc and its
95 * Examining /proc's structure
101 The proc file system acts as an interface to internal data structures in the
105 First, we'll take a look at the read-only parts of /proc. In Chapter 2, we
106 show you how you can use /proc/sys to change settings.
111 The directory /proc contains (among other things) one subdirectory for each
118 Table 1-1: Process specific entries in /proc
136 read the file /proc/PID/status:
138 >cat /proc/self/status
164 the ps command. In fact, ps uses the proc file system to obtain its
186 /proc and are listed in Table 1-3. Not all of these will be present in your
190 Table 1-3: Kernel info in /proc
221 pci Depreciated info of PCI bus (new way -> /proc/bus/pci/,
237 they are used for by looking in the file /proc/interrupts:
239 > cat /proc/interrupts
258 > cat /proc/interrupts
293 > ls /proc/irq/
296 > ls /proc/irq/0/
302 > cat /proc/irq/0/smp_affinity
308 > echo 1 > /proc/irq/prof_cpu_mask
318 There are three more important subdirectories in /proc: net, scsi, and sys.
329 1.3 IDE devices in /proc/ide
332 The subdirectory /proc/ide contains information about all IDE devices of which
340 > cat /proc/ide/drivers
350 Table 1-4: IDE controller info in /proc/ide/ide?
382 # cat /proc/ide/ide0/hda/settings
403 1.4 Networking info in /proc/net
406 The subdirectory /proc/net follows the usual pattern. Table 1-6 shows the
411 Table 1-6: IPv6 info in /proc/net
426 Table 1-7: Network info in /proc/net
461 > cat /proc/net/dev
475 example, the bond0 device will have a directory called /proc/net/bond0/.
484 named after the driver for this adapter in /proc/scsi. You'll also see a list
485 of all recognized SCSI devices in /proc/scsi:
487 >cat /proc/scsi/scsi
503 > cat /proc/scsi/aic7xxx/0
543 1.6 Parallel port info in /proc/parport
546 The directory /proc/parport contains information about the parallel ports of
553 Table 1-8: Files in /proc/parport
566 1.7 TTY info in /proc/tty
570 directory /proc/tty.You'll find entries for drivers and line disciplines in
574 Table 1-9: Files in /proc/tty
583 /proc/tty/drivers:
585 > cat /proc/tty/drivers
602 The /proc file system serves information about the running system. It not only
606 The directory structure of /proc reflects the types of information and makes
617 * Modifying kernel parameters by writing into files found in /proc/sys
619 * Review of the /proc/sys file tree
623 A very interesting part of /proc is the directory /proc/sys. This is not only
636 The files in /proc/sys can be used to fine tune and monitor miscellaneous and
640 very careful when writing to any of these files. The entries in /proc may
646 2.1 /proc/sys/fs - File system data
652 Currently, these files are in /proc/sys/fs:
695 # cat /proc/sys/fs/file-max
697 # echo 8192 > /proc/sys/fs/file-max
698 # cat /proc/sys/fs/file-max
742 2.2 /proc/sys/fs/binfmt_misc - Miscellaneous binary formats
745 Besides these files, there is the subdirectory /proc/sys/fs/binfmt_misc. This
768 echo :name:type:offset:magic:mask:interpreter: > /proc/sys/fs/binfmt_misc/register
772 with appropriate name (the name for the /proc-dir entry), offset (defaults to
781 If you do a cat on the file /proc/sys/fs/binfmt_misc/status, you will get the
790 Each registered handler has an entry in /proc/sys/fs/binfmt_misc. These files
798 cd /proc/sys/fs/binfmt_misc
812 2.3 /proc/sys/kernel - general kernel parameters
853 # echo "darkstar" > /proc/sys/kernel/hostname
854 # echo "frop.org" > /proc/sys/kernel/domainname
864 > cat /proc/sys/kernel/osrelease
867 > cat /proc/sys/kernel/ostype
870 > cat /proc/sys/kernel/version
937 2.4 /proc/sys/vm - The virtual memory subsystem
941 2.5 /proc/sys/dev - Device specific parameters
948 >cat /proc/sys/dev/cdrom/info
967 2.6 /proc/sys/sunrpc - Remote procedure calls
974 2.7 /proc/sys/net - Networking stuff
978 /proc/sys/net. Table 2-3 shows all possible subdirectories. You may see only
982 Table 2-3: Subdirectories in /proc/sys/net
1003 /proc/sys/net/core - Network core options
1048 /proc/sys/net/unix - Parameters for Unix domain sockets
1054 2.8 /proc/sys/net/ipv4 - IPV4 settings
1064 Let's start with the entries in /proc/sys/net/ipv4.
1157 /proc/sys/net/ipv4/tcp_ecn, if you want to talk to this sites. For more info
1258 In the directory /proc/sys/net/ipv4/conf you'll find one subdirectory for each
1341 The directory /proc/sys/net/ipv4/route contains several file to control
1395 to the same link) can be found in the directory /proc/sys/net/ipv4/neigh.
1482 The /proc/sys/net/appletalk directory holds the Appletalk configuration data
1506 The directory /proc/net/appletalk holds the list of active Appletalk sockets
1514 /proc/net/atalk_iface lists all the interfaces configured for appletalk.It
1519 /proc/net/atalk_route lists each known network route. It lists the target
1526 The IPX protocol has no tunable values in proc/sys/net.
1528 The IPX protocol does, however, provide proc/net/ipx. This lists each IPX
1537 The /proc/net/ipx_interface file lists all IPX interfaces. For each interface
1544 The /proc/net/ipx_route table holds a list of IPX routes. For each route it
1553 /proc/sys tree can not only be read, but also modified. You can use the echo