Understanding the transitory /proc filesystem

Due Processes

Article from Issue 150/2013

The mysterious /proc virtual filesystem is a rich mine of information about everything in your system.

In productivity computing, typical users have limited use for the /proc directory. However, when you want information about all aspects of your system, including hardware, the processes running, and what is happening in the kernel, /proc is a concentrated source of fast and current information.

When learning Linux, you probably heard that everything is represented in the operating system as a file. Most of the files are text or binary, but others are more specialized, such as directories, or the contents of the /dev directory, which represent hardware devices and partitions. The /proc directory and its contents are another specialized type of file, making up a virtual or pseudo-filesystem.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Go Programming

    The Go programming language combines type safety with manageable syntax and an extensive library. We take you through a programming example.

  • Ask Klaus!

    Klaus Knopper is the creator of Knoppix and co-founder of LinuxTag expo. He currently works as a teacher, programmer, and consultant. If you have a configuration problem, or if you just want to learn more about how Linux works, send your questions to: klaus@linux-magazine.com

  • Charly's Column: Di

    The more frequently a command is used, the fewer letters it should have, so the use of twokey commands like ls, mv, and df is second nature. We look at a previously little-known representative of this club, di.

  • Bootchart

    Bootchart analyzes the boot process and tells you where the system is wasting time.

  • Hardware Detection

    If you need fast answers for what's inside, you can use a Bash script to obtain an inventory of hardware on your Linux system.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia