View | Details | Raw Unified | Return to bug 39302
Collapse All | Expand All

(-)a/management/univention-management-console-module-top/umc/python/top/__init__.py (-1 / +1 lines)
 Lines 66-72   def query(self, request): Link Here 
66
			listEntry['pid'] = process.pid
66
			listEntry['pid'] = process.pid
67
			listEntry['cpu'] = 0.0
67
			listEntry['cpu'] = 0.0
68
			listEntry['mem'] = process.get_memory_percent()
68
			listEntry['mem'] = process.get_memory_percent()
69
			listEntry['command'] = ' '.join(process.cmdline)
69
			listEntry['command'] = ' '.join(process.cmdline or [])
70
			if listEntry['command'] == '':
70
			if listEntry['command'] == '':
71
				listEntry['command'] = process.name
71
				listEntry['command'] = process.name
72
			if category == 'all':
72
			if category == 'all':

Return to bug 39302