changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/aanuke

changeset 7243: 34f64dcbbc25
parent: adc1594188dd
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
1 #!/bin/rc
2 rfork e
3 for(i in `{psu | awk '/[ ]+aan$/ {print $2}'}){
4  if(! grep -s -e '[ ]+\/net(\.alt)?\/tcp\/[0-9]+\/data$' /proc/$i/fd)
5  echo '@{echo kill>/proc/'$i'/note} # aan (idle)'
6 }