jinying8869 发表于 2018-10-27 10:14:07

MongoDB实战(8)性能监控

# ./mongosniff --source NET lo  
sniffing... 27017

  
127.0.0.1:38500 -->> 127.0.0.1:27017 admin.$cmd 60 bytes>  
query: { whatsmyuri: 1 } ntoreturn: 1 ntoskip: 0

  
127.0.0.1:27017 > 127.0.0.1:27017 admin.$cmd 80 bytes>  
query: { replSetGetStatus: 1, forShell: 1 } ntoreturn: 1 ntoskip: 0

  
127.0.0.1:27017 > 127.0.0.1:27017 admin.$cmd 67 bytes>  
query: { listDatabases: 1.0 } ntoreturn: -1 ntoskip: 0

  
127.0.0.1:27017
  
sizeOnDisk: 67108864.0, empty: false }, { name: "admin",>
  
{ name: "local",>
  
127.0.0.1:38500 -->> 127.0.0.1:27017 admin.$cmd 80 bytes>  
query: { replSetGetStatus: 1, forShell: 1 } ntoreturn: 1 ntoskip: 0

  
127.0.0.1:27017
页: [1]
查看完整版本: MongoDB实战(8)性能监控