arctir / proctor

A CLI and libraries acting as a toolkit for introspecting software from source to runtime.
Apache License 2.0
17 stars 1 forks source link

Add data model representing Linux processes #2

Open joshrosso opened 2 years ago

joshrosso commented 2 years ago

Using information provided in procfs, add an easy to reason about datastruct which represents the various values.

Kernel documentation: https://www.kernel.org/doc/html/latest/filesystems/proc.html

joshrosso commented 2 years ago

Note that the content of the stat file is particularly interesting, which fields are labeled here:

https://www.kernel.org/doc/html/latest/filesystems/proc.html#id10