Record topas command output

How to record output of below command in a text file.

topas -P

or is there any other command which will do the same thing in AIX.

I would like to get a report something similar to below commands.

top -b
prstat -c

you can use redirection to send the command output to a file instead of the standard output (that is your display device).

top -b > top_output.txt
top -b

is not available in AIX.

Set up nmon, it can write this information to a file. nmon2rrd can convert it to a graphic, if needed.

Check the link: nmon

@zaxxon is it possible for nmon to record only process related information (pid,process,user &cpu) ,similar to pressing t/u in nmon interactice mode.

IIRC, it records some information automatically so it is not just the plain output of your top processes. You can check the documentation for nmon and try it out.
Here a short excerpt from the documentation: