- data['vm'] = trans.read('', '/local/domain/%d/vm' % domid)
- data['start_time'] = float(trans.read('', '%s/start_time' % data['vm']))
+ data['vm'] = xsc.read('', '/local/domain/%d/vm' % domid)
+ data['start_time'] = float(xsc.read('', '%s/start_time' % data['vm']))
+ data['uptime'] = time.time()-data['start_time']