Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Terminal: Top Processes

This command is useful to monitor which processes are using most of the CPU time. If your computer is getting slow it is sometimes because a program has got a bit out of control. Even if this is a conventional program it can be hard to identify, but if it is a background process this technique is essential.

The "top" command shows the top processes running on your machine. By default the top command displays processes in the reverse order they were started (so top itself is always at the top). It shows enough lines to fill the screen and redraws the screen once per second. It displays basic memory and CPU specs. Try it by just typing "top". To stop top running just type control-c (hold down the control key and press c).

A more useful form of this command is "top -u -s5 10". This will display the processes sorted by how much CPU time they use, it re-draws the list every 5 seconds and displays the top 10 processes. For information about commands which can be used to work with the processes you discover this way see the related commands in this (tips) section of my site.



I usually write a blog post about once a week. The latest post can be viewed here: Stop the Tribalism: They really need to stop the tribalism. (posted 2024-06-26 at 19:56:52). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-04-30 The Fall of Rome: I'm afraid that we really might be seeing the demise of the greatest era in history..
 Site ©2024 by OJBWeb ServerMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 104,527,090
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 572ms