You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
node_exporter/vendor/github.com/ema/qdisc
Ben Kochie 0e77317955
Update netlink vendoring (#1471)
5 years ago
..
.travis.yml Update netlink vendoring (#1471) 5 years ago
LICENSE.md Add qdisc collector for Linux (#580) 8 years ago
Makefile Add qdisc collector for Linux (#580) 8 years ago
README.md Add qdisc collector for Linux (#580) 8 years ago
get.go Update netlink vendoring (#1471) 5 years ago
go.mod Update netlink vendoring (#1471) 5 years ago
go.sum Update netlink vendoring (#1471) 5 years ago

README.md

qdisc Build Status

Package qdisc allows to get queuing discipline information via netlink, similarly to what tc -s qdisc show does.

Example usage

package main

import (
    "fmt"

    "github.com/ema/qdisc"
)

func main() {
    info, err := qdisc.Get()

    if err == nil {
        for _, msg := range info {
            fmt.Printf("%+v\n", msg)
        }
    }
}