How Do I Get out of Top Command in Linux?
Contents

You need to just press q (small letter q) to quit or exit from top session. Alternatively, you could simply use the traditional interrupt key ^C (press CTRL+C ) when you are done with top command.

What is the output of top command in Linux?

top command in Linux with Examples

  • PID: Shows task’s unique process id.
  • PR: Stands for priority of the task.
  • SHR: Represents the amount of shared memory used by a task.
  • VIRT: Total virtual memory used by the task.
  • USER: User name of owner of task.
  • %CPU: Represents the CPU usage.

How do you exit a yarn top?

You need echo -e to escape the newline chars. You need them because yarn top is implemented in java.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest