If you want to see how much of your CPU has been utilized using the Mac Terminal, you can make use of the top command.
% top
Processes: 458 total, 2 running, 456 sleeping, 2089 threads 14:24:45
Load Avg: 1.81, 3.26, 3.12 CPU usage: 5.97% user, 4.77% sys, 89.24% idle SharedLibs: 325M resident, 55M data, 17M linkedit. MemRegions: 94563 total, 1540M resident, 112M private, 600M shared.
PhysMem: 7560M used (1438M wired, 3414M compressor), 70M unused. VM: 176T vsize, 4691M framework vsize, 3446654(4) swapins, 4244623(0) swapouts.
Networks: packets: 2801592/2823M in, 1270423/358M out. Disks: 7686726/182G read, 2692714/95G written.
PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP PPID STATE BOOSTS %CPU_ME %CPU_OTHRS UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH
152 WindowServer 22.7 02:25:35 18 5 3175 480M+ 0B 114M- 152 1 sleeping *0[1] 0.50648 0.30791 88 8815931+ 13175 48234252+ 45174018+ 509115039+ 176571614+
0 kernel_task 20.1 02:04:50 477/8 0 0 402M 0B 0B 0 0 running 0[0] 0.00000 0.00000 0 69926 0 74546920+ 52156366+ 0 0
1890 Terminal 17.1 02:33.98 10 3 495- 121M- 0B 24M- 1890 1 sleeping *0-[1648] 0.27787 0.33938 501 933406+ 319 1192014+ 198628+ 23301356+ 3056304+
187 airportd 6.0 08:43.90 13 11 372+ 15M+ 0B 2688K- 187 1 sleeping *21942+[5225] 0.42404 4.95020 0 1044935+ 201 2010957+ 1269261+ 14457130+ 3400007+
12329 Wi-Fi 4.9 02:09.36 4 2/1 260 34M- 0B 9296K 12329 1 sleeping *1577+[276] 4.66060 0.11757 501 529179+ 371 64451+ 33527+ 5049072+ 237162+
13127 top 4.5 00:01.01 1/1 0 27 6481K 0B 0B 13127 12865 running *0[1] 0.00000 0.00000 0 9446+ 83 424786+ 212387+ 37237+ 279103+
12322 Wi-Fi 1.5 00:24.46 3 1 211 20M 0B 7984K 12322 1 sleeping 0[3499+] 0.19037 0.11214 501 219842 358 15899+ 4984+ 224484+ 56265+
Press q to come back to the Terminal shell prompt.
You can see how much the CPU is utilized and how much is free and each process details how much CPU percentage they are utilizing.
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to macOS,
- How to list all users in Mac Terminal
- Docker Desktop needs privileged access macOS
- Mac: How to show count of files and folders in Finder
- How to Change Background Color TextEdit on Mac
- How to adjust MacBook Desktop icons size
- Test internet speed using macOS Terminal command
- How to change the default font and text size in Microsoft Excel for Mac
- How to install Java on macOS [Big Sur]
- How to come out of dquote prompt in Terminal - macOS/Linux
- How to Increase MacBook Trackpad Cursor Speed on macOS Ventura/Sonoma
- Fix: Microsoft Excel Quit Unexpectedly on Mac
- How to Adjust macOS System Font Size
- How to Quit Applications on Mac Using Terminal
- How to check zsh installed version using terminal
- Two Ways to Extract rar (*.rar) files on Mac
- How to Right Click on Mac Desktop?
- How to Add Brew to PATH M1/M2 Mac
- How to search (find) in macOS Terminal Console Text
- macOS 13 Ventura - The New About this Mac Window
- TextEdit Get the count of lines in a file
- How to run .sh file in Mac Terminal
- Google Search Hot Trends Screensaver for Mac OS X
- Check Reboot History Mac
- [Solution] Mac Update Stuck Preparing macOS Ventura 13.0 About 30 minutes remaining
- Display Safari URL address link on hover
More Posts:
- MySQL : Error :1004 SQLSTATE: HY000 (ER_CANT_CREATE_FILE) Can't create file - MySQL
- Copy all .vcf Mobile Contacts files into one .vcf - HowTos
- How to install Microsoft Outlook App on Mac - MacOS
- Page actions are temporarily disabled [Google Search Console Page Crawling] - Google
- [Solution] The connection to the remote PC was lost, preparing to reconnect - Windows RDP - Windows
- How do I get a list of all branches in Git? - Git
- Create SharePoint Site Collection with new Content database in existing web application - SharePoint
- Get Desc of Table using Java JDBC - Java