[PATCH] Correct netcat examples
authorJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 12:49:51 +0000 (14:49 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 12:49:51 +0000 (14:49 +0200)
README

diff --git a/README b/README
index 80f4a5184ff22b71c5171df9c0d1d56c952e2701..15fac1a1ed8953b2c0ac5601d5ee296e6df40fcb 100644 (file)
--- a/README
+++ b/README
@@ -51,7 +51,7 @@ it will do batch sorts of input events. Similarly, you can do traces over
 the network with eg netcat:
 
 % blktrace -d /dev/sda -o - | netcat parsehost portno
-% netcat tracehost portno | blkparse -i -
+% netcat -l -p portno tracehost | blkparse -i -
 
 Which will send the traces from tracehost to parsehost over the network on
 the defined port number.