How to do it...

Debian, Mint, or Ubuntu users can install the tools by executing this command as a root-level user:

sudo apt-get install dstat iotop sysstat

Red Hat, Fedora, CentOS, and Scientific Linux users can install the tools by executing this command as a root-level user:

sudo yum install dstat iotop sysstat

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.