How can I get memory usage or anything that show memory used from sar file?

Refer from title:

How can i get memory used or anything that can show memory from sar file

example on solaris:-
we can use sar with option to show memory used at time that sar crontab run.

on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some value to calculate memory used.

how can i find it?
thanks very much :wink:

something like :
UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | more ?