Changeset 662 for trunk/packages/sipb-xen-www/code/main.py
- Timestamp:
- Jun 29, 2008, 12:40:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r640 r662 492 492 else: 493 493 main_status = dict(status[1:]) 494 main_status['host'] = controls.listHost(machine) 494 495 start_time = float(main_status.get('start_time', 0)) 495 496 uptime = datetime.timedelta(seconds=int(time.time()-start_time)) … … 508 509 ('uptime', 'uptime'), 509 510 ('cputime', 'CPU usage'), 511 ('host', 'Hosted on'), 510 512 ('memory', 'RAM'), 511 513 'DISK_INFO',
Note: See TracChangeset
for help on using the changeset viewer.