LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using the PS and TOP commands to show the PRI column. (https://www.linuxquestions.org/questions/linux-newbie-8/using-the-ps-and-top-commands-to-show-the-pri-column-670148/)

CoffeeKing!!! 09-15-2008 07:31 PM

Using the PS and TOP commands to show the PRI column.
 
How do you get PS to display
Code:

ps aux
and
Code:

ps -l
in one command?

and how would I get TOP to display the PRI column?

Mr. C. 09-16-2008 02:20 AM

You are using a BSD-style syntax (aux). How about ps -elf? The ps command can format any columns you want - spend some time reading through the man page for the variety of print formats.

Top shows PRI as PR.


All times are GMT -5. The time now is 01:35 AM.