win32pdh.LookupPerfNameByIndex

string = LookupPerfNameByIndex(machineName, index )

Returns the performance object name corresponding to the specified index.

Parameters

machineName : string

The name of the machine where the specified counter is located. The machine name can be specified by the DNS name or the IP address.

index : int

The index of the performance object.