show
show copied to clipboard
A simple `ps` clone
What?
The Unix tool ps lists the status of processes. We could write one in Rust.
Why?
Implementing Unix tools is a good learning experience.
ps in particular makes use of the /proc virtual filesystem to get information
straight from the Linux kernel. (I have no idea how it works on other systems.)
This directory contains a wealth of data that is interesting to explore.
How?
Read /proc/<pid>/status and parse it using serde/nom or something else.