diff options
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 54c51ed..c67ca61 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -472,7 +472,7 @@ dovmstat(interval, reps) kread(X_SUM, &sum, sizeof(sum)); size = sizeof(total); mib[0] = CTL_VM; - mib[1] = VM_METER; + mib[1] = VM_TOTAL; if (sysctl(mib, 2, &total, &size, NULL, 0) < 0) { (void)printf("Can't get kerninfo: %s\n", strerror(errno)); |