Библиотека сайта rus-linux.net
Next: Installing the Binaries Up: Configuring TCP/IP Networking Previous: Configuring TCP/IP Networking
Some of the configuration tools of the Net-2 release rely on the proc filesystem for communicating with the kernel. This is an interface that permits access to kernel run-time information through a filesystem-like mechanism. When mounted, you can list its files like any other filesystem, or display their contents. Typical items include the loadavg file that contains the system load average, or meminfo, which shows current core memory and swap usage.
To this, the networking code adds the net directory. It contains a number of files that show things like the kernel ARP tables, the state of TCP connections, and the routing tables. Most network administration tools get their information from these files.
# procfs mont point: none /proc proc defaultsand execute ``mount /proc'' from your /etc/rc script.
The procfs is nowadays configured into most kernels by default. If the procfs is not in your kernel, you will get a message like ``mount: fs type procfs not supported by kernel''. You will then have to recompile the kernel and answer ``yes'' when asked for procfs support.
Thu Mar 7 23:22:06 EST 1996
Только зарегистрированные пользователи могут оценивать и комментировать статьи.