Home Learn Linux Linux Answers Systems Management How do I print out a list of running Utilities and Programs etc, as found in top?
  • What Linux are you running? Ubuntu?

    Answered by Tylerttt
    4 years ago
    0 0
  • The ps command is probably more suited to what you seem to be trying to do.
    Try 'ps aux' at prompt without the quotes.
    'man ps' for more info
    However, if you're set on using top here is how to send output to a file-

    top -bn 1 > top.txt

    b= batch mode
    n 1 = number of iterations to output to file
    top.txt= file for top to send output to.


    Answered by harv42
    4 years ago
    0 1
  • Harv, excellent solution!

    Answered by vtel57
    4 years ago
    0 0
  • Thanks for these.
    I will try it.

    And I am running Linux MINT, but was running Ubuntu when I asked this... HOWEVER it is STILL relevant now.

    Thanks again.

    Answered by Fisho
    4 years ago
    0 0
  • try:
    $ ps -ef > process.txt

    Answered by masjoko
    4 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Systems Management

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
  2. LFS220 Linux System Administration
    18 May » 21 May - Virtual (GUARANTEED TO RUN)
  3. LFS230 Linux Network Management
    25 May » 28 May - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board