centos support?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

centos support?

birdsview
Hi,

I'm trying to deploy cosbench on centos. There are some scripts rely on nc -q which is an invalid parameter on Fedora
and RHEL. As a result whenever -q is used an error message is printed and nc fails.

nc: invalid option -- 'q'
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
          [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
          [-x proxy_address[:port]] [hostname] [port[s]]

Is it possible to fix the script so it can run on centos as well?

Thanks very much,
L
Reply | Threaded
Open this post in threaded view
|

Re: centos support?

ywang19
Administrator
one similar case reported on redhat, here is the thread: http://cosbench.1094679.n5.nabble.com/cosbench-on-RedHat-td13.html. Generally, different nc binaries are used on different linux distro, for redhat or centos, the TOOL_PARAMS parameter defined in "cosbench-start.sh" should be set empty, while ubuntu and debian need "-q 1".
Reply | Threaded
Open this post in threaded view
|

Re: centos support?

birdsview
Thank you for the tip, it's working now