gpctl

command
v4.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: GPL-2.0 Imports: 1 Imported by: 0

README

gpctl

CLI tool to query and modify goProbe's internal state

Invocation

./gpctl -s unix:/var/run/goprobe status eth0 eth1

This will produce the capture statistics (processed packets, drops, active capture, etc.) for interfaces eth0 and eth1.

Reloading goProbe's Configuration

To force a configuration reload of goProbe's interface configuration, point to its configuration file and run

./gpctl -s unix:/var/run/goprobe config -f /path/to/goprobe.yaml

Configuration

To avoid having to specify goProbe's API server address with every call, it is recommended to provide a minimal configuration file guiding API query behavior and creating an alias:

alias gpctl="./gpctl --config /path/to/gpctl.yaml"

Refer to gpctl-example-config.yaml for configuration options.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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