source:
trunk/debathena/debathena/larvnet/busytest.sh
@
23126
Revision 23126, 273 bytes checked in by ghudson, 16 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[23126] | 1 | #!/bin/sh |
2 | ||
3 | # busytest.sh: Simple script to query busy information from an Athena | |
4 | # machine using netcat. Prints a hex dump of the output; for prettier | |
5 | # output you can try compiling and running busytest.c. | |
6 | ||
7 | port=49154 | |
8 | host=$1 | |
9 | ||
10 | printf "\0" | nc -q2 -u $host $port | od -c | |
11 |
Note: See TracBrowser
for help on using the repository browser.