|
|
|
|
|
by lambdaxyzw
782 days ago
|
|
This makes me think, it would be nice if there was an easy built-in way to expose information about a process using the filesystem. Something like "cat /proc/$pid/fs/current_track" to get a name of a current song from a music player, or "ls /proc/$pid/fs/tabs" to list open tabs in my browser (and maybe use this to grab the html or embedded images). I mean right now it's possible to do this using FUSE, but that's convoluted and nobody does it. |
|