Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/console/plugins/clean_size/info.py
blob: e223ea543eabb32bb9b8d3425fedb9fcac2e26ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
###########################################################
# Main function:
# -----------------
# self:  self plugin object
# mself: memphis object / principal class
# pinfo: row with information about current tracing process
############################################################

def plg_on_top_data_refresh(self, pinfo):
		
	# Get clean size
	maps = self.INTERNALS['Plg'].proc_get_maps(pinfo['pid'])

	size = (maps.clean_size/1024)
	return [size]