Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5189

db.hostInfo doesn't contain all fields

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      I see that db.hostInfo() in the docs doesn't include the following:

      • physicalCores
      • cpuString

      Here's my hostInfo from my mac:

      mixedSet:SECONDARY> db.hostInfo()
      {
      	"system" : {
      		"currentTime" : ISODate("2015-04-09T13:28:01.888Z"),
      		"hostname" : "cross-mb-air.local:27003",
      		"cpuAddrSize" : 64,
      		"memSizeMB" : 8192,
      		"numCores" : 4,
      		"cpuArch" : "x86_64\u0000",
      		"numaEnabled" : false
      	},
      	"os" : {
      		"type" : "Darwin",
      		"name" : "Mac OS X",
      		"version" : "14.1.0\u0000"
      	},
      	"extra" : {
      		"versionString" : "Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64\u0000",
      		"alwaysFullSync" : 0,
      		"nfsAsync" : 0,
      		"model" : "MacBookAir6,2\u0000",
      		"physicalCores" : 2,
      		"cpuFrequencyMHz" : 1700,
      		"cpuString" : "Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz\u0000",
      		"cpuFeatures" : "FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C\u0000 SYSCALL XD 1GBPAGE EM64T LAHF LZCNT RDTSCP TSCI\u0000",
      		"pageSize" : 4096,
      		"scheduler" : "multiq\u0000"
      	},
      	"ok" : 1
      }
      

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            william.cross William Cross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 32 weeks, 1 day ago