procsnap – a minimal Linux process profiler in C (no dependencies, suckless philosophy)
▲ 10 r/cprogramming+1 crossposts

procsnap – a minimal Linux process profiler in C (no dependencies, suckless philosophy)

I wrote a small CLI tool that snapshots /proc info for a given process — name, state, PPID, memory usage, cmdline. It also supports JSON output, process search by name, and a diff mode to compare a process state over time.

No external dependencies. Single binary. ~600 LOC.

procsnap <pid> / procsnap --json <pid> / procsnap --diff <pid> / procsnap -g <name>

Source: github.com/DankDown10256/procsnap

Feedback welcome — especially if you find edge cases or have ideas for v1.1 or to help me create a doc.

u/Humble-Insurance-768 — 4 days ago
▲ 46 r/LinuxRicing+1 crossposts

[dwm] My little dwm rice on Gentoo

Config

GitHub: https://github.com/DankDown10256/

Hope you will enjoy my config.

u/Humble-Insurance-768 — 4 days ago
▲ 11 r/lowlevel+1 crossposts

procsnap – a minimal Linux process profiler in C (no dependencies, suckless philosophy)

I wrote a small CLI tool that snapshots /proc info for a given process — name, state, PPID, memory usage, cmdline. It also supports JSON output, process search by name, and a diff mode to compare a process state over time.

No external dependencies. Single binary. ~600 LOC.

procsnap <pid> / procsnap --json <pid> / procsnap --diff <pid> / procsnap -g <name>

Source: github.com/DankDown10256/procsnap

Feedback welcome — especially if you find edge cases or have ideas for v1.1 or to help me create a doc.

u/Humble-Insurance-768 — 5 days ago
▲ 16 r/rust

Hi everyone,

I’ve been spending a lot of time with Rust lately, and I really wanted to build something that actually makes life easier for other devs. I realized I was getting pretty tired of manually setting up the same folder structures—like the usual Flask layout—every single time I started something new.

So, I put together a tool to handle all that scaffolding for you. It builds out your project's file tree in a few seconds, which has been a lifesaver for me when I just want to get straight to the code.

I’d love to get some feedback on it, but I’m mostly curious about your ideas. Are there specific project structures you find yourself rebuilding constantly? Let me know what you're working with, and I’ll make sure to add them to the templates.

Hope you enjoy it.

The GitHub (with all the step to use the tool) : https://github.com/DankDown10256/rust_project_templates_generator

u/Humble-Insurance-768 — 2 months ago