Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seriously I wish /proc was available as a tree of JSON documents as opposed to all these different ad hoc plain text formats. It would make using /proc a lot easier and more reliable


Could be unnecessarily costly unless the files are written ahead-of-time. I propose some kind of GraphQL-like interface to only read what you need.


/proc files are generated on-demand as you read them.

Generating JSON couldn’t be significantly more costly than the current ad hoc plain text formats are




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: