O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

In this recipe, we will make use of the iostat command. This command is used for reporting the CPU and I/O statistics for different devices and partitions. Let's run the command and see what it reports:

$ iostat
In some Linux distributions, such as Ubuntu, iostat is not installed by default. You can install the utility by running sudo apt-get install sysstat.

The output of the preceding command is as follows:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required