ref: 5a50a0df165c237503a922a7496c37690c9d4d0b
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)' }