Memory size:

prtconf

Current RAM usage (“top” equivalent):

prstat -t