3 ms·
The post you're replying to didn't say "on Linux" - IIRC, unix ps worked by reading /dev/kmem or so Edit: My mistake, it was /dev/mem - https://github.com/lsah
by yjftsjthsd-h 2y ago
The post you're replying to didn't say "on Linux" - IIRC, unix ps worked by reading /dev/kmem or so
Edit: My mistake, it was /dev/mem - https://github.com/lsahn-gh/unix-v6/blob/master/source/s2/ps.c#L100 https://github.com/lsahn-gh/unix-v6/blob/master/source/s2/ps...
- upon_drumhead 2y agoAgh, completely fair. The topic was about Linux and I incorrectly presumed that the original comment was made in the same context. My mistake.