Chapter 3. The
proc
File System
42
Can write CD-RW: 0
Can read DVD: 0
Can write DVD-R: 0
Can write DVD-RAM: 0
Can read MRW: 0
Can write MRW: 0
Can write RAM: 0
This file can be quickly scanned to discover the qualities of an unknown CD-ROM. If multiple CD-
ROMs are available on a system, each device is given its own column of information.
Various files in
/proc/sys/dev/cdrom
, such as
autoclose
and
checkmedia
, can be used to
control the system's CD-ROM. Use the
echo
command to enable or disable these features.
If RAID support is compiled into the kernel, a
/proc/sys/dev/raid/
directory becomes available
with at least two files in it:
speed_limit_min
and
speed_limit_max
. These settings determine the
acceleration of RAID devices for I/O intensive tasks, such as resyncing the disks.
3.3.9.2.
/proc/sys/fs/
This directory contains an array of options and information concerning various aspects of the file
system, including quota, file handle, inode, and dentry information.
The
binfmt_misc/
directory is used to provide kernel support for miscellaneous binary formats.
The important files in
/proc/sys/fs/
include:
•
dentry-state
— Provides the status of the directory cache. The file looks similar to the following:
57411 52939 45 0 0 0
The first number reveals the total number of directory cache entries, while the second number
displays the number of unused entries. The third number tells the number of seconds between
when a directory has been freed and when it can be reclaimed, and the fourth measures the pages
currently requested by the system. The last two numbers are not used and display only zeros.
•
dquot-nr
— Lists the maximum number of cached disk quota entries.
•
file-max
— Lists the maximum number of file handles that the kernel allocates. Raising the value
in this file can resolve errors caused by a lack of available file handles.
•
file-nr
— Lists the number of allocated file handles, used file handles, and the maximum number
of file handles.
•
overflowgid
and
overflowuid
— Defines the fixed group ID and user ID, respectively, for use
with file systems that only support 16-bit group and user IDs.
•
super-max
— Controls the maximum number of superblocks available.
•
super-nr
— Displays the current number of superblocks in use.
3.3.9.3.
/proc/sys/kernel/
This directory contains a variety of different configuration files that directly affect the operation of the
kernel. Some of the most important files include:
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...