ref: 6a09d2da7e29f18a244f3a3a2959d0a78ed9540b
dir: /rc/bin/aanuke/
#!/bin/rc
rfork e
for(i in `{psu | awk '/[ ]+aan$/ {print $2}'}){
if(! grep -s -e '[ ]+\/net(\.alt)?\/tcp\/[0-9]+\/data$' /proc/$i/fd)
echo '@{echo kill>/proc/'$i'/note} # aan (idle)'
}