added status information to status command in lish

This commit is contained in:
Johannes Findeisen 2013-10-28 03:24:25 +01:00
commit f4080ffffc
3 changed files with 11 additions and 71 deletions

View file

@ -155,4 +155,8 @@ class LinspectorInterface(object):
pass
def get_enabled_layouts(self):
self._config.get_enabled_layouts()
self._config.get_enabled_layouts()
def get_thread_count(self):
return {"Num Threads": str(self._scheduler._threadpool.num_threads),
"Max Threads": str(self._scheduler._threadpool.max_threads)}