Skip to content
forked from elastic/gosigar

Gathers system and per process statistics

License

Notifications You must be signed in to change notification settings

nickivanov/gosigar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go sigar Build Status Build status

Overview

Go sigar is a golang implementation of the sigar API. The Go version of sigar has a very similar interface, but is being written from scratch in pure go/cgo, rather than cgo bindings for libsigar.

Test drive

$ go get github.com/elastic/gosigar
$ cd $GOPATH/src/github.com/elastic/gosigar/examples/ps
$ go build
$ ./ps

Supported platforms

The features vary by operating system.

Feature Linux Darwin Windows OpenBSD
Cpu X X X X
CpuList X X
FileSystemList X X X X
FileSystemUsage X X X X
LoadAverage X X X
Mem X X X X
ProcArgs X X X
ProcExe X X
ProcList X X X
ProcMem X X X
ProcState X X X
ProcTime X X X
Swap X X X
Uptime X X X

License

Apache 2.0

About

Gathers system and per process statistics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%