How to gather the SRAdmin dump
search cancel

How to gather the SRAdmin dump

book

Article ID: 76582

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The ProcDump is a command-line utility whose primary purpose is monitoring an application for CPU spikes and generating crash dumps during a spike that an administrator or developer can use to determine the cause of the spike.

We are going to use the ProcDump to write a dump when the SRAdmin process encounters an unhandled exception or when the process terminates.

But one feature that is missing is the ability to run in the background. This is a problem if you get kicked off a server, the process will exit and you will not get the dump of the elusive process. The solution is another sysinternals tool: PsExec.

Resolution

1. ​Download the ProcDump and PsExec utilities from sysinternals.com and place them in a temporary folder.


2. Open a DOS-Prompt command line (cmd.exe) and navigate to the temporary folder.


3. Run the following syntax:

PsExec64.exe -u USERNAME -p PASSWORD -i 0 -d C:\Download\ProcDump>procdump64.exe -e -w -ma -n 3 -accepteula -t sradmin.exe C:\Download\ProcDump

4. Verify in the Windows Task Manager the PsExec.exe, procdump64.exe and sradmin.exe are running.

5. Once the SRadmin crashes, the dump is created.