You can use
top command, this command will give you the memory total and free...
or
You can try prtdiag command ...
here is the link if you can't find it in your box..
http://people.redhat.com/tcallawa/prtdiag/
Regarding shutdown command, choose appropriate one depending on your need, I think the usage syntax is very clear as to which option to choose.