A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/moby/moby/v2@v2.0.0-20250814210528-a34c4d9bb99f/pkg/process below:

process package - github.com/moby/moby/v2/pkg/process - Go Packages

Package process provides a set of basic functions to manage individual processes.

This section is empty.

This section is empty.

Alive returns true if process with a given pid is running.

It only considers positive PIDs; 0 (all processes in the current process group), -1 (all processes with a PID larger than 1), and negative (-n, all processes in process group "n") values for pid are never considered to be alive.

Kill force-stops a process. It only allows positive PIDs; 0 (all processes in the current process group), -1 (all processes with a PID larger than 1), and negative (-n, all processes in process group "n") values for pid producs an error. Refer to KILL(2) for details.

Zombie return true if process has a state with "Z". It only considers positive PIDs; 0 (all processes in the current process group), -1 (all processes with a PID larger than 1), and negative (-n, all processes in process group "n") values for pid are ignored. Refer to PROC(5) for details.

Zombie is only implemented on Linux, and returns false on all other platforms.

This section is empty.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4