Deep System Discovery on your Linux Server With /proc

Written By
JK
Juliet Kemp
Dec 10, 2010

“/proc is a virtual filesystem generated at boot and updated
regularly by the kernel. With /proc you can investigate exactly
what hardware your Linux kernel sees, what processes it is running,
boot options, and also manipulate kernel events.

“With Linux, everything is a file – and that includes
devices, processes, and system information. /proc allows you to
take a look at these ‘files’. /proc (short for “process
filesystem”) isn’t ‘real’; it’s a virtual filesystem, generated at
boot and updated regularly by the kernel. Instead of storing
information on disk, when you look at something in /proc, it
fetches the information from the kernel to output as a file. This
is great both for system communication (utilities can operate in
userspace, rather than in kernel space), and for investigating your
system’s innards.

“/proc and processes

“If you type ls /proc, you’ll see a set of numbered directories.
These are your processes: one directory per process ID. Look at
your process list with ps -A, and pick one to investigate. (Note
that unless you have root/sudo access, you’re best off choosing a
process that you own.) Here’s a sample process from my ps
output:”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.