LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 09-15-2008, 08:31 PM   #1
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 117

Rep: Reputation: Disabled
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?
 
Old 09-16-2008, 03:20 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
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.
 
  


Reply


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
top and ps commands show incorrect pids joepgjm Linux - Newbie 3 04-25-2007 12:23 PM
Show line and column numbers in Vim 7.0 judgex Linux - Desktop 1 08-29-2006 07:06 AM
Can AbiWord show line and column numbers? MikHud Linux - Software 1 01-13-2006 10:15 AM
column width for netstat,top,etc minm Linux - Newbie 4 12-06-2004 02:30 AM
strange TOP PRI value artur Linux - Software 4 08-28-2003 03:45 AM


All times are GMT -5. The time now is 12:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration