- See the busiest programs, live
top -o cpuPress q to leave.
- See how much memory is used
top -l 1 | grep PhysMem
- See the busiest programs, live
topPress q to leave. Press M to sort by memory.
- See how much memory is used
free -hLook at the available column, not free.
- List the top five by CPU
ps aux --sort=-%cpu | head -6
- List the top ten by CPU
Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 - See how much memory is free
Get-CimInstance Win32_OperatingSystem | Select-Object @{n="FreeGB";e={[math]::Round($_.FreePhysicalMemory/1MB,1)}}, @{n="TotalGB";e={[math]::Round($_.TotalVisibleMemorySize/1MB,1)}}