How many programs output to /dev/null? (a CLI to visualize `lsof` output)
Quite a few!
This was created by a Rust CLI program called lvis ("lsof visualization", creative name I know, and oddly sounds like "elvis") I developed that creates an interactive GUI to visualize the output oflsof to make relationships between processes and files (and also between some types of files) more clear.
My motivation was I was experimenting locally with a client-server architecture and used lsof to inspect their active TCP port connections on localhost . I noticed the port connections formed a natural graph and I thought visualizing these relationships would be more natural. I imagined visualizing other lsof output could be useful for mapping network connections, unix sockets, which processes have which resources open, etc.
I've found clicking around has uncovered some interesting things, like which programs are listening on all which ports and what IPC methods the main rust analyzer process and proc macro server use to communicate (turns out two pipes and 1 unix socket).
You can install the crate to try it out: https://crates.io/crates/lvis or poke around the code: https://github.com/brylee10/lvis