Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109966329
D46980.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1003 B
Referenced Files
None
Subscribers
None
D46980.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46980: vmstat: Add NOFREE page count to -s report
Attached
Detach File
Event Timeline
Log In to Comment