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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

80 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.