tklauser / ps

List, find and inspect operating system processes in Go

Home Page:https://pkg.go.dev/github.com/tklauser/ps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ps

Go Reference GitHub Action Status

Package ps provides functionality to find, list and inspect operating system processes, without using cgo or external binaries.

Supported operating systems: Linux, macOS, FreeBSD, NetBSD, OpenBSD, DragonflyBSD, Solaris/Illumos, Windows

Not all process information may be supported on all platforms. See the Go package reference for details.

This package is inspired by the github.com/mitchellh/go-ps and github.com/keybase/go-ps packages (the latter being a fork of the former). However, this package supports more operating systems, provides extended process information and uses only functionality from the Go standard libary and the golang.org/x/sys/unix and golang.org/x/sys/windows packages to retrieve information from the operating system, i.e. without using cgo or shelling out to external programs.

About

List, find and inspect operating system processes in Go

https://pkg.go.dev/github.com/tklauser/ps

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%