Top Linux Commands

What is Linux Top Command?

Explanation

Top COMMAND:

top command in linux is used to find CPU usage. It provides dynamic real-time view of a running system. It displays the total number of running process, number of sleeping process and stopped process, number of Zombie process in the system.

SYNTAX :


top options

OPTIONS:


-b Run in batch mode; don't accept command-line input.
-c Show command line in display instead of just command name.
-d delay Specify delay between refreshes.
-n Update display num times, then exit.
-i Suppress display of idle and zombie processes.
-p pid Monitor only processes with the specified process ID.
-q Refresh without any delay.
-s Secure mode. Disable some (dangerous) interactive commands.

EXAMPLE:


  1. top
    Output:
    top Linux Command

  2. Find out the system usage information as well as the tasks that are currently being managed by the Linux kernel.

Ask Questions

Ask Question