github.com/hy3/cuto@v0.9.8-0.20160830082821-aa6652f877b7/util/proc.go (about)

     1  package util
     2  
     3  // IsProcessExists checks if process with pid running or not running.
     4  func IsProcessExists(pid int) bool {
     5  	return isProcessExists(pid)
     6  }