# AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Fedora Deployment Guide\n" "POT-Creation-Date: 2011-02-22T00:51:19\n" "PO-Revision-Date: 2011-08-21 10:13+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: Sinhala (http://www.transifex.net/projects/p/fedora/team/si/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: si\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #. Tag: title #, no-c-format msgid "The proc File System" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "introduced" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " /proc/ directory " "proc file system" msgstr "" #. Tag: para #, no-c-format msgid "" "The Linux kernel has two primary functions: to control access to physical " "devices on the computer and to schedule when and how processes interact with" " these devices. The /proc/ directory (also called the " "proc file system) contains a hierarchy of special files" " which represent the current state of the kernel, allowing applications and " "users to peer into the kernel's view of the system." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/ directory contains a wealth of information " "detailing system hardware and any running processes. In addition, some of " "the files within /proc/ can be manipulated by users and" " applications to communicate configuration changes to the kernel." msgstr "" #. Tag: para #, no-c-format msgid "" "Later versions of the 2.6 kernel have made the " "/proc/ide/ and /proc/pci/ " "directories obsolete. The /proc/ide/ file system is now " "superseded by files in sysfs; to retrieve information on " "PCI devices, use lspci instead. For more information on " "sysfs or lspci, refer to their " "respective man pages." msgstr "" #. Tag: title #, no-c-format msgid "A Virtual File System" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "file system virtual " "proc file system" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "virtual file system proc file " "system" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "virtual files proc file " "system" msgstr "" #. Tag: para #, no-c-format msgid "" "Linux systems store all data as files. Most users are " "familiar with the two primary types of files: text and binary. But the " "/proc/ directory contains another type of file called a" " virtual file. As such, /proc/ " "is often referred to as a virtual file system." msgstr "" #. Tag: para #, no-c-format msgid "" "Virtual files have unique qualities. Most of them are listed as zero bytes " "in size, but can still contain a large amount of information when viewed. In" " addition, most of the time and date stamps on virtual files reflect the " "current time and date, indicative of the fact they are constantly updated." msgstr "" #. Tag: para #, no-c-format msgid "" "Virtual files such as /proc/interrupts, " "/proc/meminfo, /proc/mounts, and " "/proc/partitions provide an up-to-the-moment glimpse of" " the system's hardware. Others, like the " "/proc/filesystems file and the " "/proc/sys/ directory provide system configuration " "information and interfaces." msgstr "" #. Tag: para #, no-c-format msgid "" "For organizational purposes, files containing information on a similar topic" " are grouped into virtual directories and sub-directories. Process " "directories contain information about each running process on the system." msgstr "" #. Tag: title #, no-c-format msgid "Viewing Virtual Files" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "files, proc file system viewing" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system viewing" " files within" msgstr "" #. Tag: para #, no-c-format msgid "" "Most files within /proc/ files operate similarly to " "text files, storing useful system and hardware data in human-readable text " "format. As such, you can use cat, " "more, or less to view them. For " "example, to display information about the system's CPU, run cat " "/proc/cpuinfo. This will return output similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "processor\t: 0\n" "vendor_id\t: AuthenticAMD\n" "cpu family\t: 5\n" "model\t\t: 9\n" "model name\t: AMD-K6(tm) 3D+\n" "Processor stepping\t: 1 cpu\n" "MHz\t\t: 400.919\n" "cache size\t: 256 KB\n" "fdiv_bug\t: no\n" "hlt_bug\t\t: no\n" "f00f_bug\t: no\n" "coma_bug\t: no\n" "fpu\t\t: yes\n" "fpu_exception\t: yes\n" "cpuid level\t: 1\n" "wp\t\t: yes\n" "flags\t\t: fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr\n" "bogomips\t: 799.53\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Some files in /proc/ contain information that is not " "human-readable. To retrieve information from such files, use tools such as " "lspci, apm, free, " "and top." msgstr "" #. Tag: title #, no-c-format msgid "Note" msgstr "" #. Tag: para #, no-c-format msgid "" "Some of the virtual files in the /proc/ directory are " "readable only by the root user." msgstr "" #. Tag: title #, no-c-format msgid "Changing Virtual Files" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "files, proc file system changing" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "changing files within" msgstr "" #. Tag: para #, no-c-format msgid "" "As a general rule, most virtual files within the /proc/" " directory are read-only. However, some can be used to adjust settings in " "the kernel. This is especially true for files in the " "/proc/sys/ subdirectory." msgstr "" #. Tag: para #, no-c-format msgid "To change the value of a virtual file, use the following command:" msgstr "" #. Tag: para #, no-c-format msgid "" "echo value > " "/proc/file " msgstr "" #. Tag: para #, no-c-format msgid "For example, to change the hostname on the fly, run:" msgstr "" #. Tag: para #, no-c-format msgid "" "echo www.example.com > " "/proc/sys/kernel/hostname " msgstr "" #. Tag: para #, no-c-format msgid "" "Other files act as binary or Boolean switches. Typing cat " "/proc/sys/net/ipv4/ip_forward returns either a " "0 (off or false) or a " "1 (on or true). A " "0 indicates that the kernel is not " "forwarding network packets. To turn packet forwarding on, run echo " "1 > /proc/sys/net/ipv4/ip_forward." msgstr "" #. Tag: title #, no-c-format msgid "Tip" msgstr "" #. Tag: para #, no-c-format msgid "" "Another command used to alter settings in the " "/proc/sys/ subdirectory is " "/sbin/sysctl. For more information on this command, refer" " to " msgstr "" #. Tag: para #, no-c-format msgid "" "For a listing of some of the kernel configuration files available in the " "/proc/sys/ subdirectory, refer to ." msgstr "" #. Tag: title #, no-c-format msgid "Top-level Files within the proc File System" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system files " "within, top-level" msgstr "" #. Tag: para #, no-c-format msgid "" "Below is a list of some of the more useful virtual files in the top-level of" " the /proc/ directory." msgstr "" #. Tag: para #, no-c-format msgid "" "In most cases, the content of the files listed in this section are not the " "same as those installed on your machine. This is because much of the " "information is specific to the hardware on which &MAJOROS; is running for " "this documentation effort." msgstr "" #. Tag: title #, no-c-format msgid "/proc/buddyinfo" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/buddyinfo " msgstr "" #. Tag: para #, no-c-format msgid "" "This file is used primarily for diagnosing memory fragmentation issues. " "Using the buddy algorithm, each column represents the number of pages of a " "certain order (a certain size) that are available at any given time. For " "example, for zone direct memory access (DMA), there " "are 90 of 2(0*PAGE_SIZE) chunks of memory. " "Similarly, there are 6 of 2(1*PAGE_SIZE) chunks, " "and 2 of 2(2*PAGE_SIZE) chunks of memory " "available." msgstr "" #. Tag: para #, no-c-format msgid "" "The DMA row references the first 16 MB on a" " system, the HighMem row references all " "memory greater than 4 GB on a system, and the " "Normal row references all memory in " "between." msgstr "" #. Tag: para #, no-c-format msgid "" "The following is an example of the output typical of " "/proc/buddyinfo:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Node 0, zone DMA 90 6 2 1 1 ...\n" "Node 0, zone Normal 1650 310 5 0 0 ...\n" "Node 0, zone HighMem 2 0 0 1 1 ...\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/cmdline" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/cmdline " msgstr "" #. Tag: para #, no-c-format msgid "" "This file shows the parameters passed to the kernel at the time it is " "started. A sample /proc/cmdline file looks like the " "following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "ro root=/dev/VolGroup00/LogVol00 rhgb quiet 3\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This tells us that the kernel is mounted read-only (signified by " "(ro)), located on the first logical volume " "(LogVol00) of the first volume group " "(/dev/VolGroup00). " "LogVol00 is the equivalent of a disk " "partition in a non-LVM system (Logical Volume Management), just as " "/dev/VolGroup00 is similar in concept to " "/dev/hda1, but much more extensible." msgstr "" #. Tag: para #, no-c-format msgid "" "For more information on LVM used in &MAJOROS;, refer to http://www.tldp.org/HOWTO/LVM-HOWTO/index.html." msgstr "" #. Tag: para #, no-c-format msgid "" "Next, rhgb signals that the " "rhgb package has been installed, and graphical booting " "is supported, assuming /etc/inittab shows a default " "runlevel set to id:5:initdefault:." msgstr "" #. Tag: para #, no-c-format msgid "" "Finally, quiet indicates all verbose kernel" " messages are suppressed at boot time." msgstr "" #. Tag: title #, no-c-format msgid "/proc/cpuinfo" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/cpuinfo " msgstr "" #. Tag: para #, no-c-format msgid "" "This virtual file identifies the type of processor used by your system. The " "following is an example of the output typical of " "/proc/cpuinfo:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "processor\t: 0\n" "vendor_id\t: GenuineIntel\n" "cpu family\t: 15\n" "model\t\t: 2\n" "model name\t: Intel(R) Xeon(TM) CPU 2.40GHz\n" "stepping\t: 7 cpu\n" "MHz\t\t: 2392.371\n" "cache size\t: 512 KB\n" "physical id\t: 0\n" "siblings\t: 2\n" "runqueue\t: 0\n" "fdiv_bug\t: no\n" "hlt_bug\t\t: no\n" "f00f_bug\t: no\n" "coma_bug\t: no\n" "fpu\t\t: yes\n" "fpu_exception\t: yes\n" "cpuid level\t: 2\n" "wp\t\t: yes\n" "flags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm\n" "bogomips\t: 4771.02\n" msgstr "" #. Tag: para #, no-c-format msgid "" "processor — Provides each processor " "with an identifying number. On systems that have one processor, only a " "0 is present." msgstr "" #. Tag: para #, no-c-format msgid "" "cpu family — Authoritatively " "identifies the type of processor in the system. For an Intel-based system, " "place the number in front of \"86\" to determine the value. This is " "particularly helpful for those attempting to identify the architecture of an" " older system such as a 586, 486, or 386. Because some RPM packages are " "compiled for each of these particular architectures, this value also helps " "users determine which packages to install." msgstr "" #. Tag: para #, no-c-format msgid "" "model name — Displays the common name" " of the processor, including its project name." msgstr "" #. Tag: para #, no-c-format msgid "" "cpu MHz — Shows the precise speed in " "megahertz for the processor to the thousandths decimal place." msgstr "" #. Tag: para #, no-c-format msgid "" "cache size — Displays the amount of " "level 2 memory cache available to the processor." msgstr "" #. Tag: para #, no-c-format msgid "" "siblings — Displays the number of " "sibling CPUs on the same physical CPU for architectures which use hyper-" "threading." msgstr "" #. Tag: para #, no-c-format msgid "" "flags — Defines a number of different" " qualities about the processor, such as the presence of a floating point " "unit (FPU) and the ability to process MMX instructions." msgstr "" #. Tag: title #, no-c-format msgid "/proc/crypto" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/crypto " msgstr "" #. Tag: para #, no-c-format msgid "" "This file lists all installed cryptographic ciphers used by the Linux " "kernel, including additional details for each. A sample " "/proc/crypto file looks like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "name : sha1\n" "module : kernel\n" "type : digest\n" "blocksize : 64\n" "digestsize : 20\n" "name : md5\n" "module : md5\n" "type : digest\n" "blocksize : 64\n" "digestsize : 16\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/devices" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/devices block " "devices" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/devices character " "devices" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "character devices definition of" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "character devices " "/proc/devices " msgstr "" #. Tag: indexterm #, no-c-format msgid "" "block devices " "/proc/devices " msgstr "" #. Tag: indexterm #, no-c-format msgid "block devices definition of" msgstr "" #. Tag: para #, no-c-format msgid "" "This file displays the various character and block devices currently " "configured (not including devices whose modules are not loaded). Below is a " "sample output from this file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Character devices:\n" " 1 mem\n" " 4 /dev/vc/0\n" " 4 tty\n" " 4 ttyS\n" " 5 /dev/tty\n" " 5 /dev/console\n" " 5 /dev/ptmx\n" " 7 vcs\n" " 10 misc\n" " 13 input\n" " 29 fb\n" " 36 netlink\n" " 128 ptm\n" " 136 pts\n" " 180 usb\n" "\n" "Block devices:\n" " 1 ramdisk\n" " 3 ide0\n" " 9 md\n" " 22 ide1\n" " 253 device-mapper\n" " 254 mdp\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The output from /proc/devices includes the major number" " and name of the device, and is broken into two major sections: " "Character devices and Block" " devices." msgstr "" #. Tag: para #, no-c-format msgid "" "Character devices are similar to block " "devices, except for two basic differences:" msgstr "" #. Tag: para #, no-c-format msgid "" "Character devices do not require buffering. Block devices have a buffer " "available, allowing them to order requests before addressing them. This is " "important for devices designed to store information — such as hard " "drives — because the ability to order the information before writing " "it to the device allows it to be placed in a more efficient order." msgstr "" #. Tag: para #, no-c-format msgid "" "Character devices send data with no preconfigured size. Block devices can " "send and receive information in blocks of a size configured per device." msgstr "" #. Tag: para #, no-c-format msgid "" "For more information about devices refer to the following installed " "documentation:" msgstr "" #. Tag: screen #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-<kernel_version>/Documentation/devices.txt" msgstr "" #. Tag: title #, no-c-format msgid "/proc/dma" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/dma " msgstr "" #. Tag: para #, no-c-format msgid "" "This file contains a list of the registered ISA DMA channels in use. A " "sample /proc/dma files looks like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "4: cascade\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/execdomains" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/execdomains " msgstr "" #. Tag: indexterm #, no-c-format msgid "" "execution domains " "/proc/execdomains " msgstr "" #. Tag: indexterm #, no-c-format msgid "" "execution domains definition of" msgstr "" #. Tag: para #, no-c-format msgid "" "This file lists the execution domains currently " "supported by the Linux kernel, along with the range of personalities they " "support." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "0-0 Linux [kernel]\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Think of execution domains as the \"personality\" for an operating system. " "Because other binary formats, such as Solaris, UnixWare, and FreeBSD, can be" " used with Linux, programmers can change the way the operating system treats" " system calls from these binaries by changing the personality of the task. " "Except for the PER_LINUX execution domain, " "different personalities can be implemented as dynamically loadable modules." msgstr "" #. Tag: title #, no-c-format msgid "/proc/fb" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/fb " msgstr "" #. Tag: indexterm #, no-c-format msgid "" "frame buffer device " "/proc/fb " msgstr "" #. Tag: para #, no-c-format msgid "" "This file contains a list of frame buffer devices, with the frame buffer " "device number and the driver that controls it. Typical output of " "/proc/fb for systems which contain frame buffer devices" " looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "0 VESA VGA\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/filesystems" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/filesystems " msgstr "" #. Tag: para #, no-c-format msgid "" "This file displays a list of the file system types currently supported by " "the kernel. Sample output from a generic " "/proc/filesystems file looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "nodev sysfs\n" "nodev rootfs\n" "nodev bdev\n" "nodev proc\n" "nodev sockfs\n" "nodev binfmt_misc\n" "nodev usbfs\n" "nodev usbdevfs\n" "nodev futexfs\n" "nodev tmpfs\n" "nodev pipefs\n" "nodev eventpollfs\n" "nodev devpts\n" "\text2\n" "nodev ramfs\n" "nodev hugetlbfs\n" "\tiso9660\n" "nodev mqueue\n" "\text3\n" "nodev rpc_pipefs\n" "nodev autofs\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first column signifies whether the file system is mounted on a block " "device. Those beginning with nodev are not " "mounted on a device. The second column lists the names of the file systems " "supported." msgstr "" #. Tag: para #, no-c-format msgid "" "The mount command cycles through the file systems listed " "here when one is not specified as an argument." msgstr "" #. Tag: title #, no-c-format msgid "/proc/interrupts" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/interrupts " msgstr "" #. Tag: para #, no-c-format msgid "" "This file records the number of interrupts per IRQ on the x86 architecture. " "A standard /proc/interrupts looks similar to the " "following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" " CPU0\n" " 0: 80448940 XT-PIC timer\n" " 1: 174412 XT-PIC keyboard\n" " 2: 0 XT-PIC cascade\n" " 8: 1 XT-PIC rtc\n" " 10: 410964 XT-PIC eth0\n" " 12: 60330 XT-PIC PS/2 Mouse\n" " 14: 1314121 XT-PIC ide0\n" " 15: 5195422 XT-PIC ide1\n" "NMI: 0\n" "ERR: 0\n" msgstr "" #. Tag: para #, no-c-format msgid "For a multi-processor machine, this file may look slightly different:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "\t CPU0 CPU1\n" " 0: 1366814704 0 XT-PIC timer\n" " 1: 128 340 IO-APIC-edge keyboard\n" " 2: 0 0 XT-PIC cascade\n" " 8: 0 1 IO-APIC-edge rtc\n" " 12: 5323 5793 IO-APIC-edge PS/2 Mouse\n" " 13: 1 0 XT-PIC fpu\n" " 16: 11184294 15940594 IO-APIC-level Intel EtherExpress Pro 10/100 Ethernet\n" " 20: 8450043 11120093 IO-APIC-level megaraid\n" " 30: 10432 10722 IO-APIC-level aic7xxx\n" " 31: 23 22 IO-APIC-level aic7xxx\n" "NMI: 0\n" "ERR: 0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first column refers to the IRQ number. Each CPU in the system has its " "own column and its own number of interrupts per IRQ. The next column reports" " the type of interrupt, and the last column contains the name of the device " "that is located at that IRQ." msgstr "" #. Tag: para #, no-c-format msgid "" "Each of the types of interrupts seen in this file, which are architecture-" "specific, mean something different. For x86 machines, the following values " "are common:" msgstr "" #. Tag: para #, no-c-format msgid "" "XT-PIC — This is the old AT computer " "interrupts." msgstr "" #. Tag: para #, no-c-format msgid "" "IO-APIC-edge — The voltage signal on " "this interrupt transitions from low to high, creating an " "edge, where the interrupt occurs and is only signaled " "once. This kind of interrupt, as well as the IO-APIC-" "level interrupt, are only seen on systems with processors " "from the 586 family and higher." msgstr "" #. Tag: para #, no-c-format msgid "" "IO-APIC-level — Generates interrupts " "when its voltage signal is high until the signal is low again." msgstr "" #. Tag: title #, no-c-format msgid "/proc/iomem" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/iomem " msgstr "" #. Tag: para #, no-c-format msgid "" "This file shows you the current map of the system's memory for each physical" " device:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "00000000-0009fbff : System RAM\n" "0009fc00-0009ffff : reserved\n" "000a0000-000bffff : Video RAM area\n" "000c0000-000c7fff : Video ROM\n" "000f0000-000fffff : System ROM\n" "00100000-07ffffff : System RAM\n" "00100000-00291ba8 : Kernel code\n" "00291ba9-002e09cb : Kernel data\n" "e0000000-e3ffffff : VIA Technologies, Inc. VT82C597 [Apollo VP3] e4000000-e7ffffff : PCI Bus #01\n" "e4000000-e4003fff : Matrox Graphics, Inc. MGA G200 AGP\n" "e5000000-e57fffff : Matrox Graphics, Inc. MGA G200 AGP\n" "e8000000-e8ffffff : PCI Bus #01\n" "e8000000-e8ffffff : Matrox Graphics, Inc. MGA G200 AGP\n" "ea000000-ea00007f : Digital Equipment Corporation DECchip 21140 [FasterNet]\n" "ea000000-ea00007f : tulip ffff0000-ffffffff : reserved\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first column displays the memory registers used by each of the different" " types of memory. The second column lists the kind of memory located within " "those registers and displays which memory registers are used by the kernel " "within the system RAM or, if the network interface card has multiple " "Ethernet ports, the memory registers assigned for each port." msgstr "" #. Tag: title #, no-c-format msgid "/proc/ioports" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/ioports " msgstr "" #. Tag: para #, no-c-format msgid "" "The output of /proc/ioports provides a list of " "currently registered port regions used for input or output communication " "with a device. This file can be quite long. The following is a partial " "listing:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "0000-001f : dma1\n" "0020-003f : pic1\n" "0040-005f : timer\n" "0060-006f : keyboard\n" "0070-007f : rtc\n" "0080-008f : dma page reg\n" "00a0-00bf : pic2\n" "00c0-00df : dma2\n" "00f0-00ff : fpu\n" "0170-0177 : ide1\n" "01f0-01f7 : ide0\n" "02f8-02ff : serial(auto)\n" "0376-0376 : ide1\n" "03c0-03df : vga+\n" "03f6-03f6 : ide0\n" "03f8-03ff : serial(auto)\n" "0cf8-0cff : PCI conf1\n" "d000-dfff : PCI Bus #01\n" "e000-e00f : VIA Technologies, Inc. Bus Master IDE\n" "e000-e007 : ide0\n" "e008-e00f : ide1\n" "e800-e87f : Digital Equipment Corporation DECchip 21140 [FasterNet]\n" "e800-e87f : tulip\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first column gives the I/O port address range reserved for the device " "listed in the second column." msgstr "" #. Tag: title #, no-c-format msgid "/proc/kcore" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/kcore " msgstr "" #. Tag: para #, no-c-format msgid "" "This file represents the physical memory of the system and is stored in the " "core file format. Unlike most /proc/ files, " "kcore displays a size. This value is given in bytes and" " is equal to the size of the physical memory (RAM) used plus 4 KB." msgstr "" #. Tag: para #, no-c-format msgid "" "The contents of this file are designed to be examined by a debugger, such as" " gdb, and is not human readable." msgstr "" #. Tag: title #, no-c-format msgid "Caution" msgstr "" #. Tag: para #, no-c-format msgid "" "Do not view the /proc/kcore virtual file. The contents " "of the file scramble text output on the terminal. If this file is " "accidentally viewed, press Ctrl " "C to stop the process and then type " "reset to bring back the command line prompt." msgstr "" #. Tag: title #, no-c-format msgid "/proc/kmsg" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/kmsg " msgstr "" #. Tag: para #, no-c-format msgid "" "This file is used to hold messages generated by the kernel. These messages " "are then picked up by other programs, such as /sbin/klogd" " or /bin/dmesg." msgstr "" #. Tag: title #, no-c-format msgid "/proc/loadavg" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/loadavg " msgstr "" #. Tag: para #, no-c-format msgid "" "This file provides a look at the load average in regard to both the CPU and " "IO over time, as well as additional data used by uptime " "and other commands. A sample /proc/loadavg file looks " "similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "0.20 0.18 0.12 1/80 11206\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first three columns measure CPU and IO utilization of the last one, " "five, and 15 minute periods. The fourth column shows the number of currently" " running processes and the total number of processes. The last column " "displays the last process ID used." msgstr "" #. Tag: para #, no-c-format msgid "" "In addition, load average also refers to the number of processes ready to " "run (i.e. in the run queue, waiting for a CPU share." msgstr "" #. Tag: title #, no-c-format msgid "/proc/locks" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/locks " msgstr "" #. Tag: para #, no-c-format msgid "" "This file displays the files currently locked by the kernel. The contents of" " this file contain internal kernel debugging data and can vary tremendously," " depending on the use of the system. A sample " "/proc/locks file for a lightly loaded system looks " "similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "1: POSIX ADVISORY WRITE 3568 fd:00:2531452 0 EOF\n" "2: FLOCK ADVISORY WRITE 3517 fd:00:2531448 0 EOF\n" "3: POSIX ADVISORY WRITE 3452 fd:00:2531442 0 EOF\n" "4: POSIX ADVISORY WRITE 3443 fd:00:2531440 0 EOF\n" "5: POSIX ADVISORY WRITE 3326 fd:00:2531430 0 EOF\n" "6: POSIX ADVISORY WRITE 3175 fd:00:2531425 0 EOF\n" "7: POSIX ADVISORY WRITE 3056 fd:00:2548663 0 EOF\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Each lock has its own line which starts with a unique number. The second " "column refers to the class of lock used, with " "FLOCK signifying the older-style UNIX file " "locks from a flock system call and " "POSIX representing the newer POSIX locks " "from the lockf system call." msgstr "" #. Tag: para #, no-c-format msgid "" "The third column can have two values: " "ADVISORY or " "MANDATORY. " "ADVISORY means that the lock does not " "prevent other people from accessing the data; it only prevents other " "attempts to lock it. MANDATORY means that " "no other access to the data is permitted while the lock is held. The fourth " "column reveals whether the lock is allowing the holder " "READ or " "WRITE access to the file. The fifth column " "shows the ID of the process holding the lock. The sixth column shows the ID " "of the file being locked, in the format of MAJOR-DEVICE:MINOR-" "DEVICE:INODE-NUMBER " ". The seventh and eighth column shows the start and end of " "the file's locked region." msgstr "" #. Tag: title #, no-c-format msgid "/proc/mdstat" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/mdstat " msgstr "" #. Tag: para #, no-c-format msgid "" "This file contains the current information for multiple-disk, RAID " "configurations. If the system does not contain such a configuration, then " "/proc/mdstat looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Personalities : read_ahead not set unused devices: <none>\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This file remains in the same state as seen above unless a software RAID or " "md device is present. In that case, view " "/proc/mdstat to find the current status of " "mdX RAID devices." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/mdstat file below shows a system with its " "md0 configured as a RAID 1 device, while it is " "currently re-syncing the disks:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Personalities : [linear] [raid1] read_ahead 1024 sectors\n" "md0: active raid1 sda2[1] sdb2[0] 9940 blocks [2/2] [UU] resync=1% finish=12.3min algorithm 2 [3/3] [UUU]\n" "unused devices: <none>\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/meminfo" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/meminfo " msgstr "" #. Tag: para #, no-c-format msgid "" "This is one of the more commonly used files in the " "/proc/ directory, as it reports a large amount of " "valuable information about the systems RAM usage." msgstr "" #. Tag: para #, no-c-format msgid "" "The following sample /proc/meminfo virtual file is from" " a system with 256 MB of RAM and 512 MB of swap space:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "MemTotal: 255908 kB\n" "MemFree: 69936 kB\n" "Buffers: 15812 kB\n" "Cached: 115124 kB\n" "SwapCached: 0 kB\n" "Active: 92700 kB\n" "Inactive: 63792 kB\n" "HighTotal: 0 kB\n" "HighFree: 0 kB\n" "LowTotal: 255908 kB\n" "LowFree: 69936 kB\n" "SwapTotal: 524280 kB\n" "SwapFree: 524280 kB\n" "Dirty: 4 kB\n" "Writeback: 0 kB\n" "Mapped: 42236 kB\n" "Slab: 25912 kB\n" "Committed_AS: 118680 kB\n" "PageTables: 1236 kB\n" "VmallocTotal: 3874808 kB\n" "VmallocUsed: 1416 kB\n" "VmallocChunk: 3872908 kB\n" "HugePages_Total: 0\n" "HugePages_Free: 0\n" "Hugepagesize: 4096 kB\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Much of the information here is used by the free, " "top, and ps commands. In fact, the " "output of the free command is similar in appearance to " "the contents and structure of /proc/meminfo. But by " "looking directly at /proc/meminfo, more details are " "revealed:" msgstr "" #. Tag: para #, no-c-format msgid "" "MemTotal — Total amount of physical " "RAM, in kilobytes." msgstr "" #. Tag: para #, no-c-format msgid "" "MemFree — The amount of physical RAM," " in kilobytes, left unused by the system." msgstr "" #. Tag: para #, no-c-format msgid "" "Buffers — The amount of physical RAM," " in kilobytes, used for file buffers." msgstr "" #. Tag: para #, no-c-format msgid "" "Cached — The amount of physical RAM, " "in kilobytes, used as cache memory." msgstr "" #. Tag: para #, no-c-format msgid "" "SwapCached — The amount of swap, in " "kilobytes, used as cache memory." msgstr "" #. Tag: para #, no-c-format msgid "" "Active — The total amount of buffer " "or page cache memory, in kilobytes, that is in active use. This is memory " "that has been recently used and is usually not reclaimed for other purposes." msgstr "" #. Tag: para #, no-c-format msgid "" "Inactive — The total amount of buffer" " or page cache memory, in kilobytes, that are free and available. This is " "memory that has not been recently used and can be reclaimed for other " "purposes." msgstr "" #. Tag: para #, no-c-format msgid "" "HighTotal and " "HighFree — The total and free amount " "of memory, in kilobytes, that is not directly mapped into kernel space. The " "HighTotal value can vary based on the type " "of kernel used." msgstr "" #. Tag: para #, no-c-format msgid "" "LowTotal and " "LowFree — The total and free amount " "of memory, in kilobytes, that is directly mapped into kernel space. The " "LowTotal value can vary based on the type " "of kernel used." msgstr "" #. Tag: para #, no-c-format msgid "" "SwapTotal — The total amount of swap " "available, in kilobytes." msgstr "" #. Tag: para #, no-c-format msgid "" "SwapFree — The total amount of swap " "free, in kilobytes." msgstr "" #. Tag: para #, no-c-format msgid "" "Dirty — The total amount of memory, " "in kilobytes, waiting to be written back to the disk." msgstr "" #. Tag: para #, no-c-format msgid "" "Writeback — The total amount of " "memory, in kilobytes, actively being written back to the disk." msgstr "" #. Tag: para #, no-c-format msgid "" "Mapped — The total amount of memory, " "in kilobytes, which have been used to map devices, files, or libraries using" " the mmap command." msgstr "" #. Tag: para #, no-c-format msgid "" "Slab — The total amount of memory, in" " kilobytes, used by the kernel to cache data structures for its own use." msgstr "" #. Tag: para #, no-c-format msgid "" "Committed_AS — The total amount of " "memory, in kilobytes, estimated to complete the workload. This value " "represents the worst case scenario value, and also includes swap memory." msgstr "" #. Tag: para #, no-c-format msgid "" "PageTables — The total amount of " "memory, in kilobytes, dedicated to the lowest page table level." msgstr "" #. Tag: para #, no-c-format msgid "" "VMallocTotal — The total amount of " "memory, in kilobytes, of total allocated virtual address space." msgstr "" #. Tag: para #, no-c-format msgid "" "VMallocUsed — The total amount of " "memory, in kilobytes, of used virtual address space." msgstr "" #. Tag: para #, no-c-format msgid "" "VMallocChunk — The largest contiguous" " block of memory, in kilobytes, of available virtual address space." msgstr "" #. Tag: para #, no-c-format msgid "" "HugePages_Total — The total number of" " hugepages for the system. The number is derived by dividing " "Hugepagesize by the megabytes set aside for" " hugepages specified in /proc/sys/vm/hugetlb_pool. " "This statistic only appears on the x86, Itanium, and AMD64 " "architectures." msgstr "" #. Tag: para #, no-c-format msgid "" "HugePages_Free — The total number of " "hugepages available for the system. This statistic only appears on" " the x86, Itanium, and AMD64 architectures." msgstr "" #. Tag: para #, no-c-format msgid "" "Hugepagesize — The size for each " "hugepages unit in kilobytes. By default, the value is 4096 KB on " "uniprocessor kernels for 32 bit architectures. For SMP, hugemem kernels, and" " AMD64, the default is 2048 KB. For Itanium architectures, the default is " "262144 KB. This statistic only appears on the x86, Itanium, and " "AMD64 architectures." msgstr "" #. Tag: title #, no-c-format msgid "/proc/misc" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/misc " msgstr "" #. Tag: para #, no-c-format msgid "" "This file lists miscellaneous drivers registered on the miscellaneous major " "device, which is device number 10:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "63 device-mapper 175 agpgart 135 rtc 134 apm_bios\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first column is the minor number of each device, while the second column" " shows the driver in use." msgstr "" #. Tag: title #, no-c-format msgid "/proc/modules" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/modules " msgstr "" #. Tag: para #, no-c-format msgid "" "This file displays a list of all modules loaded into the kernel. Its " "contents vary based on the configuration and use of your system, but it " "should be organized in a similar manner to this sample " "/proc/modules file output:" msgstr "" #. Tag: para #, no-c-format msgid "" "This example has been reformatted into a readable format. Most of this " "information can also be viewed via the /sbin/lsmod " "command." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "nfs 170109 0 - Live 0x129b0000\n" "lockd 51593 1 nfs, Live 0x128b0000\n" "nls_utf8 1729 0 - Live 0x12830000\n" "vfat 12097 0 - Live 0x12823000\n" "fat 38881 1 vfat, Live 0x1287b000\n" "autofs4 20293 2 - Live 0x1284f000\n" "sunrpc 140453 3 nfs,lockd, Live 0x12954000\n" "3c59x 33257 0 - Live 0x12871000\n" "uhci_hcd 28377 0 - Live 0x12869000\n" "md5 3777 1 - Live 0x1282c000\n" "ipv6 211845 16 - Live 0x128de000\n" "ext3 92585 2 - Live 0x12886000\n" "jbd 65625 1 ext3, Live 0x12857000\n" "dm_mod 46677 3 - Live 0x12833000\n" msgstr "" #. Tag: para #, no-c-format msgid "The first column contains the name of the module." msgstr "" #. Tag: para #, no-c-format msgid "The second column refers to the memory size of the module, in bytes." msgstr "" #. Tag: para #, no-c-format msgid "" "The third column lists how many instances of the module are currently " "loaded. A value of zero represents an unloaded module." msgstr "" #. Tag: para #, no-c-format msgid "" "The fourth column states if the module depends upon another module to be " "present in order to function, and lists those other modules." msgstr "" #. Tag: para #, no-c-format msgid "" "The fifth column lists what load state the module is in: " "Live, Loading, or " "Unloading are the only possible values." msgstr "" #. Tag: para #, no-c-format msgid "" "The sixth column lists the current kernel memory offset for the loaded " "module. This information can be useful for debugging purposes, or for " "profiling tools such as oprofile." msgstr "" #. Tag: title #, no-c-format msgid "/proc/mounts" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/mounts " msgstr "" #. Tag: para #, no-c-format msgid "This file provides a list of all mounts in use by the system:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "rootfs / rootfs rw 0 0\n" "/proc /proc proc rw,nodiratime 0 0 none\n" "/dev ramfs rw 0 0\n" "/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0\n" "none /dev ramfs rw 0 0\n" "/proc /proc proc rw,nodiratime 0 0\n" "/sys /sys sysfs rw 0 0\n" "none /dev/pts devpts rw 0 0\n" "usbdevfs /proc/bus/usb usbdevfs rw 0 0\n" "/dev/hda1 /boot ext3 rw 0 0\n" "none /dev/shm tmpfs rw 0 0\n" "none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0\n" "sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The output found here is similar to the contents of " "/etc/mtab, except that " "/proc/mounts is more up-to-date." msgstr "" #. Tag: para #, no-c-format msgid "" "The first column specifies the device that is mounted, the second column " "reveals the mount point, and the third column tells the file system type, " "and the fourth column tells you if it is mounted read-only " "(ro) or read-write " "(rw). The fifth and sixth columns are dummy" " values designed to match the format used in /etc/mtab." msgstr "" #. Tag: title #, no-c-format msgid "/proc/mtrr" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/mtrr " msgstr "" #. Tag: para #, no-c-format msgid "" "This file refers to the current Memory Type Range Registers (MTRRs) in use " "with the system. If the system architecture supports MTRRs, then the " "/proc/mtrr file may look similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1\n" "reg01: base=0xe8000000 (3712MB), size= 32MB: write-combining, count=1\n" msgstr "" #. Tag: para #, no-c-format msgid "" "MTRRs are used with the Intel P6 family of processors (Pentium II and " "higher) and control processor access to memory ranges. When using a video " "card on a PCI or AGP bus, a properly configured " "/proc/mtrr file can increase performance more than " "150%." msgstr "" #. Tag: para #, no-c-format msgid "" "Most of the time, this value is properly configured by default. More " "information on manually configuring this file can be found locally at the " "following location:" msgstr "" #. Tag: screen #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-<kernel_version>/Documentation/<arch>/mtrr.txt" msgstr "" #. Tag: title #, no-c-format msgid "/proc/partitions" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/partitions " msgstr "" #. Tag: para #, no-c-format msgid "" "This file contains partition block allocation information. A sampling of " "this file from a basic system looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "major minor #blocks name\n" " 3 0 19531250 hda\n" " 3 1 104391 hda1\n" " 3 2 19422585 hda2\n" "253 0 22708224 dm-0\n" "253 1 524288 dm-1\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Most of the information here is of little importance to the user, except for" " the following columns:" msgstr "" #. Tag: para #, no-c-format msgid "" "major — The major number of the " "device with this partition. The major number in the " "/proc/partitions, (3)," " corresponds with the block device ide0, in" " /proc/devices." msgstr "" #. Tag: para #, no-c-format msgid "" "minor — The minor number of the " "device with this partition. This serves to separate the partitions into " "different physical devices and relates to the number at the end of the name " "of the partition." msgstr "" #. Tag: para #, no-c-format msgid "" "#blocks — Lists the number of " "physical disk blocks contained in a particular partition." msgstr "" #. Tag: para #, no-c-format msgid "" "name — The name of the partition." msgstr "" #. Tag: title #, no-c-format msgid "/proc/slabinfo" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/slabinfo " msgstr "" #. Tag: indexterm #, no-c-format msgid "" "slab pools /proc/slabinfo " "" msgstr "" #. Tag: para #, no-c-format msgid "" "This file gives full information about memory usage on the " "slab level. Linux kernels greater than version 2.2 " "use slab pools to manage memory above the page level." " Commonly used objects have their own slab pools." msgstr "" #. Tag: para #, no-c-format msgid "" "Instead of parsing the highly verbose /proc/slabinfo " "file manually, the /usr/bin/slabtop program displays " "kernel slab cache information in real time. This program allows for custom " "configurations, including column sorting and screen refreshing." msgstr "" #. Tag: para #, no-c-format msgid "" "A sample screen shot of /usr/bin/slabtop usually looks " "like the following example:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Active / Total Objects (% used) : 133629 / 147300 (90.7%)\n" "Active / Total Slabs (% used) : 11492 / 11493 (100.0%)\n" "Active / Total Caches (% used) : 77 / 121 (63.6%)\n" "Active / Total Size (% used) : 41739.83K / 44081.89K (94.7%)\n" "Minimum / Average / Maximum Object : 0.01K / 0.30K / 128.00K\n" "OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME\n" "44814 43159 96% 0.62K 7469 6 29876K ext3_inode_cache\n" "36900 34614 93% 0.05K 492 75 1968K buffer_head\n" "35213 33124 94% 0.16K 1531 23 6124K dentry_cache\n" "7364 6463 87% 0.27K 526 14 2104K radix_tree_node\n" "2585 1781 68% 0.08K 55 47 220K vm_area_struct\n" "2263 2116 93% 0.12K 73 31 292K size-128\n" "1904 1125 59% 0.03K 16 119 64K size-32\n" "1666 768 46% 0.03K 14 119 56K anon_vma\n" "1512 1482 98% 0.44K 168 9 672K inode_cache\n" "1464 1040 71% 0.06K 24 61 96K size-64\n" "1320 820 62% 0.19K 66 20 264K filp\n" "678 587 86% 0.02K 3 226 12K dm_io\n" "678 587 86% 0.02K 3 226 12K dm_tio\n" "576 574 99% 0.47K 72 8 288K proc_inode_cache\n" "528 514 97% 0.50K 66 8 264K size-512\n" "492 372 75% 0.09K 12 41 48K bio\n" "465 314 67% 0.25K 31 15 124K size-256\n" "452 331 73% 0.02K 2 226 8K biovec-1\n" "420 420 100% 0.19K 21 20 84K skbuff_head_cache\n" "305 256 83% 0.06K 5 61 20K biovec-4\n" "290 4 1% 0.01K 1 290 4K revoke_table\n" "264 264 100% 4.00K 264 1 1056K size-4096\n" "260 256 98% 0.19K 13 20 52K biovec-16\n" "260 256 98% 0.75K 52 5 208K biovec-64\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Some of the more commonly used statistics in " "/proc/slabinfo that are included into " "/usr/bin/slabtop include:" msgstr "" #. Tag: para #, no-c-format msgid "" "OBJS — The total number of objects " "(memory blocks), including those in use (allocated), and some spares not in " "use." msgstr "" #. Tag: para #, no-c-format msgid "" "ACTIVE — The number of objects " "(memory blocks) that are in use (allocated)." msgstr "" #. Tag: para #, no-c-format msgid "" "USE — Percentage of total objects " "that are active. ((ACTIVE/OBJS)(100))" msgstr "" #. Tag: para #, no-c-format msgid "" "OBJ SIZE — The size of the objects." msgstr "" #. Tag: para #, no-c-format msgid "" "SLABS — The total number of slabs." msgstr "" #. Tag: para #, no-c-format msgid "" "OBJ/SLAB — The number of objects that" " fit into a slab." msgstr "" #. Tag: para #, no-c-format msgid "" "CACHE SIZE — The cache size of the " "slab." msgstr "" #. Tag: para #, no-c-format msgid "NAME — The name of the slab." msgstr "" #. Tag: para #, no-c-format msgid "" "For more information on the /usr/bin/slabtop program, " "refer to the slabtop man page." msgstr "" #. Tag: title #, no-c-format msgid "/proc/stat" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/stat " msgstr "" #. Tag: indexterm #, no-c-format msgid "epoch definition of" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "epoch /proc/stat " "" msgstr "" #. Tag: para #, no-c-format msgid "" "This file keeps track of a variety of different statistics about the system " "since it was last restarted. The contents of " "/proc/stat, which can be quite long, usually begins " "like the following example:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "cpu 259246 7001 60190 34250993 137517 772 0\n" "cpu0 259246 7001 60190 34250993 137517 772 0\n" "intr 354133732 347209999 2272 0 4 4 0 0 3 1 1249247 0 0 80143 0 422626 5169433\n" "ctxt 12547729\n" "btime 1093631447\n" "processes 130523\n" "procs_running 1\n" "procs_blocked 0\n" "preempt 5651840\n" "cpu 209841 1554 21720 118519346 72939 154 27168\n" "cpu0 42536 798 4841 14790880 14778 124 3117\n" "cpu1 24184 569 3875 14794524 30209 29 3130\n" "cpu2 28616 11 2182 14818198 4020 1 3493\n" "cpu3 35350 6 2942 14811519 3045 0 3659\n" "cpu4 18209 135 2263 14820076 12465 0 3373\n" "cpu5 20795 35 1866 14825701 4508 0 3615\n" "cpu6 21607 0 2201 14827053 2325 0 3334\n" "cpu7 18544 0 1550 14831395 1589 0 3447\n" "intr 15239682 14857833 6 0 6 6 0 5 0 1 0 0 0 29 0 2 0 0 0 0 0 0 0 94982 0 286812\n" "ctxt 4209609\n" "btime 1078711415\n" "processes 21905\n" "procs_running 1\n" "procs_blocked 0\n" msgstr "" #. Tag: para #, no-c-format msgid "Some of the more commonly used statistics include:" msgstr "" #. Tag: para #, no-c-format msgid "" "cpu — Measures the number of " "jiffies (1/100 of a second for x86 systems) that the " "system has been in user mode, user mode with low priority (nice), system " "mode, idle task, I/O wait, IRQ (hardirq), and softirq respectively. The IRQ " "(hardirq) is the direct response to a hardware event. The IRQ takes minimal " "work for queuing the \"heavy\" work up for the softirq to execute. The " "softirq runs at a lower priority than the IRQ and therefore may be " "interrupted more frequently. The total for all CPUs is given at the top, " "while each individual CPU is listed below with its own statistics. The " "following example is a 4-way Intel Pentium Xeon configuration with multi-" "threading enabled, therefore showing four physical processors and four " "virtual processors totaling eight processors." msgstr "" #. Tag: para #, no-c-format msgid "" "page — The number of memory pages the" " system has written in and out to disk." msgstr "" #. Tag: para #, no-c-format msgid "" "swap — The number of swap pages the " "system has brought in and out." msgstr "" #. Tag: para #, no-c-format msgid "" "intr — The number of interrupts the " "system has experienced." msgstr "" #. Tag: para #, no-c-format msgid "" "btime — The boot time, measured in " "the number of seconds since January 1, 1970, otherwise known as the " "epoch." msgstr "" #. Tag: title #, no-c-format msgid "/proc/swaps" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/swaps " msgstr "" #. Tag: para #, no-c-format msgid "" "This file measures swap space and its utilization. For a system with only " "one swap partition, the output of /proc/swaps may look " "similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Filename Type Size Used Priority\n" "/dev/mapper/VolGroup00-LogVol01 partition 524280 0 -1\n" msgstr "" #. Tag: para #, no-c-format msgid "" "While some of this information can be found in other files in the " "/proc/ directory, /proc/swap " "provides a snapshot of every swap file name, the type of swap space, the " "total size, and the amount of space in use (in kilobytes). The priority " "column is useful when multiple swap files are in use. The lower the " "priority, the more likely the swap file is to be used." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sysrq-trigger" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sysrq-trigger " msgstr "" #. Tag: para #, no-c-format msgid "" "Using the echo command to write to this file, a remote " "root user can execute most System Request Key commands remotely as if at the" " local terminal. To echo values to this file, the " "/proc/sys/kernel/sysrq must be set to a value other " "than 0. For more information about the " "System Request Key, refer to ." msgstr "" #. Tag: para #, no-c-format msgid "" "Although it is possible to write to this file, it cannot be read, even by " "the root user." msgstr "" #. Tag: title #, no-c-format msgid "/proc/uptime" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/uptime " msgstr "" #. Tag: para #, no-c-format msgid "" "This file contains information detailing how long the system has been on " "since its last restart. The output of /proc/uptime is " "quite minimal:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "350735.47 234388.90\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first number is the total number of seconds the system has been up. The " "second number is how much of that time the machine has spent idle, in " "seconds." msgstr "" #. Tag: title #, no-c-format msgid "/proc/version" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/version " msgstr "" #. Tag: para #, no-c-format msgid "" "This file specifies the version of the Linux kernel, the version of " "gcc used to compile the kernel, and the time of kernel " "compilation. It also contains the kernel compiler's user name (in " "parentheses)." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Linux version 2.6.8-1.523 (user@foo.redhat.com) (gcc version 3.4.1 20040714 \\ (Red Hat Enterprise Linux 3.4.1-7)) #1 Mon Aug 16 13:27:03 EDT 2004\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This information is used for a variety of purposes, including the version " "data presented when a user logs in." msgstr "" #. Tag: title #, no-c-format msgid "Directories within /proc/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "subdirectories within" msgstr "" #. Tag: para #, no-c-format msgid "" "Common groups of information concerning the kernel are grouped into " "directories and subdirectories within the /proc/ " "directory." msgstr "" #. Tag: title #, no-c-format msgid "Process Directories" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system process" " directories" msgstr "" #. Tag: para #, no-c-format msgid "" "Every /proc/ directory contains a number of directories" " with numerical names. A listing of them may be similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "dr-xr-xr-x 3 root root 0 Feb 13 01:28 1\n" "dr-xr-xr-x 3 root root 0 Feb 13 01:28 1010\n" "dr-xr-xr-x 3 xfs xfs 0 Feb 13 01:28 1087\n" "dr-xr-xr-x 3 daemon daemon 0 Feb 13 01:28 1123\n" "dr-xr-xr-x 3 root root 0 Feb 13 01:28 11307\n" "dr-xr-xr-x 3 apache apache 0 Feb 13 01:28 13660\n" "dr-xr-xr-x 3 rpc rpc 0 Feb 13 01:28 637\n" "dr-xr-xr-x 3 rpcuser rpcuser 0 Feb 13 01:28 666\n" msgstr "" #. Tag: para #, no-c-format msgid "" "These directories are called process directories, as " "they are named after a program's process ID and contain information specific" " to that process. The owner and group of each process directory is set to " "the user running the process. When the process is terminated, its " "/proc/ process directory vanishes." msgstr "" #. Tag: para #, no-c-format msgid "Each process directory contains the following files:" msgstr "" #. Tag: para #, no-c-format msgid "" "cmdline — Contains the command issued" " when starting the process." msgstr "" #. Tag: para #, no-c-format msgid "" "cwd — A symbolic link to the current " "working directory for the process." msgstr "" #. Tag: para #, no-c-format msgid "" "environ — A list of the environment " "variables for the process. The environment variable is given in all upper-" "case characters, and the value is in lower-case characters." msgstr "" #. Tag: para #, no-c-format msgid "" "exe — A symbolic link to the " "executable of this process." msgstr "" #. Tag: para #, no-c-format msgid "" "fd — A directory containing all of " "the file descriptors for a particular process. These are given in numbered " "links:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "total 0\n" "lrwx------ 1 root root 64 May 8 11:31 0 -> /dev/null\n" "lrwx------ 1 root root 64 May 8 11:31 1 -> /dev/null\n" "lrwx------ 1 root root 64 May 8 11:31 2 -> /dev/null\n" "lrwx------ 1 root root 64 May 8 11:31 3 -> /dev/ptmx\n" "lrwx------ 1 root root 64 May 8 11:31 4 -> socket:[7774817]\n" "lrwx------ 1 root root 64 May 8 11:31 5 -> /dev/ptmx\n" "lrwx------ 1 root root 64 May 8 11:31 6 -> socket:[7774829]\n" "lrwx------ 1 root root 64 May 8 11:31 7 -> /dev/ptmx\n" msgstr "" #. Tag: para #, no-c-format msgid "" "maps — A list of memory maps to the " "various executables and library files associated with this process. This " "file can be rather long, depending upon the complexity of the process, but " "sample output from the sshd process begins like the " "following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "08048000-08086000 r-xp 00000000 03:03 391479 /usr/sbin/sshd\n" "08086000-08088000 rw-p 0003e000 03:03 391479\t/usr/sbin/sshd\n" "08088000-08095000 rwxp 00000000 00:00 0\n" "40000000-40013000 r-xp 0000000 03:03 293205\t/lib/ld-2.2.5.so\n" "40013000-40014000 rw-p 00013000 03:03 293205\t/lib/ld-2.2.5.so\n" "40031000-40038000 r-xp 00000000 03:03 293282\t/lib/libpam.so.0.75\n" "40038000-40039000 rw-p 00006000 03:03 293282\t/lib/libpam.so.0.75\n" "40039000-4003a000 rw-p 00000000 00:00 0\n" "4003a000-4003c000 r-xp 00000000 03:03 293218\t/lib/libdl-2.2.5.so\n" "4003c000-4003d000 rw-p 00001000 03:03 293218\t/lib/libdl-2.2.5.so\n" msgstr "" #. Tag: para #, no-c-format msgid "" "mem — The memory held by the process." " This file cannot be read by the user." msgstr "" #. Tag: para #, no-c-format msgid "" "root — A link to the root directory " "of the process." msgstr "" #. Tag: para #, no-c-format msgid "" "stat — The status of the process." msgstr "" #. Tag: para #, no-c-format msgid "" "statm — The status of the memory in " "use by the process. Below is a sample /proc/statm file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "263 210 210 5 0 205 0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The seven columns relate to different memory statistics for the process. " "From left to right, they report the following aspects of the memory used:" msgstr "" #. Tag: para #, no-c-format msgid "Total program size, in kilobytes." msgstr "" #. Tag: para #, no-c-format msgid "Size of memory portions, in kilobytes." msgstr "" #. Tag: para #, no-c-format msgid "Number of pages that are shared." msgstr "" #. Tag: para #, no-c-format msgid "Number of pages that are code." msgstr "" #. Tag: para #, no-c-format msgid "Number of pages of data/stack." msgstr "" #. Tag: para #, no-c-format msgid "Number of library pages." msgstr "" #. Tag: para #, no-c-format msgid "Number of dirty pages." msgstr "" #. Tag: para #, no-c-format msgid "" "status — The status of the process in" " a more readable form than stat or " "statm. Sample output for sshd looks " "similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Name:\tsshd\n" "State:\tS (sleeping)\n" "Tgid:\t797\n" "Pid:\t797\n" "PPid:\t1\n" "TracerPid:\t0\n" "Uid:\t0\t0\t0\t0\n" "Gid:\t0\t0\t0\t0\n" "FDSize:\t32\n" "Groups:\n" "VmSize:\t 3072 kB\n" "VmLck:\t 0 kB\n" "VmRSS:\t 840 kB\n" "VmData:\t 104 kB\n" "VmStk:\t 12 kB\n" "VmExe:\t 300 kB\n" "VmLib:\t 2528 kB\n" "SigPnd:\t0000000000000000\n" "SigBlk:\t0000000000000000\n" "SigIgn:\t8000000000001000\n" "SigCgt:\t0000000000014005\n" "CapInh:\t0000000000000000\n" "CapPrm:\t00000000fffffeff\n" "CapEff:\t00000000fffffeff\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The information in this output includes the process name and ID, the state " "(such as S (sleeping) or R " "(running)), user/group ID running the process, and detailed" " data regarding memory usage." msgstr "" #. Tag: title #, no-c-format msgid "/proc/self/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/self/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/self/ directory is a link to the currently " "running process. This allows a process to look at itself without having to " "know its process ID." msgstr "" #. Tag: para #, no-c-format msgid "" "Within a shell environment, a listing of the " "/proc/self/ directory produces the same contents as " "listing the process directory for that process." msgstr "" #. Tag: title #, no-c-format msgid "/proc/bus/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/bus/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains information specific to the various buses available " "on the system. For example, on a standard system containing PCI and USB " "buses, current data on each of these buses is available within a " "subdirectory within /proc/bus/ by the same name, such " "as /proc/bus/pci/." msgstr "" #. Tag: para #, no-c-format msgid "" "The subdirectories and files available within " "/proc/bus/ vary depending on the devices connected to " "the system. However, each bus type has at least one directory. Within these " "bus directories are normally at least one subdirectory with a numerical " "name, such as 001, which contain binary files." msgstr "" #. Tag: para #, no-c-format msgid "" "For example, the /proc/bus/usb/ subdirectory contains " "files that track the various devices on any USB buses, as well as the " "drivers required for them. The following is a sample listing of a " "/proc/bus/usb/ directory:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "total 0 dr-xr-xr-x 1 root root 0 May 3 16:25 001\n" "-r--r--r-- 1 root root 0 May 3 16:25 devices\n" "-r--r--r-- 1 root root 0 May 3 16:25 drivers\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/bus/usb/001/ directory contains all devices " "on the first USB bus and the devices file identifies " "the USB root hub on the motherboard." msgstr "" #. Tag: para #, no-c-format msgid "" "The following is a example of a /proc/bus/usb/devices " "file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2\n" "B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0\n" "D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1\n" "P: Vendor=0000 ProdID=0000 Rev= 0.00\n" "S: Product=USB UHCI Root Hub\n" "S: SerialNumber=d400\n" "C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA\n" "I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub\n" "E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/bus/pci" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/bus/pci viewing using " "lspci " msgstr "" #. Tag: indexterm #, no-c-format msgid " lspci " msgstr "" #. Tag: para #, no-c-format msgid "" "Later versions of the 2.6 Linux kernel have obsoleted the " "/proc/pci directory in favor of the " "/proc/bus/pci directory. Although you can get a list of" " all PCI devices present on the system using the command cat " "/proc/bus/pci/devices, the output is difficult to read and " "interpret." msgstr "" #. Tag: para #, no-c-format msgid "For a human-readable list of PCI devices, run the following command:" msgstr "" #. Tag: screen #, no-c-format msgid "" "~]# /sbin/lspci -vb\n" "00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller\n" " Subsystem: Hewlett-Packard Company Device 1308\n" " Flags: bus master, fast devsel, latency 0\n" " Capabilities: [e0] Vendor Specific Information <?>\n" " Kernel driver in use: x38_edac\n" " Kernel modules: x38_edac\n" "\n" "00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge (prog-if 00 [Normal decode])\n" " Flags: bus master, fast devsel, latency 0\n" " Bus: primary=00, secondary=01, subordinate=01, sec-latency=0\n" " I/O behind bridge: 00001000-00001fff\n" " Memory behind bridge: f0000000-f2ffffff\n" " Capabilities: [88] Subsystem: Hewlett-Packard Company Device 1308\n" " Capabilities: [80] Power Management version 3\n" " Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-\n" " Capabilities: [a0] Express Root Port (Slot+), MSI 00\n" " Capabilities: [100] Virtual Channel <?>\n" " Capabilities: [140] Root Complex Link <?>\n" " Kernel driver in use: pcieport\n" " Kernel modules: shpchp\n" "\n" "00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])\n" " Subsystem: Hewlett-Packard Company Device 1308\n" " Flags: bus master, medium devsel, latency 0, IRQ 5\n" " I/O ports at 2100\n" " Capabilities: [50] PCI Advanced Features\n" " Kernel driver in use: uhci_hcd\n" msgstr "" #. Tag: lineannotation #, no-c-format msgid "[output truncated]" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "The output is a sorted list of all IRQ numbers and addresses as seen by the " "cards on the PCI bus instead of as seen by the kernel. Beyond providing the " "name and version of the device, this list also gives detailed IRQ " "information so an administrator can quickly look for conflicts." msgstr "" #. Tag: title #, no-c-format msgid "/proc/driver/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/driver/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains information for specific drivers in use by the " "kernel." msgstr "" #. Tag: para #, no-c-format msgid "" "A common file found here is rtc which provides output " "from the driver for the system's Real Time Clock " "(RTC), the device that keeps the time while the system is " "switched off. Sample output from /proc/driver/rtc looks" " like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "rtc_time : 16:21:00\n" "rtc_date : 2004-08-31\n" "rtc_epoch : 1900\n" "alarm : 21:16:27\n" "DST_enable : no\n" "BCD : yes\n" "24hr : yes\n" "square_wave : no\n" "alarm_IRQ : no\n" "update_IRQ : no\n" "periodic_IRQ : no\n" "periodic_freq : 1024\n" "batt_status : okay\n" msgstr "" #. Tag: para #, no-c-format msgid "" "For more information about the RTC, refer to the following installed " "documentation:" msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-<kernel_version>/Documentation/rtc.txt." msgstr "" #. Tag: title #, no-c-format msgid "/proc/fs" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/fs/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory shows which file systems are exported. If running an NFS " "server, typing cat /proc/fs/nfsd/exports displays the " "file systems being shared and the permissions granted for those file " "systems. For more on file system sharing with NFS, refer to the Network File System (NFS) chapter of the " "Storage Administration Guide." msgstr "" #. Tag: title #, no-c-format msgid "/proc/irq/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/irq/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory is used to set IRQ to CPU affinity, which allows the system " "to connect a particular IRQ to only one CPU. Alternatively, it can exclude a" " CPU from handling any IRQs." msgstr "" #. Tag: para #, no-c-format msgid "" "Each IRQ has its own directory, allowing for the individual configuration of" " each IRQ. The /proc/irq/prof_cpu_mask file is a " "bitmask that contains the default values for the " "smp_affinity file in the IRQ directory. The values in " "smp_affinity specify which CPUs handle that particular " "IRQ." msgstr "" #. Tag: para #, no-c-format msgid "" "For more information about the /proc/irq/ directory, " "refer to the following installed documentation:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "/usr/share/doc/kernel-doc-kernel_version/Documentation/filesystems/proc.txt\n" msgstr "" #. Tag: title #, no-c-format msgid "/proc/net/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/net/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory provides a comprehensive look at various networking " "parameters and statistics. Each directory and virtual file within this " "directory describes aspects of the system's network configuration. Below is " "a partial list of the /proc/net/ directory:" msgstr "" #. Tag: para #, no-c-format msgid "" "arp — Lists the kernel's ARP table. This file is " "particularly useful for connecting a hardware address to an IP address on a " "system." msgstr "" #. Tag: para #, no-c-format msgid "" "atm/ directory — The files within this directory " "contain Asynchronous Transfer Mode (ATM) settings and" " statistics. This directory is primarily used with ATM networking and ADSL " "cards." msgstr "" #. Tag: para #, no-c-format msgid "" "dev — Lists the various network devices " "configured on the system, complete with transmit and receive statistics. " "This file displays the number of bytes each interface has sent and received," " the number of packets inbound and outbound, the number of errors seen, the " "number of packets dropped, and more." msgstr "" #. Tag: para #, no-c-format msgid "" "dev_mcast — Lists Layer2 multicast groups on " "which each device is listening." msgstr "" #. Tag: para #, no-c-format msgid "" "igmp — Lists the IP multicast addresses which " "this system joined." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_conntrack — Lists tracked network connections " "for machines that are forwarding IP connections." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_tables_names — Lists the types of " "iptables in use. This file is only present if " "iptables is active on the system and contains one or more" " of the following values: filter, " "mangle, or nat." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_mr_cache — Lists the multicast routing cache." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_mr_vif — Lists multicast virtual interfaces." msgstr "" #. Tag: para #, no-c-format msgid "" "netstat — Contains a broad yet detailed " "collection of networking statistics, including TCP timeouts, SYN cookies " "sent and received, and much more." msgstr "" #. Tag: para #, no-c-format msgid "" "psched — Lists global packet scheduler " "parameters." msgstr "" #. Tag: para #, no-c-format msgid "raw — Lists raw device statistics." msgstr "" #. Tag: para #, no-c-format msgid "route — Lists the kernel's routing table." msgstr "" #. Tag: para #, no-c-format msgid "" "rt_cache — Contains the current routing cache." msgstr "" #. Tag: para #, no-c-format msgid "" "snmp — List of Simple Network Management Protocol" " (SNMP) data for various networking protocols in use." msgstr "" #. Tag: para #, no-c-format msgid "sockstat — Provides socket statistics." msgstr "" #. Tag: para #, no-c-format msgid "" "tcp — Contains detailed TCP socket information." msgstr "" #. Tag: para #, no-c-format msgid "" "tr_rif — Lists the token ring RIF routing table." msgstr "" #. Tag: para #, no-c-format msgid "" "udp — Contains detailed UDP socket information." msgstr "" #. Tag: para #, no-c-format msgid "" "unix — Lists UNIX domain sockets currently in " "use." msgstr "" #. Tag: para #, no-c-format msgid "wireless — Lists wireless interface data." msgstr "" #. Tag: title #, no-c-format msgid "/proc/scsi/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/scsi/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "The primary file in this directory is /proc/scsi/scsi, " "which contains a list of every recognized SCSI device. From this listing, " "the type of device, as well as the model name, vendor, SCSI channel and ID " "data is available." msgstr "" #. Tag: para #, no-c-format msgid "" "For example, if a system contains a SCSI CD-ROM, a tape drive, a hard drive," " and a RAID controller, this file looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Attached devices:\n" "Host: scsi1\n" "Channel: 00\n" "Id: 05\n" "Lun: 00\n" "Vendor: NEC\n" "Model: CD-ROM DRIVE:466\n" "Rev: 1.06\n" "Type: CD-ROM\n" "ANSI SCSI revision: 02\n" "Host: scsi1\n" "Channel: 00\n" "Id: 06\n" "Lun: 00\n" "Vendor: ARCHIVE\n" "Model: Python 04106-XXX\n" "Rev: 7350\n" "Type: Sequential-Access\n" "ANSI SCSI revision: 02\n" "Host: scsi2\n" "Channel: 00\n" "Id: 06\n" "Lun: 00\n" "Vendor: DELL\n" "Model: 1x6 U2W SCSI BP\n" "Rev: 5.35\n" "Type: Processor\n" "ANSI SCSI revision: 02\n" "Host: scsi2\n" "Channel: 02\n" "Id: 00\n" "Lun: 00\n" "Vendor: MegaRAID\n" "Model: LD0 RAID5 34556R\n" "Rev: 1.01\n" "Type: Direct-Access\n" "ANSI SCSI revision: 02\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Each SCSI driver used by the system has its own directory within " "/proc/scsi/, which contains files specific to each SCSI" " controller using that driver. From the previous example, " "aic7xxx/ and megaraid/ directories" " are present, since two drivers are in use. The files in each of the " "directories typically contain an I/O address range, IRQ information, and " "statistics for the SCSI controller using that driver. Each controller can " "report a different type and amount of information. The Adaptec AIC-7880 " "Ultra SCSI host adapter's file in this example system produces the following" " output:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "Adaptec AIC7xxx driver version: 5.1.20/3.2.4\n" "Compile Options:\n" "TCQ Enabled By Default : Disabled\n" "AIC7XXX_PROC_STATS : Enabled\n" "AIC7XXX_RESET_DELAY : 5\n" "Adapter Configuration:\n" "SCSI Adapter: Adaptec AIC-7880 Ultra SCSI host adapter\n" "Ultra Narrow Controller PCI MMAPed\n" "I/O Base: 0xfcffe000\n" "Adapter SEEPROM Config: SEEPROM found and used.\n" "Adaptec SCSI BIOS: Enabled\n" "IRQ: 30\n" "SCBs: Active 0, Max Active 1, Allocated 15, HW 16, Page 255\n" "Interrupts: 33726\n" "BIOS Control Word: 0x18a6\n" "Adapter Control Word: 0x1c5f\n" "Extended Translation: Enabled\n" "Disconnect Enable Flags: 0x00ff\n" "Ultra Enable Flags: 0x0020\n" "Tag Queue Enable Flags: 0x0000\n" "Ordered Queue Tag Flags: 0x0000\n" "Default Tag Queue Depth: 8\n" "Tagged Queue By Device array for aic7xxx\n" "host instance 1: {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}\n" "Actual queue depth per device for aic7xxx host instance 1: {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}\n" "Statistics:\n" "\n" "(scsi1:0:5:0) Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15\n" "Transinfo settings: current(12/15/0/0), goal(12/15/0/0), user(12/15/0/0)\n" "Total transfers 0 (0 reads and 0 writes)\n" "\t\t< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+\n" "Reads: 0 0 0 0 0 0 0 0\n" "Writes: 0 0 0 0 0 0 0 0\n" "\n" "(scsi1:0:6:0) Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15\n" "Transinfo settings: current(25/15/0/0), goal(12/15/0/0), user(12/15/0/0)\n" "Total transfers 132 (0 reads and 132 writes)\n" "\t\t< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+\n" "Reads: 0 0 0 0 0 0 0 0\n" "Writes: 0 0 0 1 131 0 0 0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This output reveals the transfer speed to the SCSI devices connected to the " "controller based on channel ID, as well as detailed statistics concerning " "the amount and sizes of files read or written by that device. For example, " "this controller is communicating with the CD-ROM at 20 megabytes per second," " while the tape drive is only communicating at 10 megabytes per second." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory" msgstr "" #. Tag: indexterm #, no-c-format msgid "system request key enabling" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/kernel/sysrq system request key" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "System Request Key definition of" msgstr "" #. Tag: indexterm #, no-c-format msgid "SysRq system request key" msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/sys/ directory is different from others in " "/proc/ because it not only provides information about " "the system but also allows the system administrator to immediately enable " "and disable kernel features." msgstr "" #. Tag: para #, no-c-format msgid "" "Use caution when changing settings on a production system using the various " "files in the /proc/sys/ directory. Changing the wrong " "setting may render the kernel unstable, requiring a system reboot." msgstr "" #. Tag: para #, no-c-format msgid "" "For this reason, be sure the options are valid for that file before " "attempting to change any value in /proc/sys/." msgstr "" #. Tag: para #, no-c-format msgid "" "A good way to determine if a particular file can be configured, or if it is " "only designed to provide information, is to list it with the " " option at the shell prompt. If the file is writable, it " "may be used to configure the kernel. For example, a partial listing of " "/proc/sys/fs looks like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "-r--r--r-- 1 root root 0 May 10 16:14 dentry-state\n" "-rw-r--r-- 1 root root 0 May 10 16:14 dir-notify-enable\n" "-rw-r--r-- 1 root root 0 May 10 16:14 file-max\n" "-r--r--r-- 1 root root 0 May 10 16:14 file-nr\n" msgstr "" #. Tag: para #, no-c-format msgid "" "In this listing, the files dir-notify-enable and " "file-max can be written to and, therefore, can be used " "to configure the kernel. The other files only provide feedback on current " "settings." msgstr "" #. Tag: para #, no-c-format msgid "" "Changing a value within a /proc/sys/ file is done by " "echoing the new value into the file. For example, to enable the System " "Request Key on a running kernel, type the command:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "echo 1 > /proc/sys/kernel/sysrq\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This changes the value for sysrq from " "0 (off) to " "1 (on)." msgstr "" #. Tag: para #, no-c-format msgid "" "A few /proc/sys/ configuration files contain more than " "one value. To correctly send new values to them, place a space character " "between each value passed with the echo command, such as " "is done in this example:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "echo 4 2 45 > /proc/sys/kernel/acct\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Any configuration changes made using the echo command " "disappear when the system is restarted. To make configuration changes take " "effect after the system is rebooted, refer to ." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/sys/ directory contains several " "subdirectories controlling different aspects of a running kernel." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/dev/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/dev/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory provides parameters for particular devices on the system. " "Most systems have at least two directories, cdrom/ and " "raid/. Customized kernels can have other directories, " "such as parport/, which provides the ability to share " "one parallel port between multiple device drivers." msgstr "" #. Tag: para #, no-c-format msgid "" "The cdrom/ directory contains a file called " "info, which reveals a number of important CD-ROM " "parameters:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "CD-ROM information, Id: cdrom.c 3.20 2003/12/17\n" "drive name: hdc\n" "drive speed: 48\n" "drive # of slots: 1\n" "Can close tray: 1\n" "Can open tray: 1\n" "Can lock tray: 1\n" "Can change speed: 1\n" "Can select disk: 0\n" "Can read multisession: 1\n" "Can read MCN: 1\n" "Reports media changed: 1\n" "Can play audio: 1\n" "Can write CD-R: 0\n" "Can write CD-RW: 0\n" "Can read DVD: 0\n" "Can write DVD-R: 0\n" "Can write DVD-RAM: 0\n" "Can read MRW: 0\n" "Can write MRW: 0\n" "Can write RAM: 0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/fs/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/fs/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains an array of options and information concerning " "various aspects of the file system, including quota, file handle, inode, and" " dentry information." msgstr "" #. Tag: para #, no-c-format msgid "" "The binfmt_misc/ directory is used to provide kernel " "support for miscellaneous binary formats." msgstr "" #. Tag: para #, no-c-format msgid "The important files in /proc/sys/fs/ include:" msgstr "" #. Tag: para #, no-c-format msgid "" "dentry-state — Provides the status of the " "directory cache. The file looks similar to the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "57411\t52939\t45\t0\t0\t0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: para #, no-c-format msgid "" "file-nr — Lists the number of allocated file " "handles, used file handles, and the maximum number of file handles." msgstr "" #. Tag: para #, no-c-format msgid "" "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." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/kernel/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/kernel/ directory" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "System Request Key setting timing " "for" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " exec-shield " "enabling" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " exec-shield " "introducing" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/kernel/exec-shield " msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains a variety of different configuration files that " "directly affect the operation of the kernel. Some of the most important " "files include:" msgstr "" #. Tag: para #, no-c-format msgid "" "acct — Controls the suspension of process " "accounting based on the percentage of free space available on the file " "system containing the log. By default, the file looks like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "4\t2\t30\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The first value dictates the percentage of free space required for logging " "to resume, while the second value sets the threshold percentage of free " "space when logging is suspended. The third value sets the interval, in " "seconds, that the kernel polls the file system to see if logging should be " "suspended or resumed." msgstr "" #. Tag: para #, no-c-format msgid "" "ctrl-alt-del — Controls whether " "Ctrl Alt Delete" " gracefully restarts the computer using init " "(0) or forces an immediate reboot without " "syncing the dirty buffers to disk (1)." msgstr "" #. Tag: para #, no-c-format msgid "" "domainname — Configures the system domain name, " "such as example.com." msgstr "" #. Tag: para #, no-c-format msgid "" "exec-shield — Configures the Exec Shield feature " "of the kernel. Exec Shield provides protection against certain types of " "buffer overflow attacks." msgstr "" #. Tag: para #, no-c-format msgid "There are two possible values for this virtual file:" msgstr "" #. Tag: para #, no-c-format msgid "0 — Disables Exec Shield." msgstr "" #. Tag: para #, no-c-format msgid "" "1 — Enables Exec Shield. This is the default value." msgstr "" #. Tag: title #, no-c-format msgid "Important" msgstr "" #. Tag: para #, no-c-format msgid "" "If a system is running security-sensitive applications that were started " "while Exec Shield was disabled, these applications must be restarted when " "Exec Shield is enabled in order for Exec Shield to take effect." msgstr "" #. Tag: para #, no-c-format msgid "" "hostname — Configures the system hostname, such " "as www.example.com." msgstr "" #. Tag: para #, no-c-format msgid "" "hotplug — Configures the utility to be used when " "a configuration change is detected by the system. This is primarily used " "with USB and Cardbus PCI. The default value of " "/sbin/hotplug should not be changed unless " "testing a new program to fulfill this role." msgstr "" #. Tag: para #, no-c-format msgid "" "modprobe — Sets the location of the program used " "to load kernel modules. The default value is " "/sbin/modprobe which means " "kmod calls it to load the module when a kernel thread " "calls kmod." msgstr "" #. Tag: para #, no-c-format msgid "" "msgmax — Sets the maximum size of any message " "sent from one process to another and is set to " "8192 bytes by default. Be careful when " "raising this value, as queued messages between processes are stored in non-" "swappable kernel memory. Any increase in msgmax would " "increase RAM requirements for the system." msgstr "" #. Tag: para #, no-c-format msgid "" "msgmnb — Sets the maximum number of bytes in a " "single message queue. The default is 16384." msgstr "" #. Tag: para #, no-c-format msgid "" "msgmni — Sets the maximum number of message queue" " identifiers. The default is 4008." msgstr "" #. Tag: para #, no-c-format msgid "" "osrelease — Lists the Linux kernel release " "number. This file can only be altered by changing the kernel source and " "recompiling." msgstr "" #. Tag: para #, no-c-format msgid "" "ostype — Displays the type of operating system. " "By default, this file is set to Linux, and " "this value can only be changed by changing the kernel source and " "recompiling." msgstr "" #. Tag: para #, no-c-format msgid "" "overflowgid and overflowuid " "— Defines the fixed group ID and user ID, respectively, for use with " "system calls on architectures that only support 16-bit group and user IDs." msgstr "" #. Tag: para #, no-c-format msgid "" "panic — Defines the number of seconds the kernel " "postpones rebooting when the system experiences a kernel panic. By default, " "the value is set to 0, which disables " "automatic rebooting after a panic." msgstr "" #. Tag: para #, no-c-format msgid "" "printk — This file controls a variety of settings" " related to printing or logging error messages. Each error message reported " "by the kernel has a loglevel associated with it that " "defines the importance of the message. The loglevel values break down in " "this order:" msgstr "" #. Tag: para #, no-c-format msgid "" "0 — Kernel emergency. The system is " "unusable." msgstr "" #. Tag: para #, no-c-format msgid "" "1 — Kernel alert. Action must be " "taken immediately." msgstr "" #. Tag: para #, no-c-format msgid "" "2 — Condition of the kernel is " "considered critical." msgstr "" #. Tag: para #, no-c-format msgid "" "3 — General kernel error condition." msgstr "" #. Tag: para #, no-c-format msgid "" "4 — General kernel warning condition." msgstr "" #. Tag: para #, no-c-format msgid "" "5 — Kernel notice of a normal but " "significant condition." msgstr "" #. Tag: para #, no-c-format msgid "" "6 — Kernel informational message." msgstr "" #. Tag: para #, no-c-format msgid "" "7 — Kernel debug-level messages." msgstr "" #. Tag: para #, no-c-format msgid "Four values are found in the printk file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "6 4 1 7\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Each of these values defines a different rule for dealing with error " "messages. The first value, called the console " "loglevel, defines the lowest priority of messages printed to the" " console. (Note that, the lower the priority, the higher the loglevel " "number.) The second value sets the default loglevel for messages without an " "explicit loglevel attached to them. The third value sets the lowest possible" " loglevel configuration for the console loglevel. The last value sets the " "default value for the console loglevel." msgstr "" #. Tag: para #, no-c-format msgid "" "random/ directory — Lists a number of values " "related to generating random numbers for the kernel." msgstr "" #. Tag: para #, no-c-format msgid "" "sem — Configures semaphore" " settings within the kernel. A semaphore is a System V IPC object that is " "used to control utilization of a particular process." msgstr "" #. Tag: para #, no-c-format msgid "" "shmall — Sets the total amount of shared memory " "that can be used at one time on the system, in bytes. By default, this value" " is 2097152." msgstr "" #. Tag: para #, no-c-format msgid "" "shmmax — Sets the largest shared memory segment " "size allowed by the kernel, in bytes. By default, this value is " "33554432. However, the kernel supports much" " larger values than this." msgstr "" #. Tag: para #, no-c-format msgid "" "shmmni — Sets the maximum number of shared memory" " segments for the whole system, in bytes. By default, this value is " "4096" msgstr "" #. Tag: para #, no-c-format msgid "" "sysrq — Activates the System Request Key, if this" " value is set to anything other than zero " "(0), the default." msgstr "" #. Tag: para #, no-c-format msgid "" "The System Request Key allows immediate input to the kernel through simple " "key combinations. For example, the System Request Key can be used to " "immediately shut down or restart a system, sync all mounted file systems, or" " dump important information to the console. To initiate a System Request " "Key, type Alt SysRq " "system request code . " "Replace system request code with one of the " "following system request codes:" msgstr "" #. Tag: para #, no-c-format msgid "" "r — Disables raw mode for the keyboard and sets it " "to XLATE (a limited keyboard mode which does not recognize modifiers such as" " Alt, Ctrl, or Shift for " "all keys)." msgstr "" #. Tag: para #, no-c-format msgid "" "k — Kills all processes active in a virtual " "console. Also called Secure Access Key " "(SAK), it is often used to verify that the login " "prompt is spawned from init and not a trojan copy " "designed to capture usernames and passwords." msgstr "" #. Tag: para #, no-c-format msgid "" "b — Reboots the kernel without first unmounting " "file systems or syncing disks attached to the system." msgstr "" #. Tag: para #, no-c-format msgid "" "c — Crashes the system without first unmounting " "file systems or syncing disks attached to the system." msgstr "" #. Tag: para #, no-c-format msgid "o — Shuts off the system." msgstr "" #. Tag: para #, no-c-format msgid "" "s — Attempts to sync disks attached to the system." msgstr "" #. Tag: para #, no-c-format msgid "" "u — Attempts to unmount and remount all file " "systems as read-only." msgstr "" #. Tag: para #, no-c-format msgid "" "p — Outputs all flags and registers to the console." msgstr "" #. Tag: para #, no-c-format msgid "" "t — Outputs a list of processes to the console." msgstr "" #. Tag: para #, no-c-format msgid "m — Outputs memory statistics to the console." msgstr "" #. Tag: para #, no-c-format msgid "" "0 through 9 — Sets the log level" " for the console." msgstr "" #. Tag: para #, no-c-format msgid "" "e — Kills all processes except " "init using SIGTERM." msgstr "" #. Tag: para #, no-c-format msgid "" "i — Kills all processes except " "init using SIGKILL." msgstr "" #. Tag: para #, no-c-format msgid "" "l — Kills all processes using SIGKILL (including " "init). The system is unusable after issuing " "this System Request Key code." msgstr "" #. Tag: para #, no-c-format msgid "h — Displays help text." msgstr "" #. Tag: para #, no-c-format msgid "" "This feature is most beneficial when using a development kernel or when " "experiencing system freezes." msgstr "" #. Tag: para #, no-c-format msgid "" "The System Request Key feature is considered a security risk because an " "unattended console provides an attacker with access to the system. For this " "reason, it is turned off by default." msgstr "" #. Tag: para #, no-c-format msgid "" "Refer to /usr/share/doc/kernel-" "doc-kernel_version/Documentation/sysrq.txt" " for more information about the System Request Key." msgstr "" #. Tag: para #, no-c-format msgid "" "tainted — Indicates whether a non-GPL module is " "loaded." msgstr "" #. Tag: para #, no-c-format msgid "" "0 — No non-GPL modules are loaded." msgstr "" #. Tag: para #, no-c-format msgid "" "1 — At least one module without a GPL" " license (including modules with no license) is loaded." msgstr "" #. Tag: para #, no-c-format msgid "" "2 — At least one module was force-" "loaded with the command insmod -f." msgstr "" #. Tag: para #, no-c-format msgid "" "threads-max — Sets the maximum number of threads " "to be used by the kernel, with a default value of " "2048." msgstr "" #. Tag: para #, no-c-format msgid "" "version — Displays the date and time the kernel " "was last compiled. The first field in this file, such as " "#3, relates to the number of times a kernel" " was built from the source base." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/net/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/net/ directory" msgstr "" #. Tag: indexterm #, no-c-format msgid "DoS attack Denial of Service attack" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "Denial of Service attack definition " "of" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "Denial of Service attack " "/proc/sys/net/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains subdirectories concerning various networking topics." " Various configurations at the time of kernel compilation make different " "directories available here, such as ethernet/, " "ipv4/, ipx/, and " "ipv6/. By altering the files within these directories, " "system administrators are able to adjust the network configuration on a " "running system." msgstr "" #. Tag: para #, no-c-format msgid "" "Given the wide variety of possible networking options available with Linux, " "only the most common /proc/sys/net/ directories are " "discussed." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/sys/net/core/ directory contains a variety of" " settings that control the interaction between the kernel and networking " "layers. The most important of these files are:" msgstr "" #. Tag: para #, no-c-format msgid "" "message_burst — Sets the amount of time in tenths" " of a second required to write a new warning message. This setting is used " "to mitigate Denial of Service " "(DoS) attacks. The default setting is " "10." msgstr "" #. Tag: para #, no-c-format msgid "" "message_cost — Sets a cost on every warning " "message. The higher the value of this file (default of " "5), the more likely the warning message is " "ignored. This setting is used to mitigate DoS attacks." msgstr "" #. Tag: para #, no-c-format msgid "" "The idea of a DoS attack is to bombard the targeted system with requests " "that generate errors and fill up disk partitions with log files or require " "all of the system's resources to handle the error logging. The settings in " "message_burst and message_cost are" " designed to be modified based on the system's acceptable risk versus the " "need for comprehensive logging." msgstr "" #. Tag: para #, no-c-format msgid "" "netdev_max_backlog — Sets the maximum number of " "packets allowed to queue when a particular interface receives packets faster" " than the kernel can process them. The default value for this file is " "1000." msgstr "" #. Tag: para #, no-c-format msgid "" "optmem_max — Configures the maximum ancillary " "buffer size allowed per socket." msgstr "" #. Tag: para #, no-c-format msgid "" "rmem_default — Sets the receive socket buffer " "default size in bytes." msgstr "" #. Tag: para #, no-c-format msgid "" "rmem_max — Sets the receive socket buffer maximum" " size in bytes." msgstr "" #. Tag: para #, no-c-format msgid "" "wmem_default — Sets the send socket buffer " "default size in bytes." msgstr "" #. Tag: para #, no-c-format msgid "" "wmem_max — Sets the send socket buffer maximum " "size in bytes." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/sys/net/ipv4/ directory contains additional " "networking settings. Many of these settings, used in conjunction with one " "another, are useful in preventing attacks on the system or when using the " "system to act as a router." msgstr "" #. Tag: para #, no-c-format msgid "" "An erroneous change to these files may affect remote connectivity to the " "system." msgstr "" #. Tag: para #, no-c-format msgid "" "The following is a list of some of the more important files within the " "/proc/sys/net/ipv4/ directory:" msgstr "" #. Tag: para #, no-c-format msgid "" "icmp_echo_ignore_all and " "icmp_echo_ignore_broadcasts — Allows the kernel " "to ignore ICMP ECHO packets from every host or only those originating from " "broadcast and multicast addresses, respectively. A value of " "0 allows the kernel to respond, while a " "value of 1 ignores the packets." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_default_ttl — Sets the default Time" " To Live (TTL), which limits the number of hops a packet may " "make before reaching its destination. Increasing this value can diminish " "system performance." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_forward — Permits interfaces on the system to " "forward packets to one other. By default, this file is set to " "0. Setting this file to " "1 enables network packet forwarding." msgstr "" #. Tag: para #, no-c-format msgid "" "ip_local_port_range — Specifies the range of " "ports to be used by TCP or UDP when a local port is needed. The first number" " is the lowest port to be used and the second number specifies the highest " "port. Any systems that expect to require more ports than the default 1024 to" " 4999 should use a range from 32768 to 61000." msgstr "" #. Tag: para #, no-c-format msgid "" "tcp_syn_retries — Provides a limit on the number " "of times the system re-transmits a SYN packet when attempting to make a " "connection." msgstr "" #. Tag: para #, no-c-format msgid "" "tcp_retries1 — Sets the number of permitted re-" "transmissions attempting to answer an incoming connection. Default of " "3." msgstr "" #. Tag: para #, no-c-format msgid "" "tcp_retries2 — Sets the number of permitted re-" "transmissions of TCP packets. Default of " "15." msgstr "" #. Tag: para #, no-c-format msgid "The file called" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "/usr/share/doc/kernel-doc-kernel_version/Documentation/networking/ip-sysctl.txt\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "contains a complete list of files and options available in the " "/proc/sys/net/ipv4/ directory." msgstr "" #. Tag: para #, no-c-format msgid "" "A number of other directories exist within the " "/proc/sys/net/ipv4/ directory and each covers a " "different aspect of the network stack. The " "/proc/sys/net/ipv4/conf/ directory allows each system " "interface to be configured in different ways, including the use of default " "settings for unconfigured devices (in the " "/proc/sys/net/ipv4/conf/default/ subdirectory) and " "settings that override all special configurations (in the " "/proc/sys/net/ipv4/conf/all/ subdirectory)." msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/sys/net/ipv4/neigh/ directory contains " "settings for communicating with a host directly connected to the system " "(called a network neighbor) and also contains different settings for systems" " more than one hop away." msgstr "" #. Tag: para #, no-c-format msgid "" "Routing over IPV4 also has its own directory, " "/proc/sys/net/ipv4/route/. Unlike " "conf/ and neigh/, the " "/proc/sys/net/ipv4/route/ directory contains " "specifications that apply to routing with any interfaces on the system. Many" " of these settings, such as max_size, " "max_delay, and min_delay, relate " "to controlling the size of the routing cache. To clear the routing cache, " "write any value to the flush file." msgstr "" #. Tag: para #, no-c-format msgid "" "Additional information about these directories and the possible values for " "their configuration files can be found in:" msgstr "" #. Tag: title #, no-c-format msgid "/proc/sys/vm/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "/proc/sys/vm/ directory" msgstr "" #. Tag: indexterm #, no-c-format msgid "hugepages configuration of" msgstr "" #. Tag: indexterm #, no-c-format msgid "TLB cache hugepages" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory facilitates the configuration of the Linux kernel's virtual " "memory (VM) subsystem. The kernel makes extensive and intelligent use of " "virtual memory, which is commonly referred to as swap space." msgstr "" #. Tag: para #, no-c-format msgid "" "The following files are commonly found in the " "/proc/sys/vm/ directory:" msgstr "" #. Tag: para #, no-c-format msgid "" "block_dump — Configures block I/O debugging when " "enabled. All read/write and block dirtying operations done to files are " "logged accordingly. This can be useful if diagnosing disk spin up and spin " "downs for laptop battery conservation. All output when " "block_dump is enabled can be retrieved via " "dmesg. The default value is " "0." msgstr "" #. Tag: para #, no-c-format msgid "" "If block_dump is enabled at the same time as kernel " "debugging, it is prudent to stop the klogd daemon, as it " "generates erroneous disk activity caused by block_dump." msgstr "" #. Tag: para #, no-c-format msgid "" "dirty_background_ratio — Starts background " "writeback of dirty data at this percentage of total memory, via a pdflush " "daemon. The default value is 10." msgstr "" #. Tag: para #, no-c-format msgid "" "dirty_expire_centisecs — Defines when dirty in-" "memory data is old enough to be eligible for writeout. Data which has been " "dirty in-memory for longer than this interval is written out next time a " "pdflush daemon wakes up. The default value is 3000, " "expressed in hundredths of a second." msgstr "" #. Tag: para #, no-c-format msgid "" "dirty_ratio — Starts active writeback of dirty " "data at this percentage of total memory for the generator of dirty data, via" " pdflush. The default value is 20." msgstr "" #. Tag: para #, no-c-format msgid "" "dirty_writeback_centisecs — Defines the interval " "between pdflush daemon wakeups, which periodically writes dirty in-memory " "data out to disk. The default value is 500, expressed in " "hundredths of a second." msgstr "" #. Tag: para #, no-c-format msgid "" "laptop_mode — Minimizes the number of times that " "a hard disk needs to spin up by keeping the disk spun down for as long as " "possible, therefore conserving battery power on laptops. This increases " "efficiency by combining all future I/O processes together, reducing the " "frequency of spin ups. The default value is " "0, but is automatically enabled in case a " "battery on a laptop is used." msgstr "" #. Tag: para #, no-c-format msgid "" "This value is controlled automatically by the acpid daemon once a user is " "notified battery power is enabled. No user modifications or interactions are" " necessary if the laptop supports the ACPI (Advanced Configuration and Power" " Interface) specification." msgstr "" #. Tag: para #, no-c-format msgid "For more information, refer to the following installed documentation:" msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/laptop-" "mode.txt" msgstr "" #. Tag: para #, no-c-format msgid "" "max_map_count — Configures the maximum number of " "memory map areas a process may have. In most cases, the default value of " "65536 is appropriate." msgstr "" #. Tag: para #, no-c-format msgid "" "min_free_kbytes — Forces the Linux VM (virtual " "memory manager) to keep a minimum number of kilobytes free. The VM uses this" " number to compute a pages_min value for each " "lowmem zone in the system. The default value is in " "respect to the total memory on the machine." msgstr "" #. Tag: para #, no-c-format msgid "" "nr_hugepages — Indicates the current number of " "configured hugetlb pages in the kernel." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/vm/hugetlbpage.txt" msgstr "" #. Tag: para #, no-c-format msgid "" "nr_pdflush_threads — Indicates the number of " "pdflush daemons that are currently running. This file is read-only, and " "should not be changed by the user. Under heavy I/O loads, the default value " "of two is increased by the kernel." msgstr "" #. Tag: para #, no-c-format msgid "" "overcommit_memory — Configures the conditions " "under which a large memory request is accepted or denied. The following " "three modes are available:" msgstr "" #. Tag: para #, no-c-format msgid "" "0 — The kernel performs heuristic memory over " "commit handling by estimating the amount of memory available and failing " "requests that are blatantly invalid. Unfortunately, since memory is " "allocated using a heuristic rather than a precise algorithm, this setting " "can sometimes allow available memory on the system to be overloaded. This is" " the default setting." msgstr "" #. Tag: para #, no-c-format msgid "" "1 — The kernel performs no memory over commit " "handling. Under this setting, the potential for memory overload is " "increased, but so is performance for memory intensive tasks (such as those " "executed by some scientific software)." msgstr "" #. Tag: para #, no-c-format msgid "" "2 — The kernel fails requests for memory that add " "up to all of swap plus the percent of physical RAM specified in " "/proc/sys/vm/overcommit_ratio. This setting is best for" " those who desire less risk of memory overcommitment." msgstr "" #. Tag: para #, no-c-format msgid "" "This setting is only recommended for systems with swap areas larger than " "physical memory." msgstr "" #. Tag: para #, no-c-format msgid "" "overcommit_ratio — Specifies the percentage of " "physical RAM considered when " "/proc/sys/vm/overcommit_memory is set to " "2. The default value is 50." msgstr "" #. Tag: para #, no-c-format msgid "" "page-cluster — Sets the number of pages read in a" " single attempt. The default value of 3, " "which actually relates to 16 pages, is appropriate for most systems." msgstr "" #. Tag: para #, no-c-format msgid "" "swappiness — Determines how much a machine should" " swap. The higher the value, the more swapping occurs. The default value, as" " a percentage, is set to 60." msgstr "" #. Tag: para #, no-c-format msgid "" "All kernel-based documentation can be found in the following locally " "installed location:" msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/, " "which contains additional information." msgstr "" #. Tag: title #, no-c-format msgid "/proc/sysvipc/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sysvipc/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains information about System V IPC resources. The files " "in this directory relate to System V IPC calls for messages " "(msg), semaphores (sem), and " "shared memory (shm)." msgstr "" #. Tag: title #, no-c-format msgid "/proc/tty/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/tty/ directory" msgstr "" #. Tag: para #, no-c-format msgid "" "This directory contains information about the available and currently used " "tty devices on the system. Originally called " "teletype devices, any character-based data terminals " "are called tty devices." msgstr "" #. Tag: para #, no-c-format msgid "" "In Linux, there are three different kinds of tty devices. Serial " "devices are used with serial connections, such as over a modem " "or using a serial cable. Virtual terminals create the" " common console connection, such as the virtual consoles available when " "pressing Alt <F-key> " " at the system console. Pseudo terminals " "create a two-way communication that is used by some higher level " "applications, such as XFree86. The drivers file is a " "list of the current tty devices in use, as in the following example:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "serial /dev/cua 5 64-127 serial:callout\n" "serial /dev/ttyS 4 64-127 serial\n" "pty_slave /dev/pts 136 0-255 pty:slave\n" "pty_master /dev/ptm 128 0-255 pty:master\n" "pty_slave /dev/ttyp 3 0-255 pty:slave\n" "pty_master /dev/pty 2 0-255 pty:master\n" "/dev/vc/0 /dev/vc/0 4 0 system:vtmaster\n" "/dev/ptmx /dev/ptmx 5 2 system\n" "/dev/console /dev/console 5 1 system:console\n" "/dev/tty /dev/tty 5 0 system:/dev/tty\n" "unknown /dev/vc/%d 4 1-63 console\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The /proc/tty/driver/serial file lists the usage " "statistics and status of each of the serial tty lines." msgstr "" #. Tag: para #, no-c-format msgid "" "In order for tty devices to be used as network devices, the Linux kernel " "enforces line discipline on the device. This allows " "the driver to place a specific type of header with every block of data " "transmitted over the device, making it possible for the remote end of the " "connection to a block of data as just one in a stream of data blocks. SLIP " "and PPP are common line disciplines, and each are commonly used to connect " "systems to one other over a serial link." msgstr "" #. Tag: title #, no-c-format msgid "/proc/PID/" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/PID/ " "directory" msgstr "" #. Tag: para #, no-c-format msgid "" "Out of Memory (OOM) refers to a computing state where all available memory, " "including swap space, has been allocated. When this situation occurs, it " "will cause the system to panic and stop functioning as expected. There is a " "switch that controls OOM behavior in /proc/sys/vm/panic_on_oom. When set to " "1 the kernel will panic on OOM. A setting of " "0 instructs the kernel to call a function named " "oom_killer on an OOM. Usually, " "oom_killer can kill rogue processes and the system will" " survive." msgstr "" #. Tag: para #, no-c-format msgid "" "The easiest way to change this is to echo the new value to /proc/sys/vm/panic_on_oom." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "# cat /proc/sys/vm/panic_on_oom\n" "1\n" "\n" "# echo 0 > /proc/sys/vm/panic_on_oom\n" "\n" "# cat /proc/sys/vm/panic_on_oom\n" "0\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "It is also possible to prioritize which processes get killed by adjusting " "the oom_killer score. In /proc/PID/ there " "are two tools labelled oom_adj and " "oom_score. Valid scores for " "oom_adj are in the range -16 to +15. To see the current" " oom_killer score, view the " "oom_score for the process. " "oom_killer will kill processes with the highest scores " "first." msgstr "" #. Tag: para #, no-c-format msgid "" "This example adjusts the oom_score of a process with a " "PID of 12465 to make it less likely that " "oom_killer will kill it." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "# cat /proc/12465/oom_score\n" "79872\n" "\n" "# echo -5 > /proc/12465/oom_adj\n" "\n" "# cat /proc/12465/oom_score\n" "78\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "There is also a special value of -17, which disables " "oom_killer for that process. In the example below, " "oom_score returns a value of 0, indicating that this " "process would not be killed." msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "# cat /proc/12465/oom_score\n" "78\n" "\n" "# echo -17 > /proc/12465/oom_adj\n" "\n" "# cat /proc/12465/oom_score\n" "0\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "A function called badness() is used to determine the " "actual score for each process. This is done by adding up 'points' for each " "examined process. The process scoring is done in the following way:" msgstr "" #. Tag: para #, no-c-format msgid "The basis of each process's score is its memory size." msgstr "" #. Tag: para #, no-c-format msgid "" "The memory size of any of the process's children (not including a kernel " "thread) is also added to the score" msgstr "" #. Tag: para #, no-c-format msgid "" "The process's score is increased for 'niced' processes and decreased for " "long running processes." msgstr "" #. Tag: para #, no-c-format msgid "" "Processes with the CAP_SYS_ADMIN and " "CAP_SYS_RAWIO capabilities have their scores reduced." msgstr "" #. Tag: para #, no-c-format msgid "" "The final score is then bitshifted by the value saved in the " "oom_adj file." msgstr "" #. Tag: para #, no-c-format msgid "" "Thus, a process with the highest oom_score value will " "most probably be a non-priviliged, recently started process that, along with" " its children, uses a large amount of memory, has been 'niced', and handles " "no raw I/O." msgstr "" #. Tag: title #, no-c-format msgid "Using the sysctl Command" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " sysctl controlling " "/proc/sys/ " msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "/proc/sys/ directory " "sysctl " msgstr "" #. Tag: indexterm #, no-c-format msgid "" " sysctl configuring with " "/etc/sysctl.conf " msgstr "" #. Tag: para #, no-c-format msgid "" "The /sbin/sysctl command is used to view, set, and " "automate kernel settings in the /proc/sys/ directory." msgstr "" #. Tag: para #, no-c-format msgid "" "For a quick overview of all settings configurable in the " "/proc/sys/ directory, type the /sbin/sysctl " "-a command as root. This creates a large, comprehensive list, a " "small portion of which looks something like the following:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "net.ipv4.route.min_delay = 2 kernel.sysrq = 0 kernel.sem = 250 32000 32 128\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This is the same information seen if each of the files were viewed " "individually. The only difference is the file location. For example, the " "/proc/sys/net/ipv4/route/min_delay file is listed as " "net.ipv4.route.min_delay, with the " "directory slashes replaced by dots and the " "proc.sys portion assumed." msgstr "" #. Tag: para #, no-c-format msgid "" "The sysctl command can be used in place of " "echo to assign values to writable files in the " "/proc/sys/ directory. For example, instead of using the" " command" msgstr "" #. Tag: para #, no-c-format msgid "use the equivalent sysctl command as follows:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "sysctl -w kernel.sysrq=\"1\"\n" "kernel.sysrq = 1\n" msgstr "" #. Tag: para #, no-c-format msgid "" "While quickly setting single values like this in " "/proc/sys/ is helpful during testing, this method does " "not work as well on a production system as special settings within " "/proc/sys/ are lost when the machine is rebooted. To " "preserve custom settings, add them to the " "/etc/sysctl.conf file." msgstr "" #. Tag: para #, no-c-format msgid "" "Each time the system boots, the init program runs the " "/etc/rc.d/rc.sysinit script. This script contains a " "command to execute sysctl using " "/etc/sysctl.conf to determine the values passed to the " "kernel. Any values added to /etc/sysctl.conf therefore " "take effect each time the system boots." msgstr "" #. Tag: title #, no-c-format msgid "References" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "additional resources" msgstr "" #. Tag: para #, no-c-format msgid "" "Below are additional sources of information about proc " "file system." msgstr "" #. Tag: title #, no-c-format msgid "Installed Documentation" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "additional resources installed " "documentation" msgstr "" #. Tag: para #, no-c-format msgid "" "Some of the best documentation about the proc file " "system is installed on the system by default." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/filesystems/proc.txt" " — Contains assorted, but limited, information about all aspects of " "the /proc/ directory." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/sysrq.txt" " — An overview of System Request Key options." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/sysctl/" " — A directory containing a variety of sysctl tips," " including modifying values that concern the kernel " "(kernel.txt), accessing file systems " "(fs.txt), and virtual memory use " "(vm.txt)." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/kernel-" "doc-kernel_version/Documentation/networking/ip-" "sysctl.txt — A detailed overview of IP networking options." msgstr "" #. Tag: title #, no-c-format msgid "Useful Websites" msgstr "" #. Tag: indexterm #, no-c-format msgid "" " proc file system " "additional resources useful " "websites" msgstr "" #. Tag: para #, no-c-format msgid "" "http://www.linuxhq.com/ " "— This website maintains a complete database of source, patches, and " "documentation for various versions of the Linux kernel." msgstr ""