Windows Service is one of the profilee types that JustTrace enables you to choose from.
Windows Service profilee type allows you to profile a Windows Service on the local computer. When you select this profilee type
a list of available services will be shown. To make it easier to locate your own services, all known OS services are hidden by default. This can be changed
by clicking the Hide operating system services checkbox.
- Name - the name of the service.
- Status - the current service status.
- Security Account - the service Security Account.
- Process ID - the Process ID.
- Type - denotes whether the service is a 32-Bit or 64-Bit application.
- CLR Version - shows the service CLR Version. For running services, the exact CLR version is shown. For stopped services, Managed is shown when the service is a managed assembly. Otherwise, this field is empty.
- Profiler Attached - shows whether a sampling, tracing or memory profile is in progress.
You can also profile a running Windows service. There is one limitation though.
If you need to attach to a running service, then it can only be a .NЕТ 4 one and you can only use the Performance Profiler in sampling mode (Use tracing profiler is disabled).
This is a .NЕТ runtime limitation, because only .NЕТ 4 supports attaching a profiler to a running process.
Using the buttons located above the list of services you can:
- Start - start the selected service.
- Stop - stop the selected service.
- Restart - restart the selected service.
- Hide operating system services - Hide services from the list that are part of Windows
- Information - opens this help page.
Before profiling Windows services, JustTrace will make the service account a member of the Performance Log Users security group. This is necessary, because Windows services run in a different security context than that of the User Interface.
The service account will also be granted write permissions to the interactive account's temp directory.
To manage Windows services, go to Control Panel, System and Security, Administrative Tools and start the Services applet.
To manage Security settings, go to Control Panel, System and Security, Administrative Tools and start the Computer Management applet. Then use Local Users and Groups option.
To learn more about profiler types refer to Profiler Types topic.
After you finish configuring both the Profilee and Profiler press the Profile button to start the profiler.