Check out the new USENIX Web site. next up previous
Next: Other Changes Up: RCLinux Kernel Modifications and Previous: System Initialization

/proc Interface

Linux provides, in a portable way, information on the current status of the kernel and running processes through the /proc interface. We have changed /proc to support resource containers.

Resource containers are represented as directories in /proc, named rc$<$resource_container_id$>$. The files in this directory are a read only file status and a write only file cmd.

We can get various attributes of a resource container like the list of child containers, the list of child processes, resource usages etc by reading the corresponding status file. This information can be used for debugging and system administrative purposes.

The file cmd is used for giving various commands to the resource container. Here the name of the API and its argument is directly written to the file. This helps in easy use of resource container functions.



Mansoor Alicherry 2001-05-01