arblang 0.0.2

Visualize and modify Unix pipelines: pipe a stream in, arb spawns a dynamic TUI.
Documentation
1
2
3
4
5
6
7
8
# iptables — packet counts by target and high-traffic source addresses
#   iptables -L -v -n | arb -p iptables
bars .targets
source .targets { in; reject /Chain|target|^$/; field 3; tally }
gauge .pkts -max 100000
source .pkts { in; reject /Chain|target|^$/; field 1; where x > 0; sum }
tail .sources
source .sources { in; reject /Chain|target|^$/; field 8 }