k3s/vendor/github.com/erikdubbelboer/gspt/README.md
Brad Davidson 1eec7348a5 Call setproctitle to conceal node args in ps output
This is related to #2014.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-07-28 15:49:49 -07:00

715 B

gspt

setproctitle() package for Go.

Build Status


Installation

Simple install the package to your $GOPATH with the go tool:

go get github.com/erikdubbelboer/gspt

Make sure Git is installed on your machine and in your system's PATH.

Usage

import "github.com/erikdubbelboer/gspt"

gspt.SetProcTitle("some title")

Please check the documentation for more details.