An unix way is by using the top command
In reply to Re: Module for memory allocation by lakshmananindia in thread Module for memory allocation by leslie