![]() Since the screen refreshes periodically, the top can miss short-lived processes. This delay time can be configured by pressing “d”. The top programs provides a limited interactive interface and the screen refreshes every 3 seconds by default. The “ top” command is used to display the system tasks. See following article to understand about the load average: “ Understanding Linux CPU Load - when should you be worried?” Displaying the running processes in the system If the load average is greater than the number of processors, there is more demand for resources and we need to identify which processes use more resources. The “ nproc” command prints the number of processing units available in the system. The “ lscpu” command is a quick way to get details about the CPU architecture and see the number of CPUs. There are several ways to find the number of processors. ![]() It’s important to check that the load average will not go beyond the number of processors in the system. With these 3 numbers, we can determine the server load is increasing or decreasing over time. There are 3 numbers and those numbers represent the load average over the last minute, the last 5 minutes and the last 15 minutes. The system load average is a good way to measure the demand for CPU resources. It also shows the current time and number of user logged in. The command “ uptime” prints the system up time with load averages. PS1='$ \2 Terminal: Linux Performance Tools\a\]' Basic Observability Tools Uptime and Load Averages I changed the command prompt and title using following command. ![]() Please note that I have tested all commands in Ubuntu 17.10. I will not be covering all tools mentioned in Brendan Gregg’s presentation on Linux Performance Tools. Let’s look at some of the standard Linux tools in detail. ![]() The information copied from manual pages are formatted in italic text within quotation marks. This story is also meant to be a quick reference and it’s easy since all details are in one place. Please note that most of the descriptions for the columns in this article are taken directly from the manual pages. It’s highly recommended to have a look at the manual pages for more information on the commands. ![]() Linux Performance Observability Tools - Taken from Įach of these tools has very detailed manual pages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |