|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T n
Length: 547 (0x223)
Types: TextFile
Names: »nntplink-kill«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦f91e15335⟧ »EurOpenD3/news/nntp/nntplink2.0.0.tar.Z«
└─⟦2c70c5e6b⟧
└─⟦this⟧ »nntplink-kill«
#!/bin/csh -f
#
# A script useful for nuking all nntplinks.
#
if (`/bin/hostname` != tut.cis.ohio-state.edu) then
echo No NNTP links started - this is not Tut.
exit 1
endif
set path=(/usr/lib/news /usr/ucb /usr/bin /bin /usr/local/bin /etc /usr/etc)
set file=/tmp/.nntp.ps
echo Checking processes for existing nntplinks...
/bin/ps ax |& grep nntplink |& egrep -v grep\|nntplink-kill |& /bin/tee $file
echo ...done.
echo Nuking NNTP links...
/bin/awk '{ print $1 }' < $file | /usr/.attbin/xargs /bin/kill -9
echo ...done.
/bin/rm -f $file
exit 0