summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index a5c17f8..1b2d159 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -600,6 +600,10 @@ dosum()
(void)printf("%9u software interrupts\n", sum.v_soft);
(void)printf("%9u traps\n", sum.v_trap);
(void)printf("%9u system calls\n", sum.v_syscall);
+ (void)printf("%9u kernel threads created\n", sum.v_kthreads);
+ (void)printf("%9u fork() calls\n", sum.v_forks);
+ (void)printf("%9u vfork() calls\n", sum.v_vforks);
+ (void)printf("%9u rfork() calls\n", sum.v_rforks);
(void)printf("%9u swap pager pageins\n", sum.v_swapin);
(void)printf("%9u swap pager pages paged in\n", sum.v_swappgsin);
(void)printf("%9u swap pager pageouts\n", sum.v_swapout);
@@ -617,6 +621,10 @@ dosum()
(void)printf("%9u zero fill pages prezeroed\n", sum.v_ozfod);
(void)printf("%9u intransit blocking page faults\n", sum.v_intrans);
(void)printf("%9u total VM faults taken\n", sum.v_vm_faults);
+ (void)printf("%9u pages affected by kernel thread creation\n", sum.v_kthreadpages);
+ (void)printf("%9u pages affected by fork()\n", sum.v_forkpages);
+ (void)printf("%9u pages affected by vfork()\n", sum.v_vforkpages);
+ (void)printf("%9u pages affected by rfork()\n", sum.v_rforkpages);
(void)printf("%9u pages freed\n", sum.v_tfree);
(void)printf("%9u pages freed by daemon\n", sum.v_dfree);
(void)printf("%9u pages freed by exiting processes\n", sum.v_pfree);
OpenPOWER on IntegriCloud