aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/sysstatus.py
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-24 14:17:56 +0200
committerficus <ficus@robocracy.org>2012-09-24 14:17:56 +0200
commit862d0175747e46061f5ce59defe60ffb23fc3782 (patch)
tree8b9d43323a2805f9d87c58bb3388196308380634 /torouterui/sysstatus.py
parent52039642da2a578ce0e522353edc09f12cdd86f8 (diff)
downloadtui-862d0175747e46061f5ce59defe60ffb23fc3782.tar.gz
tui-862d0175747e46061f5ce59defe60ffb23fc3782.zip
pass through netif configuration
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():