Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var Behavior = behavior.Register(...) + type Entry struct + CPUPercent float64 + Command string + MemPercent float32 + MemRSS int64 + Name string + PID int + StartTime string + State string + User string + func Get(ctx context.Context, p Provider, in GetInput) (Entry, error) + func List(ctx context.Context, p Provider, _ ListInput) ([]Entry, error) + type GetInput struct + PID int + type ListInput struct + type Provider interface + Get func(ctx context.Context, pid int) (Entry, error) + List func(ctx context.Context) ([]Entry, error) + Signal func(ctx context.Context, pid int, signal types.Signal) error + type Result struct + Changed bool + PID int + Signal types.Signal + func Signal(ctx context.Context, p Provider, in SignalInput) (Result, error) + type SignalInput struct + PID int + Signal types.Signal