test speed of network
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 25 May 2009 20:19:02 +0000 (20:19 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 25 May 2009 20:19:02 +0000 (20:19 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@97 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/netpipe-tcp/0.install [new file with mode: 0644]
recepies/netpipe-tcp/hosts [new file with mode: 0644]
recepies/netpipe-tcp/test.sh [new file with mode: 0755]

diff --git a/recepies/netpipe-tcp/0.install b/recepies/netpipe-tcp/0.install
new file mode 100644 (file)
index 0000000..a181228
--- /dev/null
@@ -0,0 +1,2 @@
+root@opl:~# apt-get install netpipe-tcp
+
diff --git a/recepies/netpipe-tcp/hosts b/recepies/netpipe-tcp/hosts
new file mode 100644 (file)
index 0000000..1c7a36a
--- /dev/null
@@ -0,0 +1,6 @@
+mjesec.ffzg.hr
+koha-hw.ffzg.hr
+10.60.0.90
+10.60.0.91
+10.60.0.92
+10.60.0.93
diff --git a/recepies/netpipe-tcp/test.sh b/recepies/netpipe-tcp/test.sh
new file mode 100755 (executable)
index 0000000..fc2367a
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cat hosts | xargs -i NPtcp -h {} -u 1048576 -o /tmp/{}.np