/[sysadmin-cookbook]/recepies/netpipe-tcp/test.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/netpipe-tcp/test.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by dpavlin, Mon May 25 20:19:02 2009 UTC revision 162 by dpavlin, Fri Feb 19 21:47:40 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  cat hosts | xargs -i NPtcp -h {} -u 1048576 -o /tmp/{}.np  cd /srv/sysadmin-cookbook/recepies/netpipe-tcp/
4    while read host ; do
5            echo "TEST `hostname` $host"
6            NPtcp -h $host -u 1048576 -o /tmp/$host.np
7    done < hosts

Legend:
Removed from v.97  
changed lines
  Added in v.162

  ViewVC Help
Powered by ViewVC 1.1.26