added ram stats
This commit is contained in:
parent
a52a17ac25
commit
2a104d7459
3 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue