compare 2 Solaris servers

hello

I want to compare settings on 2 servers.
1] what is the command to ssh on servers and execute commands such as

prtconf | grep Memory
uname -a

2] Do you have a built-in script that executes this service?

thanks.

It depends what you need to be compared.
Use for example "prtconf" ; "psrinfo" and append their results to a file, execute the same commands in different file on the next server, and then even "diff" the files.

maybe you should use the sun explorer to collect all your settings ans compare the output of the two explorer files...
#82329: Sun[TM] Explorer 5.10 Data Collector

have a look at /opt/SUNWexplo! thats the place where the explorer ist installed if it's already on your system.