Skip to content

sparrc/nstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nstat

Go library clone of nstat

c := &nstat.Counters{DumpZeros: true}
for counter, value := range c.Get() {
	fmt.Printf("%-32s %d\n", counter, value)
}

see API documentation

Installing the binary:

go get github.com/sparrc/nstat/...
# -a is always on:
nstat -z

About

Go library & clone of nstat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages