process

package
v0.0.0-...-212a885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

* @Date: 2022-07-15 23:11:47 * @LastEditors: Wangjun * @LastEditTime: 2022-07-15 23:14:08 * @FilePath: \golib\process\process.go * @Description:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProcessID

func GetProcessID(name string) (ids []int, err error)

*

  • @description: 获取指定进程名的ID
  • @param {string} name
  • @return {*}

Types

type Process

type Process struct {
	Size            uint32
	Usage           uint32
	ProcessID       uint32
	ParentProcessID uint32
	Name            string
}

func Processes

func Processes() (pss []*Process, err error)

*

  • @description: 获取进程列表
  • @return {*}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL