12 TOP Command Examples in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

56 Responses

  1. smokinmoe says:

    It seems the duplication occurs when java script is disabled.

  2. smokinmoe says:

    I don’t know if it’s just my setup, but, every image in the article body is duplicated (each image is shown twice, the 2nd copy of the image is immediately below the first image

  3. Shndo says:

    How do I specify TOP to only one or two software? for example, I need the information about Hashcat and John to be appear on screen and the rest disappear.

    Thank you!

  4. Shndo says:

    I need top to show only one or two specific softwares activity. Hashcat and John only for example. How do we do that?

    Thank you!

  5. Shees says:

    Are these commands work on all type of Linux Operating system and What about sudo which is used in VPS having Linux operating system?

    • Ravi Saive says:


      Top command is the default built-in process monitoring tool in Linux and sudo is used to in VPS to grand root privileges to normal users to execute certain system commands on Linux.

  6. srnvs says:

    Good documentation !!

    Given Above: Press (Shift+W) to save the running top command results under /root/.toprc.
    Correct: Press “W” or “Shift+w” to save current configuration in ~/.toprc.

  7. vishnu says:

    Can anyone say how to extract and write only the timestamp value and its corresponding cpu,memory, and swap value into text

  8. Varsha says:

    Thank you so much Ravi. I have started working on Unix and this is very very helpful.

  9. Kimon says:

    Very useful article, thank you!

  10. sarvesh says:

    In the Cpu(s) line what does each field represent and How to know the total CPU Utilization??? is it the summation of all??

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?