Procsnap is a project that follows the suckless philosophy.
Procsnap is a lightweight Linux process profiler.
git clone https://github.com/DankDown10256/procsnap
cd procsnap/Execute the command below in the procsnap directory.
make installIf needed use sudo/doas.
make uninstallOnce the previous step is complete, you can launch the tool.
./procsnap <pid> (see basic infos for a given PID)
./procsnap --json <pid> (same as previous command but with JSON output)
./procsnap --diff <pid> (see diff in VmRSS, VmSize or State of a given PID with a 1 sec interval)
./procsnap -g <name> (in dev)I will be happy if you want to open issues, give feedback, or even contribute.
If you want to contribute to this project, you can follow the instructions here: CONTRIBUTTING.md.
Hope you will enjoy this project.
procsnap is licensed under the GNU General Public License v2.0 (or later). See LICENSE for details.