{"repo":"mackerelio/go-osstat","free":true,"listed":false,"github":"https://github.com/mackerelio/go-osstat","clone":"git clone https://github.com/mackerelio/go-osstat.git","description":"OS system statistics library for Go","language":"Go","stars":422,"topics":["golang","golang-library","go","system-information"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"OS system statistics library for Go This is a library to get system metrics like cpu load and memory usage. The library is created for mackerel-agent. Example Supported OS loadavg uptime cpu memory network disk i/o :--: :--: :--: :--: :--: :--: :--: Linux yes yes yes yes yes yes Darwin yes yes 1 yes yes no FreeBSD yes yes no yes yes no NetBSD yes yes no no yes no OpenBSD yes yes no no no no Windows no yes no yes no no 1: unavailable without cgo Note for counter values This library returns the counter value for cpu, network and disk I/O statistics by design. To get the cpu usage in percent, network traffic in kB/s or disk IOPS, sleep for a while and calculate the difference. LICENSE","default_branch":null,"files":null,"tree":[],"storefront":"/r/mackerelio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mackerelio/go-osstat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}