Here is the definition of the -r command line option for tmadmin:
The -r option instructs tmadmin to enter the bulletin board as a client instead of as the administrator; in other words, it requests read-only access. This option is useful if you want to leave the administrator slot unoccupied. Note: If you decide to use this option, however, be aware that you will not get all the information you get by running tmadmin without the -r option. Specifically, tmadmin -r does not report load values for servers running at remote sites.
Only one tmadmin process can be the administrator at a time. When the -r option is specified by a user other than the Oracle Tuxedo administrator and security is turned on, the user is prompted for a password
The TMADMIN_CAT:119 is a warning message not an error. It is a reminder that the usage of the "-r" option restricts you to a subset of tmadmin commands. The "-r" option is used because only one "administrator" can be
running tmadmin at a time. The script you wish to use should just be executing commands that do not require you to be the administrator(e.g. print commands).
If you execute something like "echo psr | tmadmin -r" from a UNIX command line shell it should print out. to stdout, the servers that are running.
If you still have questions, let us know: then tmadmin command/commands you want to execute, the release of Tuxedo you are using, and whether you are using MP or SHM configuration.
Can I recommend that if you are going to be doing this sort of monitoring, you might want to consider using ipcs as it places the least amount of load on the system. If dealing with the output of ipcs is too difficult (to match up to Tuxedo servers, etc.), then consider using the Tuxedo MIB to query information. This eliminates the need to run tmadmin and should perform better than tmadmin as you won't have to parse the output. The results from the MIB call will be returned in an FML32 buffer. If you search this forum, you should be able to find other posts that describe the details of using the Tuxedo MIB and the .TMIB service. There is also information on doing this in the Tuxedo documentation.
Oracle Tuxedo Chief Architect