#! /bin/awk
# memory threshold is 50 MB. If this is more then we will output details.
BEGIN {rows=""; MEMTHRESHOLD = 50000}
{ 
	if ($(NF-1) ~ /MB/) {
		memsize = $(NF-2) * 1000;
		if ( memsize >= MEMTHRESHOLD ) {
			row = row" " $1;
		}
	}
}
END {print row }
