Last week I created a small ps clone in ruby. This was done purely out of curiosity, just wondering how does ps works and how it knows all about current running processes. You can find the project here . Cool things I learned in the process: procfs is a virtual filesystem that stores process data! ps clone is merely file reading (really). Exploring procfs At first, I went around the web and read a


{{#tags}}- {{label}}
{{/tags}}