GTop would be one option.
In reply to Re: memory monitoring within perl code by almut in thread memory monitoring within perl code by Anonymous Monk