Linux.com

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

    Answered by Tylerttt
    3 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.

    HTH

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

    Answered by vtel57
    3 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
    3 years ago
    0 0
  • try:
    $ ps -ef > process.txt

    Answered by masjoko
    3 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. LFD320 Linux Kernel Internals and Debugging
    03 Nov » 07 Nov - Virtual
    Details
  2. LFS416 Linux Security
    03 Nov » 06 Nov - Virtual
    Details
  3. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
    Details

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