Log thread count and memory usage on startup.
Helpful for diagnosing resource constrained systems. Change-Id: I9e31298d6fa1f5243175350ba48699c0772d486c Signed-off-by: Michael Meeks <michael.meeks@collabora.com>pull/7678/head
parent
164159ab26
commit
2238a40cca
|
@ -5841,6 +5841,10 @@ int COOLWSD::innerMain()
|
|||
std::string version, hash;
|
||||
Util::getVersionInfo(version, hash);
|
||||
LOG_INF("Coolwsd version details: " << version << " - " << hash << " - id " << Util::getProcessIdentifier() << " - on " << Util::getLinuxVersion());
|
||||
|
||||
LOG_INF("available memory: " << Util::getTotalSystemMemoryKb()/1024 << " MB");
|
||||
LOG_INF("hardware threads: " << std::thread::hardware_concurrency());
|
||||
|
||||
#endif
|
||||
|
||||
initializeSSL();
|
||||
|
|
Loading…
Reference in New Issue