Planejamento de capacidade: Conheça os comandos iostat, vmstat e mpstat

# whatis iostat
iostat (1) - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.
comando iostat
iostat -m (mostra os dados em mega)
iostat -h (mostra os dados de uma forma melhor de entender)
iostat -c (mostra apenas a CPU)
iostat -d (mostra os devices)
iostat -p (mostra os dados das partições)
iostat -d 2 (gera o relatório a cada 2 segundos)
vmstat
vmstat -d
vmstat -p /dev/xvda1
# whatis mpstat
mpstat (1) - Report processors related statistics.
mpstat
mpstat 2 (gera os dados de CPU a cada 2 segundos)

Senior Linux Administrator @IBM

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store