hand
_1_38_36
4
返回栏目
0k
0.8k
0k
0k
0.5k
1k
0k
0k
2k
0.9k
2k
1k
1k
1k
0k
0k
1k
7k
0.2k
1k
0.2k
3k
0k
0.7k
0.3k
1k
0.5k
3k
0.2k
0.8k
0.3k
0k
0k
0.1k
0k
0k
返回MongoDB栏目
作者:
贺及楼
成为作者
更新日期:2024-07-14 09:28:30
db.hostInfo()
https://www.mongodb.com/zh-cn/docs/manual/reference/command/hostInfo/
{
"system" : {
"currentTime" : ISODate("<timestamp>"),
"hostname" : "<hostname>",
"cpuAddrSize" : <number>,
"memSizeMB" : <number>,
"memLimitMB" : <number>,
"numCores" : <number>,
"cpuArch" : "<identifier>",
"numaEnabled" : <boolean>
},
"os" : {
"type" : "<string>",
"name" : "<string>",
"version" : "<string>"
},
"extra" : {
"versionString" : "<string>",
"libcVersion" : "<string>",
"kernelVersion" : "<string>",
"cpuFrequencyMHz" : "<string>",
"cpuFeatures" : "<string>",
"pageSize" : <number>,
"numPages" : <number>,
"maxOpenFiles" : <number>
},
"ok" : <return>
}
MongoDB
整章节共36节
快分享给你的小伙伴吧 ~