What command would you run to show this information to the DBA?

The DBA tells you that the system is not overloaded but you can tell that the system us
actively swapping. What command would you run to show this information to the DBA?

The DBA tells you that the system is not overloaded but you can tell that the system us
actively swapping. What command would you run to show this information to the DBA?

A.
# vmstat 5 10

B.
# iotop

C.
# iostat 5 10

D.
# cat /proc/meminfo



Leave a Reply 2

Your email address will not be published. Required fields are marked *


hoge

hoge

– iostat reports CPU, disk I/O, and NFS statistics.
– vmstat reports virtual memory statistics.

vmstat by default will display the memory usage (including swap).
So correct answer is A.

Mustafa SABURLU

Mustafa SABURLU

iostat does not show any swap info, so the answer should be A

[root@… ~]# iostat 5 10

avg-cpu: %user %nice %system %iowait %steal %idle
3.19 0.00 0.35 1.53 0.00 94.93

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 6.62 119.98 127.40 139943522 148601321