Implement loadavg on FreeBSD without cgo
The code may also work for other BSDs, but I don't have access to those for testing.
This commit is contained in:
parent
10e525ff02
commit
54c74923ee
2 changed files with 28 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin dragonfly freebsd netbsd openbsd solaris
|
||||
// +build darwin dragonfly netbsd openbsd solaris
|
||||
// +build !noloadavg
|
||||
|
||||
package collector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue