$ ~/bins/mongodb-osx-x86_64-2.5.3/bin/mongosniff --help
|
Error parsing command line: unknown option help
|
try '/Users/asya13/bins/mongodb-osx-x86_64-2.5.3/bin/mongosniff --help' for more information
|
|
$ ~/bins/mongodb-osx-x86_64-2.5.2/bin/mongosniff --help
|
Usage: mongosniff [--help] [--forward host:port] [--source (NET <interface> | (FILE | DIAGLOG) <filename>)] [<port0> <port1> ... ]
|
--forward Forward all parsed request messages to mongod instance at
|
specified host:port
|
--source Source of traffic to sniff, either a network interface or a
|
file containing previously captured packets in pcap format,
|
or a file containing output from mongod's --diaglog option.
|
If no source is specified, mongosniff will attempt to sniff
|
from one of the machine's network interfaces.
|
--objcheck Log hex representation of invalid BSON objects and nothing
|
else. Spurious messages about invalid objects may result
|
when there are dropped tcp packets.
|
<port0>... These parameters are used to filter sniffing. By default,
|
only port 27017 is sniffed.
|
--help Print this help message.
|
|