processKit

package
v2.8.157 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetRunningPids func() ([]int32, error) = process.Pids
View Source
var PID int = os.Getpid()
View Source
var PidExists func(pid int32) (bool, error) = process.PidExists

PidExists pid是否存在?

Functions

func GetProcessCount

func GetProcessCount() (int, error)

GetProcessCount 获取: (瞬时的值)系统中所有进程的数量.

支持: Linux、Mac

func GetProcessThreadCount

func GetProcessThreadCount() (int, error)

GetProcessThreadCount 获取: (瞬时的值)系统中所有进程及其线程的数量.

支持: Linux 不支持: Mac

Types

This section is empty.

Jump to

Keyboard shortcuts

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