5 ms·
Maybe this is not super relevant, but my favorite hack is that any tree-like structure like this can be browsed with ncdu. Here's a gist for breaking down redis
by petethepig 6y ago
Maybe this is not super relevant, but my favorite hack is that any tree-like structure like this can be browsed with ncdu. Here's a gist for breaking down redis traffic by command for example:
https://gist.github.com/petethepig/0f33c910fb2edad8969a5775e23bb99f https://gist.github.com/petethepig/0f33c910fb2edad8969a5775e...
- loevborg 6y agoWhoa, I didn't know that! This is super useful as a general-purpose tree viewer! For the record, the relevant commands are ncdu -o /tmp/files.json and ncdu -f /tmp/files.json
- rakoo 6y agoNeat! Is there some documentation on the format ?
- mellosouls 6y agohttps://dev.yorhel.nl/ncdu/jsonfmt https://dev.yorhel.nl/ncdu/jsonfmt