<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.linuxquestions.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=M00t00</id>
	<title>LQWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxquestions.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=M00t00"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxquestions.org/wiki/Special:Contributions/M00t00"/>
	<updated>2026-05-13T04:11:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>https://wiki.linuxquestions.org/index.php?title=Proc&amp;diff=14005</id>
		<title>Proc</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxquestions.org/index.php?title=Proc&amp;diff=14005"/>
		<updated>2004-11-28T00:06:50Z</updated>

		<summary type="html">&lt;p&gt;M00t00: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The /proc filesystem is a psuedofilesystem.  It is used to report information about the kernel, and to recieve information from a user or process.  The /proc filesystem started out as a way to find information about processes, but now it is used by just about everything for which implementing a system call would be a waste.&lt;br /&gt;
&lt;br /&gt;
The filesystem is not itself on a disk, rather, it is in kernel memory, where the kernel and its modules control what is inside these files.  When a file in /proc is read, a function or handler is looked up (from a table within the kernel), and that function will output information.  Likewise, when a file is written to in /proc, a bit of the kernel will handle reading it in.&lt;br /&gt;
&lt;br /&gt;
Some examples of /proc usage are /proc/cmdline, and /proc/config.gz.  These provide two peices of information about the kernel, the &amp;quot;command line&amp;quot; (the parameters passed to the kernel at boot), and the configuration file.  Of course there is also loadavg, partitions, swaps, version, uptime, and so on.&lt;br /&gt;
&lt;br /&gt;
Also of interest is /proc/apm and /proc/acpi, for thier respective power management systems.  Each one reports information about the state of power management, to be gathered by various programs/monitors.  /proc/acpi is a directory, divided into subdirectories for each power device (fan, battery, button, and so on).  Each subdirectory gives information about its device.  /proc/apm is a 'file' which has information about the power, such as charge, the state of the ac-adapter, and time untill battery charged/drained.&lt;br /&gt;
&lt;br /&gt;
The /proc filesystem is also used by many parts of the kernel for input and output.&lt;br /&gt;
&lt;br /&gt;
{{msg:stub}}&lt;br /&gt;
&lt;br /&gt;
--[[User:M00t00|M00t00]] 19:06, Nov 27, 2004 (EST)&lt;/div&gt;</summary>
		<author><name>M00t00</name></author>
	</entry>
</feed>