![]() ![]() Press S and input the seconds to adjust change delay.Ĭheck the below screenshot to find all the available shortcuts in top command: Shortcuts in Linux top command Modify Display Fields.Press N and enter the number to display the N number of processes only.Use the Left and Right arrow keys to shift the display.Press K and enter a PID of the process to kill the running processes.Press C to show the absolute path of running processes or commands.The top comes with many interactive command shortcuts to change the output as per the requirements You can also change this at run time as well. You will notice that the results are updating slowly now. For example, to update the results every 10 seconds, type: top -d 10 We can overwrite this default value with -d options. Simply press the ‘Q’ button to quit from top commandīy default, the result updates every 3 seconds. ![]() ![]() It shows many details about any process but the most useful are the PID, CPU, and Memory utilization of any process. The second part shows the currently running process.In the output, the first part shows the resource utilization including the Memory, Swap memory, and CPU utilization.You will see the running processes and other resource utilization details: Top command in Linux Open a terminal on your system and just type “top” and hit Enter. Let’s take a look at some of these top commands and how they can be used by Linux users. Top commands are especially useful if you need to troubleshoot problems with your computer or optimize its performance. The top command can help you monitor processes, view information about your computer, and more. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |