We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac36af6 commit d855217Copy full SHA for d855217
1 file changed
core/src/main/java/de/bwaldvogel/mongo/backend/AbstractMongoBackend.java
@@ -223,10 +223,12 @@ private Document handleHostInfo() {
223
response.append("system", new Document()
224
.append("currentTime", Instant.now())
225
.append("hostname", Utils.getHostName())
226
+ .append("cpuArch", System.getProperty("os.arch"))
227
);
228
response.append("extra", new Document()
229
.append("versionString", osName + " " + osVersion)
- .append("kernelVersion", osVersion));
230
+ .append("kernelVersion", osVersion)
231
+ .append("physicalCores", Runtime.getRuntime().availableProcessors()));
232
Utils.markOkay(response);
233
return response;
234
}
0 commit comments