HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

top — Display dynamic real-time information about running processes. More information: <https://keith.gith

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dynamiccommandcliinformationtoprealtimedisplay
macos

Problem

How to use the top command: Display dynamic real-time information about running processes. More information: <https://keith.github.io/xcode-man-pages/top.1.html>.

Solution

top — Display dynamic real-time information about running processes. More information: <https://keith.github.io/xcode-man-pages/top.1.html>.

Start top, all options are available in the interface:
top


Start top sorting processes by internal memory size (default order - process ID):
top -o mem


Start top sorting processes first by CPU, then by running time:
top -o cpu -O time


Start top displaying only processes owned by given user:
top -user {{user_name}}


Display help about interactive commands:
<?>

Code Snippets

Start `top`, all options are available in the interface

top

Start `top` sorting processes by internal memory size (default order - process ID)

top -o mem

Start `top` sorting processes first by CPU, then by running time

top -o cpu -O time

Start `top` displaying only processes owned by given user

top -user {{user_name}}

Display help about interactive commands

<?>

Context

tldr-pages: osx/top

Revisions (0)

No revisions yet.