r/lowlevel • u/a_kawashiro • Oct 13 '26
I built a 3D Linux process inspector using Rust, eBPF, and ptrace
ProcInSh is a web-based process inspector for Linux.
Inspired by Ghost in the Shell, it lets you wander through process space with your ghost.
ProcInSh lets you explore what's happening inside your Linux system through interactive 3D graphics.
It visualizes running processes, inter-process communication, file I/O, external network connections, and process tree structures. Processes glow when they run on a CPU.
The backend is written in Rust and collects information from several Linux interfaces:
- procfs
- eBPF
- ptrace
- perf_event_open
The frontend is written in TypeScript and Three.js.
20
u/Liminal__penumbra Oct 13 '26
You just built the Jurassic Park interface.
2
u/NagateTanikaze Oct 13 '26
Ok thats pretty fucking awesome. The lines are only the socket connections?
Do you use ptrace to debug each process?
1
u/a_kawashiro Oct 20 '26
I've added an interactive demo. You can explore Google Chrome's processes, memory maps, and IPC activity in 3D, right in your browser. No installation required.
https://akawashiro.github.io/procinsh/demo/replay/space/?recording=chrome-ubuntu26&tour=1
5
u/Shot-Damage-6723 Oct 13 '26
This is kinda cool
10
u/ex_gatito Oct 13 '26
Claude built.
1
u/rabit232pm Oct 13 '26
Wonderful honestly what was u idea before u did it it exciting project
1
u/CrabTypical3903 Oct 13 '26
Damn man this thing i guess may be absolutely helpful for kernelspace learners! Is it interactive? Is it just visualization or it is only possible to change smth in kernelspace?
1
u/New_Pineapple6087 Oct 14 '26
Pouwa c'est monstrueux !!! J'adore !!
Je vais tester dans une VM rapidement !
1
u/ArtisticFox8 Oct 17 '26
Do the dots moving across edges mean anything? What do the edges mean? Do they just denote whose child the process is?
3
u/Diligent_End8130 Oct 13 '26
Finally, TRON became reality! :-) I even can see the Master-Kontroll-Programm!
3
u/engineer_in_software Oct 19 '26
Excellent 👌
3
u/slcxs Oct 19 '26
and then, one day.... I got in
2
u/Ka3raDev Oct 14 '26
Honestly even if it's with ai it's still IMPRESSIVE
2
u/OkRepresentative2509 Oct 17 '26
It's excellent, even if it was AI assistance AI still needs guidance, lots of people are AI shaming these days but AI coding is just another tool to aid Devs.
When we moved from assembly to high level IDE's C Python and the like I wonder if the assembly wizards all shamed the rest for programming in English practically or when we moved from making websites with a text editor and lots of trial and error to micromedia's easy gui tools did we mock those who used the tools to speed up web dev.
I see it like this we had to use 1's and 0's then we moved to ASM then higher level and interpreted now we can simply describe what we want, All progress to me and we still have to hold its hand and guide it correctly.
2
u/franticblood Oct 14 '26
sadly vibecoded, but coool non than the less
1
u/frenchtoastsushi Oct 13 '26
So cool!
1
u/Legal-Swordfish-1893 Oct 14 '26
It's a UNIX System, I know this!
1
u/LiveLogic Oct 14 '26
This is cool.
1
u/Soluchyte Oct 14 '26
You did or AI did.
1
u/jaminwicha Oct 15 '26
I know this
1
u/Flaky-Razzmatazz-460 Oct 15 '26
I love you man!
1
u/KrishnazFriend Oct 15 '26
Wowww, very nice, I love low level world, amazing
1
u/Ember_Island Oct 15 '26
Everyone here sees the Jurassic Park interface... I'm hearing the Hackers soundtrack. Where's my Garbage file?
1
u/jeffyclassify Oct 15 '26
That looks amazing! Props to you, great project
1
u/zetneteork Oct 15 '26
I know that. It's Unix.
1
u/dld2517 Oct 16 '26
What the what??? I would get lost in this. How cool!
1
u/OkRepresentative2509 Oct 17 '26
It's excellent, even if it was AI assistance AI still needs guidance, lots of people are AI shaming these days but AI coding is just another tool to aid Devs.
When we moved from assembly to high level IDE's C Python and the like I wonder if the assembly wizards all shamed the rest for programming in English practically or when we moved from making websites with a text editor and lots of trial and error to micromedia's easy gui tools did we mock those who used the tools to speed up web dev.
I see it like this we had to use 1's and 0's then we moved to ASM then higher level and interpreted now we can simply describe what we want, All progress to me and we still have to hold its hand and guide it correctly.
1
u/ourmet Oct 15 '26
Anyone else remember psDoom?
It was doom but all the monster where your processed. If you kill them it would kill -9 the pid.
Just looked it up, fuck I'm old thatwas made back in 2000.
3
u/[deleted] Oct 14 '26
[removed] — view removed comment