FreeBSD: don't use v_cache_min/max (https://github.com/hyperic/sigar/pull/68)
This commit is contained in:
parent
ad47dc3b49
commit
800076db97
|
@ -400,8 +400,10 @@ static int sigar_vmstat(sigar_t *sigar, struct vmmeter *vmstat)
|
||||||
GET_VM_STATS(vm, v_inactive_target, 0);
|
GET_VM_STATS(vm, v_inactive_target, 0);
|
||||||
GET_VM_STATS(vm, v_inactive_count, 1);
|
GET_VM_STATS(vm, v_inactive_count, 1);
|
||||||
GET_VM_STATS(vm, v_cache_count, 1);
|
GET_VM_STATS(vm, v_cache_count, 1);
|
||||||
GET_VM_STATS(vm, v_cache_min, 0);
|
#if (__FreeBSD_version < 1100079)
|
||||||
GET_VM_STATS(vm, v_cache_max, 0);
|
GET_VM_STATS(vm, v_cache_min, 0);
|
||||||
|
GET_VM_STATS(vm, v_cache_max, 0);
|
||||||
|
#endif
|
||||||
GET_VM_STATS(vm, v_pageout_free_min, 0);
|
GET_VM_STATS(vm, v_pageout_free_min, 0);
|
||||||
GET_VM_STATS(vm, v_interrupt_free_min, 0);
|
GET_VM_STATS(vm, v_interrupt_free_min, 0);
|
||||||
GET_VM_STATS(vm, v_forks, 0);
|
GET_VM_STATS(vm, v_forks, 0);
|
||||||
|
|
Loading…
Reference in New Issue