k3s/vendor/github.com/erikdubbelboer/gspt
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
..
.travis.yml Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00
gspt.go Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00
LICENSE Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00
README.md Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00
setproctitle.h Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00

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.