diff --git a/src/onionrstatistics/serializeddata.py b/src/onionrstatistics/serializeddata.py index 2d03ed77..fab01298 100755 --- a/src/onionrstatistics/serializeddata.py +++ b/src/onionrstatistics/serializeddata.py @@ -52,4 +52,5 @@ class SerializedData: stats['blockCount'] = len(blockmetadb.get_block_list()) stats['blockQueueCount'] = len(comm_inst.blockQueue) stats['threads'] = proc.num_threads() + stats['ramPercent'] = proc.memory_percent() return json.dumps(stats) diff --git a/static-data/www/private/index.html b/static-data/www/private/index.html index cf210853..efd77806 100755 --- a/static-data/www/private/index.html +++ b/static-data/www/private/index.html @@ -268,6 +268,10 @@ Current CPU threads: +