If you are doing this interactively, then the ^JOBEXAM utility might come in handy:
1. Do ^JOBEXAM (in the %SYS namespace of a terminal session)
2. Type E and then enter either the Job # or P followed by the pid of the target process (e.g. P7176)
3. Type P to view process-private globals
4. Enter the name of the process-private global you want to examine. Examples:
Process Private Global (?): testing
Process Private Global (?): testing(1)
Does this help you accomplish what you were trying to do?