MathiasJeschkeRestricted

From
Revision as of 22:16, 24 January 2006 by Jeschke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get versions from neighbour beacons

$ click-align /mnt/mj/brn/dump_sdp.click | /tmp/clickrun/click


Get versions via telnet (Ethernet conn. required)

#!/bin/sh

exec 2>&-

HOSTS=${1:-$(seq 21 55)}

for i in $HOSTS
do
  echo -n "wgt$i "
  echo -n "read sdp/sdp.meta" | netcat -w 1 wgt$i 7777 | sed -n 4p | sed 's/.*\(version="[0-9]*"\).*\(start_time="[0-9]*"\).*/\1 \2/' |tr '\012' ' '
  echo
done