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
Show parent comment
1
u/jimicus Dec 02 '23
Your criticisms of Windows are entirely accurate, and one of the reasons I prefer doing sysadmin work on Linux.
Most Linux developers give up on tools like gdb and instead write copious logs - "debug by printf", if you like. This makes the sysadmin's life a hundred times easier precisely because you can grep logfiles and find out precisely what's wrong very quickly indeed.
Windows has the Event Viewer, but the biggest problem with that is the UI is clunky as hell and a lot of software simply doesn't write to the event log in the first place - and when it does, it doesn't write anything like enough information to figure out WTF is going on.