Citizendia
Your Ad Here


On Unix-like computer systems, procfs, short for process file system, is a pseudo-file system (pseudo in that it is dynamically generated at boot) used to access process information from the kernel. Unix (officially trademarked as UNIX, sometimes also written as Unix with Small caps) is a computer In computing a process is an instance of a Computer program that is being sequentially executed by a computer system that has the ability to run several computer In Computing, a file system (often also written as filesystem) is a method for storing and organizing Computer files and the data they contain to make In Computer science, the kernel is the central component of most computer Operating systems (OS The file system is often mounted at the /proc directory. In Computing, a directory, catalog, folder or drawer is an entity in a File system, which contains a group of files and/or other directories Because /proc is not a real file system, it consumes no storage space and only a limited amount of memory.

procfs is supported under:


Contents

History

UNIX 8th Edition

The UNIX 8th Edition version of /proc was implemented by Tom J. Solaris is a Unix -based Operating system introduced by Sun Microsystems in 1992 as the successor to SunOS. Linux (commonly pronounced ˈlɪnəks QNX (pronounced either Q-N-X or Q-nix is a commercial Unix-like Real-time operating system, aimed primarily at the Embedded systems market Eight Edition Unix, also known as Version 8 Unix or V8, was a version of the Research Unix Operating system developed and used internally at Killian, who presented a paper titled Processes as Files at USENIX in June 1984. The USENIX Association is the Advanced Computing Technical Association It was designed in order to replace the ptrace system call used for process tracing.

SVR4

Roger Faulkner and Ron Gomes ported V8 /proc to SVR4, and published a paper called The Process File System and Process Model in UNIX System V at USENIX in January 1991. Unix System V, commonly abbreviated SysV (and usually pronounced though rarely written as System 5 was one of the versions of the Unix Operating system This kind of procfs supported the creation of ps, but the files could only be accessed with functions read(), write(), and ioctl(). In most Unix-like operating systems the ps program displays the currently-running processes. In computing an ioctl (aɪˈɒktəl or "i-o-control" is part of the user -to- kernel interface of a conventional operating system

Plan 9

Plan 9 implemented a process file system, but went further than V8. Plan 9 from Bell Labs is a Distributed operating system, primarily used for research V8's process file system required operations applied to a single file for all functions related to a process. Plan 9 used separate files to provide those functions, and it made /proc a real part of the file system.

4. 4BSD

4.4BSD's implementation of /proc was cloned from Plan 9. Note that in FreeBSD procfs is being gradually phased out.

Solaris

Solaris 2. 6's /proc (finished in 1996) was also a clone from Plan 9.

Linux

The /proc implementation of Linux is also a clone of Plan 9. Linux (commonly pronounced ˈlɪnəks Plan 9 from Bell Labs is a Distributed operating system, primarily used for research Under Linux, /proc includes:

The basic utilities that use /proc under Linux are in the procps package, and they require that /proc is mounted in order to function.

The procfs plays an important role in moving functionality from kernel space to user space. "kernel space" redirects here For mathematical definition see Null space. "kernel space" redirects here For mathematical definition see Null space. For example the GNU version of ps operates entirely in user mode, using the procfs to obtain its data. GNU ( pronounced) is a computer Operating system composed entirely of Free software. In most Unix-like operating systems the ps program displays the currently-running processes.

In the Linux 2. Linux is an operating system kernel used by a family of Unix-like Operating systems These are popularly termed Linux operating systems and 6 kernel, much of the non-process related files under /proc were moved to a separate pseudo-file system called sysfs (mounted under /sys). Sysfs is a Virtual file system provided by Linux 26 Sysfs exports information about devices and drivers from the kernel device model to userspace and is also used

Cobalt

It is worth noting that Cobalt boxes also include a few additions to /proc:

/proc/cpuinfo

In Linux, /proc/cpuinfo is a pseudo-file containing information about all the CPUs in the system. It contains a number of lines:

CPU family Model Stepping Cache size Model name Description
3 0 0 x  ? Intel386 DX
3 2 0 x  ? Intel386 SX / CX / EX
3 4 0/1 x  ? Intel386 SL
4 0/1 x x  ? Intel486 DX
4 2 x x  ? Intel486 SX
4 3 x x  ? Intel487/ DX2 / DX2 OverDrive
4 4 x x  ? Intel486 SL
4 5 x x  ? IntelSX2
4 8 x x  ? IntelDX4/ DX4 Overdrive
5 1 x x  ? Pentium/Pentium OverDrive processors (60,66)
5 2 x x  ? Pentium/Pentium OverDrive processors (75,90,100,120,133,150,166,200)
5 3 x x  ? Pentium OverDrive for 486 based systems
5 4 x x  ? Pentium processor with MMX technology (166,200) & OverDrive with MMX for Pentium (75,90,100,120,133)
6 1 x x  ? Pentium Pro
6 3 x x  ? Pentium II, model 3 and Intel Pentium II OverDrive processor
6 5 x 0  ? Intel Celeron model 5
6 5 x 1/2Mb  ? Pentium II Xeon, model 5
6 5 x otherwise  ? Pentium II, model 5, Pentium II Xeon with L2 Cache 512 kB
6 6 x x  ? Celeron model 6
6 7 x 1/2Mb  ? Pentium III Xeon, model 7
6 7 x otherwise  ? Pentium III, model 7 or Pentium III Xeon, model 7 with L2 Cache 512 kB
6 8 x x  ? Pentium III, model 8, Pentium III Xeon, model 8 and Intel Celeron model 8
6 9 x x  ? Pentium M processor and Intel Celeron model 9
6 10 x x  ? Pentium III Xeon, model A
6 11 x x  ? Pentium III Xeon, model B
6 13 x x  ? Intel Pentium M processor, Intel Celeron M model D. All processors are manufactured using 90 nm process
6 14 x x  ? Intel Core Duo processor, Intel Core Solo model E. All processors are manufactured using 65 nm process
6 15 x x  ? Intel Core2 Duo processor model F. All processors are manufactured using 65 nm process
15 0 x x  ? Pentium 4 and Intel Xeon processor . All processors are model 0 and manufactured using the 0. 18 micrometre process
15 1 x x  ? Pentium 4, Xeon processor, Intel Xeon processor MP and Intel Celeron. All processors are model 1 and manufactured using the 0. 18 micrometre process
15 2 x x  ? Pentium 4, Mobile Intel P4 - M, Xeon processor, Intel Xeon processor MP, Intel Celeron and Mobile Intel Celeron. All processors are model 2 and manufactured using the 0. 13 micrometre process
15 3 x x  ? Pentium 4, Xeon processor, Intel Celeron D. All processors are model 3 and manufactured using the 90 nm process
15 4 x x  ? Pentium 4, P4 Extreme edition, Pentium D, Xeon processor, Xeon MP and Celeron D. All processors are model 4 and manufactured using the 90 nm process
15 6 x x  ? Pentium 4, Pentium Extreme edition, Pentium D, Xeon processor, Xeon MP and Celeron D. All processors are model 6 and manufactured using the 65 nm process

Operating systems other than Linux do not implement /proc/cpuinfo; the same information can be easily obtained by other means, such as psrinfo(1M) command under Solaris or cpuid(1) under FreeBSD.

/proc/meminfo

/proc/meminfo is a pseudo-file in the proc filesystem of recent versions of the Linux kernel. Linux is an operating system kernel used by a family of Unix-like Operating systems These are popularly termed Linux operating systems and It is accessed to provide information about the current state of the system's computer memory, including information about virtual memory and the cache. Virtual memory is a Computer system technique which gives an application program the impression that it has contiguous working memory while in fact it may be physically In Computer science, a cache (kæʃ like "cash") is a collection of data duplicating original It is the primary method for user-level programs to obtain information about the system's memory state, and is used in the implementation of several system monitor utilities. A system monitor is a hardware- or software- based system used to monitor resources and performance in a computer system

External links

References


© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic