Add windows service name lookup to procstat input (#4811)

This commit is contained in:
pytimer
2018-10-06 02:14:44 +08:00
committed by Daniel Nelson
parent db3967eb97
commit f81696b6b5
4 changed files with 87 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
// +build !windows
package procstat
import (
"fmt"
)
func queryPidWithWinServiceName(winServiceName string) (uint32, error) {
return 0, fmt.Errorf("os not support win_service option")
}