2006-11-16 13:09:07 +01:00
|
|
|
###########################################################
|
|
|
|
# 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):
|
2006-12-04 20:12:24 +01:00
|
|
|
|
|
|
|
# Get clean size
|
|
|
|
maps = self.INTERNALS['Plg'].proc_get_maps(pinfo['pid'])
|
2006-11-16 13:09:07 +01:00
|
|
|
|
2006-12-04 20:12:24 +01:00
|
|
|
size = (maps.clean_size/1024)
|
|
|
|
return [size]
|