Could someone explain to me how to run this generateSampleWorkload.js file on vagrant virtual machine?
I think you simply use the
mongo command such as:
This will run it for default host and port. You may use any other arguments to run it for another host and port. See https://docs.mongodb.com/manual/reference/program/mongo/#std-option-mongo.-file.js- for more details.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.