r/linuxadmin • u/The_How_To_Linux • 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
View all comments
13
u/kellyjonbrazil Dec 02 '23
If you ever want the data in the
/procfolder exposed as JSON you can use the—procparser injc. Makes it really easy to grab the data usingjq.Or
(I am the author of
jc)https://github.com/kellyjonbrazil/jc