First attempt to compile for FreeBSD, using the Windows approach to pse

This commit is contained in:
Dave Martorana
2015-09-01 14:12:48 -04:00
parent f663c3e18b
commit 0c1160a893

12
server/pse_freebsd.go Normal file
View File

@@ -0,0 +1,12 @@
// Copyright 2015 Apcera Inc. All rights reserved.
package server
// This is a placeholder for now.
func procUsage(pcpu *float64, rss, vss *int64) error {
*pcpu = 0.0
*rss = 0
*vss = 0
return nil
}