LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 10-31-2019, 08:53 AM   #1
mike1047
LQ Newbie
 
Registered: Aug 2008
Location: Sherbrooke
Distribution: ubuntu 8.04
Posts: 2

Rep: Reputation: 0
Question result of : top -o COMMAND ? explain the result please


what means output of :

top -o COMMAND

Last edited by mike1047; 10-31-2019 at 08:56 AM.
 
Old 10-31-2019, 09:06 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998
From the man page:
Code:
       -o  :Override-sort-field as:  -o fieldname
            Specifies the name of the field on which tasks will be sorted,
            independent of what is reflected in the configuration file.  You
            can prepend a `+' or `-' to the field name to also override the
            sort direction.  A leading `+' will force sorting high to low,
            whereas a `-' will ensure a low to high ordering.

            This option exists primarily to support automated/scripted batch
            mode operation.
The -o option selects the field by which processes are sorted. By default, this is the CPU utilization; -o COMMAND selects the COMMAND column so that processes are sorted alphanumerically according to the commands that created them.

Last edited by berndbausch; 10-31-2019 at 09:06 AM. Reason: typo, formatting
 
1 members found this post helpful.
Old 10-31-2019, 09:06 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,341

Rep: Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832Reputation: 3832
Duplicate. Reported.
 
Old 10-31-2019, 09:18 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,600
Blog Entries: 13

Rep: Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690Reputation: 4690
Quote:
Originally Posted by syg00 View Post
Duplicate. Reported.
Yes, but for the reason that mike1047, from their original thread newbie was trying to revise their question with a better title, as noted in that other thread.

Thank you for taking that step. What you should be able to do is edit your thread title by editing that first post on that thread, and thus change the title.

You have to use Advanced Edit mode to be able to change the thread/post title.

I'll do that now and copy this thread title to that thread, close this one, and we hope that the solutions provide you some aid.

Last edited by rtmistler; 10-31-2019 at 09:21 AM.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iperf3 output result explain gbcbooks Linux - Software 1 02-13-2017 07:58 PM
[SOLVED] Grep for the result of a command within the result of another command jasonws Programming 6 11-18-2010 02:39 PM
top command result to a file in a readable format in linux rajeevp05 Linux - General 2 02-03-2009 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration