diff --git a/ArchiSteamFarm/Commands.cs b/ArchiSteamFarm/Commands.cs index 258a6d7b0..3a14ec31c 100644 --- a/ArchiSteamFarm/Commands.cs +++ b/ArchiSteamFarm/Commands.cs @@ -2545,8 +2545,9 @@ namespace ArchiSteamFarm { } ushort memoryInMegabytes = (ushort) (GC.GetTotalMemory(false) / 1024 / 1024); + TimeSpan uptime = DateTime.UtcNow.Subtract(RuntimeCompatibility.ProcessStartTime); - return FormatBotResponse(string.Format(Strings.BotStats, memoryInMegabytes)); + return FormatBotResponse(string.Format(Strings.BotStats, memoryInMegabytes, uptime.ToHumanReadable())); } private (string Response, Bot Bot) ResponseStatus(ulong steamID) { diff --git a/ArchiSteamFarm/Localization/Strings.Designer.cs b/ArchiSteamFarm/Localization/Strings.Designer.cs index 90c000015..a1209188b 100644 --- a/ArchiSteamFarm/Localization/Strings.Designer.cs +++ b/ArchiSteamFarm/Localization/Strings.Designer.cs @@ -583,7 +583,8 @@ namespace ArchiSteamFarm.Localization { } /// - /// Wyszukuje zlokalizowany ciąg podobny do ciągu Current memory usage: {0} MB.. + /// Wyszukuje zlokalizowany ciąg podobny do ciągu Current memory usage: {0} MB. + ///Process uptime: {1}. /// public static string BotStats { get { diff --git a/ArchiSteamFarm/Localization/Strings.resx b/ArchiSteamFarm/Localization/Strings.resx index 5726341db..3870e4fcf 100644 --- a/ArchiSteamFarm/Localization/Strings.resx +++ b/ArchiSteamFarm/Localization/Strings.resx @@ -612,8 +612,9 @@ StackTrace: You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given. - Current memory usage: {0} MB. - {0} will be replaced by number (in megabytes) of memory being used + Current memory usage: {0} MB. +Process uptime: {1} + {0} will be replaced by number (in megabytes) of memory being used, {1} will be replaced by translated TimeSpan string (such as "25 minutes"). Please note that this string should include newlines for formatting. Clearing Steam discovery queue #{0}...