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. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - 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