Listing of processes who are using high memory :
UNIX95= ps -eo sz,comm,args | sed 1d | sort -rn | head -10|awk '{size=$1/1024; printf("%dMb %s\n", size,$2);}'| more
or
UNIX95= ps -eo vsz,comm,args | sed 1d | sort -rn | more
Listing of processes who are using high CPU:
UNIX95= ps -e -o "vsz pcpu ruser pid stime time state args" | sort -rn |head -10