actually expose used ram properly.

meow-7.2.2
Beq 2023-07-09 01:23:46 +01:00
parent 7b47010835
commit 142781dae7
2 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ LLSD FSData::getSystemInfo()
sysinfo1 += llformat("%s\n\n", info["SERVER_VERSION"].asString().c_str());
sysinfo1 += llformat("CPU: %s\n", info["CPU"].asString().c_str());
sysinfo1 += llformat("Memory: %d MB\n", info["MEMORY_MB"].asInteger());
sysinfo1 += llformat("Memory: %d MB (Used: %d MB)\n", info["MEMORY_MB"].asInteger(), info["USED_RAM"].asInteger());
sysinfo1 += llformat("OS: %s\n", info["OS_VERSION"].asString().c_str());
sysinfo1 += llformat("Graphics Card Vendor: %s\n", info["GRAPHICS_CARD_VENDOR"].asString().c_str());
sysinfo1 += llformat("Graphics Card: %s\n", info["GRAPHICS_CARD"].asString().c_str());

View File

@ -50,7 +50,7 @@ You are in [REGION]
and this info sometimes gets sent to support. -->
<string name="AboutSystem">
CPU: [CPU]
Memory: [MEMORY_MB] MB
Memory: [MEMORY_MB] MB (Used: [USED_RAM] MB)
Concurrency: [CONCURRENCY]
OS Version: [OS_VERSION]
Graphics Card Vendor: [GRAPHICS_CARD_VENDOR]