Skip to content
Archive of entries posted on July 2010

Munin traffic accounting with iptables

Get graphs for specific protocol, ports, or IP address

Linux bridge: MAC addresses and dynamic ports

Scenario: KVM virtualization host running several bridged guests. The host has a bridge interface br0 that starts out containing only eth0, and other interfaces are dynamically added and removed from the bridge as guests are started and stopped. The problem is, the host seems to randomly suffer some loss of connectivity (from a few to […]

Working with blocks in awk

Recognize multiline blocks of text using awk

Before and after match in awk

Get lines that are n lines before or after a match.

Run a command on all files in a hierarchy

Something that everybody needs to do sooner or later.