From the course: Linux Performance Tuning

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The proc filesystem

The proc filesystem - Linux Tutorial

From the course: Linux Performance Tuning

Start my 1-month free trial

The proc filesystem

- [Instructor] Let's talk about the proc file system. Because we're talking about a file system, it needs to be mounted into your tree somewhere, and at boot time that should happen. The proc file system should be mounted on the directory /proc. And the mount command we see here says the type of file system to mount is proc, and then we traditionally put the word proc there, which for a disk file system would be the partition to mount. But we don't have one, so we put the word proc there, some people put the word none there, and then where to mount it. So the proc file system got mounted on /proc. Inside the proc directory we have subdirectories and files, and those have permission modes, read, write, execute and so forth, like ordinary files and directories. Some of the proc files are writable, some are readable only. And when they're writable, they're generally just writable by root, the privileged user. Proc is really pretty interesting. It's kind of an abstraction. I call it a…

Contents