What can you retrieve using a vmstat command?
A.
the number of kernel threads active on the system
B.
the amount of physical memory available on the system
C.
the rate of system calls made on the system
D.
the amount of time spent on paging activity
Explanation:
vmstat reports virtual memory statistics regarding kernel thread, virtual memory,
disk, trap, and CPU activity.
B
its A
man vmstat
vmstat reports virtual memory statistics regarding kernel
thread, virtual memory, disk, trap, and CPU activity.
kthr Report the number of kernel threads in each of the
three following states:
r the number of kernel threads in run queue
b the number of blocked kernel threads that are
waiting for resources I/O, paging, and so
forth
w the number of swapped out lightweight
processes (LWPs) that are waiting for pro-
cessing resources to finish.
So I think A is correct if run queue = active
A
http://docs.oracle.com/cd/E23824_01/html/821-1462/vmstat-1m.html
The fields of vmstat’s display are
kthr
Report the number of kernel threads in each of the three following states:
r
the number of kernel threads in run queue