[LOG] Collecting Process Dump with Command Prompt
A process dump file, that is generated while the symptoms reproduce, is required for cause analysis if an issue occurs, or CPU usage spikes abnormally during the process.
If you need to collect a process dump in a situation where you cannot run the AhnReport screen directly, you can use a command prompt to run AhnReport's process dump collection feature.
To Check the Process Information for Collection
Open the Task Manager and go to the [Details] tab to check the PID of the process you wish to collect from.
For ASDSvc.exe, the main process of V3, there may be similar process names among AhnLab products.
If there are multiple processes with the same name, right-click on the process and select [Open file location] to verify the path of the program you wish to collect for.
To Collect the Process Dump
1. Download the AhnReport file from the link below and save it in the desired path.
2. Open Command Prompt (cmd.exe) as Admin.
3. Go to the directory where AhnRpt.exe is saved.
e.g.) If AhnRpt.exe is saved in the C:\temp folder,
type ‘cd C:\temp’ and press Enter.
4. Enter the command below to generate a process dump file.
AhnRpt.exe -d <folder> -pid <PID>
- Enter the path you wish to save the dump file in <folder>. If the folder does not exist, please create it in advance.
- Enter the PID you checked from the Task Manager in <PID>.
e.g.) If you wish to create a dump file for the ASDSvc.exe process with PID of 1176 in the ‘C:\temp’ folder, enter the following command.
AhnRpt.exe -d C:\temp -pid 1176
5. Once a notification about task completion is displayed, collect the generated dump file from the specified folder.