j2000_status.cgi 141 Bytes
Newer Older
Michel Roelofs's avatar
Michel Roelofs committed
1
#!/bin/bash
Jeroen Vreeken's avatar
Jeroen Vreeken committed
2
3
4
5
6

STATUS_HOST="localhost"
STATUS_PORT="11030"

(echo "" ; cat | /usr/bin/nc $STATUS_HOST $STATUS_PORT ) | awk -f j2000_status.awk