Page MenuHomeFreeBSD

D46980.diff
No OneTemporary

D46980.diff

diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -142,6 +142,7 @@
u_int v_free_count;
u_int v_wire_count;
u_long v_user_wire_count;
+ u_int v_nofree_count;
u_int v_active_count;
u_int v_inactive_target;
u_int v_inactive_count;
@@ -558,6 +559,7 @@
GET_VM_STATS(vm, v_free_count);
GET_VM_STATS(vm, v_wire_count);
GET_VM_STATS(vm, v_user_wire_count);
+ GET_VM_STATS(vm, v_nofree_count);
GET_VM_STATS(vm, v_active_count);
GET_VM_STATS(vm, v_inactive_target);
GET_VM_STATS(vm, v_inactive_count);
@@ -1004,6 +1006,8 @@
sum.v_wire_count);
xo_emit("{:virtual-user-wired-pages/%9lu} {N:virtual user pages wired "
"down}\n", sum.v_user_wire_count);
+ xo_emit("{:nofree-pages/%9u} {N:permanently allocated pages}\n",
+ sum.v_nofree_count);
xo_emit("{:free-pages/%9u} {N:pages free}\n",
sum.v_free_count);
xo_emit("{:bytes-per-page/%9u} {N:bytes per page}\n", sum.v_page_size);

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 12, 8:35 PM (18 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16616044
Default Alt Text
D46980.diff (1003 B)

Event Timeline