Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547)
* Move FreeBSD/DragonflyBSD out of meminfo add kvm. This gives us SwapUsed, and everything under one roof. * Fix typos per review. * Update to use newer API. * Remove premature optimization per PR feedback.
This commit is contained in:
parent
052422ec61
commit
477fe4665a
6 changed files with 272 additions and 59 deletions
|
|
@ -11,7 +11,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin dragonfly freebsd linux openbsd
|
||||
// +build darwin linux openbsd
|
||||
// +build !nomeminfo
|
||||
|
||||
package collector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue