zoukankan      html  css  js  c++  java
  • mongodb的启动配置查询serverCmdLineOpts



    glc-test:PRIMARY> db.serverCmdLineOpts() { "argv" : [ "/home/work/mongodb/4.0.17/bin/mongod", "--config", "/home/work/mongodb/mongo_28042/etc/mongodb.conf" ], "parsed" : { "cloud" : { "monitoring" : { "free" : { "state" : "off" } } }, "config" : "/home/work/mongodb/mongo_28042/etc/mongodb.conf", "net" : { "bindIp" : "10.132.3.31,localhost", "maxIncomingConnections" : 10240, "port" : 28042, "serviceExecutor" : "adaptive" }, "operationProfiling" : { "mode" : "slowOp", "slowOpThresholdMs" : 100 }, "processManagement" : { "fork" : true, "pidFilePath" : "/home/work/mongodb/mongo_28042/tmp/mongo_28042.pid" }, "replication" : { "oplogSizeMB" : 65536, "replSetName" : "glc-test" }, "security" : { "authorization" : "enabled", "clusterAuthMode" : "keyFile", "keyFile" : "/home/work/mongodb/mongo_28042/etc/glc-test" }, "storage" : { "dbPath" : "/home/work/mongodb/mongo_28042/data", "directoryPerDB" : true, "engine" : "wiredTiger", "journal" : { "commitIntervalMs" : 100, "enabled" : true }, "wiredTiger" : { "collectionConfig" : { "blockCompressor" : "snappy" }, "engineConfig" : { "cacheSizeGB" : 4, "directoryForIndexes" : true, "journalCompressor" : "snappy" }, "indexConfig" : { "prefixCompression" : true } } }, "systemLog" : { "destination" : "file", "logAppend" : true, "path" : "/home/work/mongodb/mongo_28042/log/mongodb.log" } }, "ok" : 1, "operationTime" : Timestamp(1605579701, 1), "$clusterTime" : { "clusterTime" : Timestamp(1605579701, 1), "signature" : { "hash" : BinData(0,"Lx7GKPGdDiPL2zQcXKNUpTd/Pmw="), "keyId" : NumberLong("6856584343653974019") } } } glc-test:PRIMARY>

    ##########################################################################

  • 相关阅读:
    Soap 教程
    MAC mysql install
    PHP date
    MAC 终端terminal颜色
    MAC 终端颜色设置
    MAC brew软件安装
    PHP iconv函数
    Java----前端验证之验证码额实现
    Java---Ajax在Struts2框架的应用实例
    Java基础—标识符及命名规范
  • 原文地址:https://www.cnblogs.com/igoodful/p/13992885.html
Copyright © 2011-2022 走看看