aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/sysstatus.py
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/sysstatus.py')
-rw-r--r--torouterui/sysstatus.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/torouterui/sysstatus.py b/torouterui/sysstatus.py
index 32caa26..2d19458 100644
--- a/torouterui/sysstatus.py
+++ b/torouterui/sysstatus.py
@@ -10,10 +10,11 @@ from util import *
def get_system_status():
d = dict()
d['hostname'] = cli_read('hostname')
- d['fqdn'] = cli_read('hostname -f')
- d['domain'] = cli_read('hostname -d')
d['current_time'] = cli_read('date -R')
d['uptime'] = cli_read('uptime')
+ # the following do DNS lookups and execute very slowly
+ #d['fqdn'] = cli_read('hostname -f')
+ #d['domain'] = cli_read('hostname -d')
return d
def get_resources_status():