Monitor resource contention with Pressure Stall Information

Pressure Gauge

Article from Issue 238/2020

Pressure Stall Information (PSI) is a new feature that gives users a better view of resource contention.

CPU, RAM, and I/O are the three most important computing resources. If these resources are depleted, processes start to fight for them and resource contention scenarios occur. To avoid these problems, it makes sense to monitor precisely what resources applications use in order to correctly dimension the hardware requirements and make optimal use of the existing hardware.

Smartphones can also benefit from this type of monitoring: when resources become scarce, phones often terminate programs in the background in order to offer the foreground application sufficient resources.

Load Average

Most administrators keep an eye on the load average to determine the extent to which a system is exposed to load. The uptime or top (Listing 1) commands both display the load average, reading the values from the /proc/loadavg file. The file contains five values (Line 6). In addition to the three load average values, the fourth value counts the current executable kernel scheduling entities and the fifth shows the process ID of the latest process created.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Load Average

    What is the real meaning of those little “load average” values in the output of shell commands like procinfo and uptime, and what can you do with these numbers?

  • System Status Tools

    A system monitor lets you query the system’s current health state. If you are unhappy with the spartan Top tool, try one of these easy alternatives.

  • Real-Time Monitoring Tools

    The Top system monitor is a useful aid for identifying system bottlenecks, and Htop, Atop, and Glances extend its possibilities.

  • System Diagnosis Tools

    To check on the health of a Linux system, administrators can turn to vmstat, iostat, netstat, and ifstat. Or, you can just use the versatile dstat, which combines the features of several tools in a single package.

  • Pinger

    The Pinger network monitoring tool uses ping to look for switches and estimate cable lengths.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95