(→Appendix E: Windows Services Thread Dump Example)
|
(→Appendix E: Windows Services Thread Dump Example)
|
Line 228: | |||
An example set of steps to take a thread dump from a Windows Service. | An example set of steps to take a thread dump from a Windows Service. | ||
# Verify what processes are running on the system with both 'jps' and 'Windows Task Manager' | # Verify what processes are running on the system with both 'jps' and 'Windows Task Manager' | ||
- | ## Screenshot | + | ## [[Image:JPSTASKMAN.png|thumb|left|220px|alt=Screenshot showing JPS & Task Manager being ran to identify PIDs.|Screenshot showing JPS & Task Manager being ran to identify PIDs.]] |
# Prepare the command in a high-quality text editor | # Prepare the command in a high-quality text editor | ||
- | ## Screenshot | + | ## [[Image:COMMANDCREATION.png|thumb|left|220px|alt=Forming the command in Notepad++|Forming the command in Notepad++]] |
# Execute the command from an '''Administrative Command Prompt'''. Note that it has to be ran under an '''Administrative Command Prompt''' for full system access. | # Execute the command from an '''Administrative Command Prompt'''. Note that it has to be ran under an '''Administrative Command Prompt''' for full system access. | ||
- | ## Screenshot | + | ## [[Image:TRANSFER.png|thumb|left|220px|alt=Commands moved from Notepad++ to command prompt.|Commands moved from Notepad++ to command prompt.]] |
# Verify that scheduled tasks exist. | # Verify that scheduled tasks exist. | ||
- | ## Screenshot | + | ## [[Image:VERIFICATION.png|thumb|left|220px|alt='at' commands exist|'at' commands exist]] |
# Observe that thread dumps have been created in the location of your choice. | # Observe that thread dumps have been created in the location of your choice. | ||
- | ## Screenshot | + | ## [[Image:DUMPSCREATED.png|thumb|left|220px|alt=Thread dumps and heap dumps have been created.|Thread dumps and heap dumps have been created.]] |