processlist

package
v0.0.0-...-407cb69 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package processlist implements the v2 /ps endpoint's process listing for the full cAdvisor binary. It is injected into the lean library manager via manager.ProcessListProvider (the kubelet leaves that nil and lists no processes). The logic — shelling out to `ps` and filtering by the container's cgroup — lives here rather than in the library to keep the library lean.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(containerName string, isRoot bool, cadvisorContainer string, inHostNamespace bool) ([]model.ProcessInfo, error)

List returns the processes running in the named container. It satisfies the signature of manager.ProcessListProvider. containerName is the container's cgroup name ("/" for the root container); isRoot reports whether it is the root container.

Types

This section is empty.

Jump to

Keyboard shortcuts

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