Appendix A: Access privileges required to read resource managers traces
In order to format and read resource manager traces, for example those in
/var/ct/< domain_name >/log/mc/IBM.GblResRM/, use the
rpttr -o dtic /var/ct/<domain_name>/log/mc/IBM.GblResRM/trace_summary*
You should have read/write access to the
/var/ct/< domain_name >/log/mc/IBM.GblResRM/
directory and also read access to the log files present in the directory.
If write access is not allowed to the directory, then read access to the directory and the log files can be sufficient. In this case you can use the following approach to read the logs:
Listing 40. Approach for reading the logs if write access is not allowed
mkdir ~/gblresrm_logs_copy cp /var/ct/<domain_name>/log/mc/IBM.GblResRM/trace_summary* ~/gblresrm_logs_copy rpttr -o dtic ~/gblresrm_logs_copy/trace_summary* rpttr -o dtic ~/gblresrm_logs_copy/trace_summary* > formatted_gblresrm.log
Note that by default log files permissions are set with read-write access for root only. Hence an administrator must provide a given user with the required additional privileges on these log files.