fprintf ((exit_status == EXIT_FAILURE) ? stderr : stdout,
PACKAGE_NAME" -- statsd traffic generator\n"
"\n"
- " Usage: statsd-ng [OPTION]\n"
+ " Usage: statsd-tg [OPTION]\n"
"\n"
" Valid options:\n"
" -c <number> Number of counters to emulate. (Default: %i)\n"
" (Default: "DEF_NODE")\n"
" -D <port> Destination port of the network packets.\n"
" (Default: "DEF_SERVICE")\n"
+ " -T <threads> Number of threads to use to generate load.\n"
" -h Print usage information (this output).\n"
"\n"
"Copyright (C) 2013 Florian Forster\n"
conf_threads_num = (int) sysconf (_SC_NPROCESSORS_ONLN);
#endif
- while ((opt = getopt (argc, argv, "c:t:g:s:S:d:D:h")) != -1)
+ while ((opt = getopt (argc, argv, "c:t:g:s:S:d:D:T:h")) != -1)
{
switch (opt)
{