show icon indicating copy to clipboard operation
show copied to clipboard

A simple `ps` clone

Open mre opened this issue 7 years ago • 0 comments

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.

mre avatar Feb 08 '18 16:02 mre