Merge pull request #1 from baughj/master
FreeBSD: don't use v_cache_min/max
This commit is contained in:
commit
e9897b25b4
|
@ -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_count, 1);
|
||||
GET_VM_STATS(vm, v_cache_count, 1);
|
||||
#if (__FreeBSD_version < 1100079)
|
||||
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_interrupt_free_min, 0);
|
||||
GET_VM_STATS(vm, v_forks, 0);
|
||||
|
|
Loading…
Reference in New Issue