question

thinkwind avatar image
thinkwind asked thinkwind commented

我使用dsbulk统计表的总量,使用参数--stats.mode hosts未生效

我使用命令dsbulk count -h 192.168.1.11 -u admin -p xxx -k xx -t xx --log.verbosity 0 --stats.mode hosts 统计表的总量,返回的数据并没有按主机(host)计数 ,而是返回这个表的总数,请问是什么原因?

dsbulk
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

alexandre.dutra avatar image
alexandre.dutra answered thinkwind commented

Hi the correct setting is --stats.modes (because you can provide a list of modes, e.g. --stats.modes hosts,ranges).

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

thinkwind avatar image thinkwind commented ·

测试了,确实是命令的问题,非常感谢!!

0 Likes 0 ·
Erick Ramirez avatar image
Erick Ramirez answered thinkwind commented

您没有发布命令的输出,因此我无法评估问题所在。

请在原始问题中包括输出。 谢谢。

You didn't post the output of the command so I'm unable to assess what the problem is.

Please include the output in your original question. Cheers!

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

thinkwind avatar image thinkwind commented ·

感谢您的回复,使用了命令
dsbulk count -h 192.168.1.11 -u admin -p xxx -k xx -t xx --log.verbosity 0 --stats.mode hosts ,返回结果是下图,并没有按主机计数

1614766771975.png

0 Likes 0 ·
1614766771975.png (68.7 KiB)