help:proc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
help:proc [2017/04/06 13:51] – peter | help:proc [2020/04/15 10:34] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Proc ====== | ||
- | The **/proc** file system, doesn' | ||
- | |||
- | /proc simply acts as an interface to internal data structures in the kernel. | ||
- | |||
- | |||
- | ===== Process-Specific Sub-directories ===== | ||
- | |||
- | The **/proc** directory contains (among other things) one sub-directory for each process running on the system, which is named after the process ID (PID). | ||
- | |||
- | Each process sub-directory has the following entries. | ||
- | |||
- | ^File^Content^ | ||
- | |[[Proc: | ||
- | |cmdline|Command line arguments.| | ||
- | |cpu|Current and last cpu in which it was executed (2.4)(smp).| | ||
- | |cwd|Link to the current working directory.| | ||
- | |environ|Values of environment variables.| | ||
- | |exe|Link to the executable of this process.| | ||
- | |fd|Directory, | ||
- | |[[Proc: | ||
- | |mem|Memory held by this process.| | ||
- | |root|Link to the root directory of this process.| | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |wchan|If CONFIG_KALLSYMS is set, a pre-decoded wchan.| | ||
- | |[[Proc: | ||
- | |stack|Report full stack trace, enable via CONFIG_STACKTRACE.| | ||
- | |[[Proc: | ||
- | |||
- | |||
- | |||
- | ===== Kernel data ===== | ||
- | |||
- | Similar to the process entries, the kernel data files give information about the running kernel. | ||
- | |||
- | ^File^Content^ | ||
- | |apm|Advanced power management info.| | ||
- | |[[Proc: | ||
- | |bus|Directory containing bus specific information.| | ||
- | |cmdline|Kernel command line.| | ||
- | |cpuinfo|Info about the CPU.| | ||
- | |devices|Available devices (block and character).| | ||
- | |dma|Used DMS channels.| | ||
- | |filesystems|Supported filesystems.| | ||
- | |driver|Various drivers grouped here, currently rtc (2.4).| | ||
- | |execdomains|Execdomains, | ||
- | |fb|Frame Buffer devices (2.4).| | ||
- | |fs|File system parameters, currently nfs/exports (2.4).| | ||
- | |[[Proc:IDE directory|ide]]|Directory containing info about the IDE subsystem.| | ||
- | |[[Proc: | ||
- | |iomem|Memory map (2.4).| | ||
- | |ioports|I/ | ||
- | |[[Proc:IRQ Vectors|irq]]|Masks for irq to cpu affinity (2.4) (smp?).| | ||
- | |isapnp|ISA PnP (Plug& | ||
- | |kcore|Kernel core image (can be ELF or A.OUT (deprecated in 2.4)).| | ||
- | |kmsg|Kernel messages.| | ||
- | |ksyms|Kernel symbol table.| | ||
- | |loadavg|Load average of last 1, 5 & 15 minutes.| | ||
- | |locks|Kernel locks.| | ||
- | |[[Proc: | ||
- | |misc|Miscellaneous.| | ||
- | |modules|List of loaded modules.| | ||
- | |mounts|Mounted filesystems.| | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |partitions|Table of partitions known to the system.| | ||
- | |pci|Deprecated info of PCI bus (new way -> / | ||
- | |rtc|Real time clock.| | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |[[Proc: | ||
- | |swaps|Swap space utilization.| | ||
- | |[[Proc: | ||
- | |sysvipc|Info of SysVIPC Resources (msg, sem, shm) (2.4).| | ||
- | |[[Proc:TTY directory|tty]]|Info of tty drivers.| | ||
- | |uptime|System uptime.| | ||
- | |version|Kernel version.| | ||
- | |video|bttv info of video resources (2.4).| | ||
- | |[[Proc:VM Alloc Info file|vmallocinfo]]|Show vmalloced areas.| | ||
- | |||
- | |||
- | |||
- | |||
- | ===== References ===== | ||
- | |||
- | http:// | ||
- | |||
- | https:// |
help/proc.1491486713.txt.gz · Last modified: 2020/07/15 09:30 (external edit)