[PATCH v4] server: implement vm counters on FreeBSD