Skip to main content
on mac it's -pid, better to include this in the accepted answer than comment or create new
Source Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k

On Linux, top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

On some systems, e.g.This is also available on Mac OS X, it may be with a different syntax:

top -pid PID

top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

On some systems, e.g. Mac OS X, it may be

top -pid PID

On Linux, top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

This is also available on Mac OS X with a different syntax:

top -pid PID
on mac it's -pid, better to include this in the accepted answer than comment or create new
Source Link

top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

On some systems, e.g. Mac OS X, it may be

top -pid PID

top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID

On some systems, e.g. Mac OS X, it may be

top -pid PID
Source Link
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

top actually supports focusing on a single process, although it naturally doesn't have a history graph:

top -p PID