Sha256: 69fb2c1e9f454d184d2e2cbbbadb7337f17101b1d7e5c9f1923f84c4e0b7e94b
Contents?: true
Size: 526 Bytes
Versions: 28
Compression:
Stored size: 526 Bytes
Contents
#!/bin/sh port=22123 socatopt="-t 20 -T 20 -b 8193 -d -d " key="" keys="" get_command="" # build for i in `seq 1 512`; do if [ `expr $i % 2` -eq "0" ]; then key="foo" else key="bar" fi key=`printf "%s%d" "${key}" "${i}"` keys=`printf "%s %s" "${keys}" "${key}"` done get_command="get ${keys}\r\n" printf "%b" "$get_command" # read for i in `seq 1 16`; do printf "%b" "${get_command}" | socat ${socatopt} - TCP:localhost:${port},nodelay,shut-none,nonblock=1 1> /dev/null 2>&1 & done
Version data entries
28 entries across 28 versions & 1 rubygems