Windows Performance count – select process with process id

If you have process having same name, it will be really difficult to collect performance counter. Here is a solution for this by modifying the registry key.

Click Start, click Run, type regedit, and then click OK.
Locate and then click the following registry subkey:

On the Edit menu, click New, and then click DWORD Value.
Right-click New Value #1, click Rename, and then type ProcessNameFormat to name the new value.
Right-click ProcessNameFormat, and then click Modify.
In the Data value box, type one of the following values, and then click OK:

1: Disables PID data. This value is the default value.
2: Enables PID data.

Exit Registry Editor.

This entry was posted in Performance, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s