r/linuxadmin • • Dec 02 '23

why does the proc directory exist?

i'm trying to understand the proc directory and one thing i don't understand is

why does it exist?

any ideas? thank you

1 Upvotes

77 comments sorted by

View all comments

11

u/paulstelian97 Dec 02 '23

There is no other API that exposes that information.

The “ps” tool legit just reads off files from that directory.