Skip to content
/ rstatd Public

A Go rstatd client: for all your linux kernel monitoring needs

Notifications You must be signed in to change notification settings

yhat/rstatd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A Go rstatd client

GoDoc

package main

import (
    "fmt"

    "github.com/yhat/rstatd"
)

func main() {
    stats, err := rstatd.ReadStats()
    if err != nil {
        panic(err)
    }
    fmt.Println(stats.CPUUser, stats.CPUNice, stats.CPUSys, stats.CPUIdle)
}

About

A Go rstatd client: for all your linux kernel monitoring needs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages