Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Best command to list priorites?

Best command to list priorites?
Thread Tools
Mac Enthusiast
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 17, 2004, 06:19 AM
 
I did a quick search and did a man top and man renice
but I didn't see a way to list all processes priority levels.
(I thought top would have the option but I didn't see one)

please post your fav command to do this


thx
     
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status: Offline
Reply With Quote
May 17, 2004, 07:18 AM
 
this works
Code:
ps axco "pid ni command"
     
Groovy  (op)
Mac Enthusiast
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 17, 2004, 09:15 AM
 
Originally posted by ul1984:
this works
Code:
ps axco "pid ni command"
yes it does


thx!




I still wonder why top doesn't have an option though...
     
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status: Offline
Reply With Quote
May 17, 2004, 09:34 AM
 
Originally posted by Groovy:
I still wonder why top doesn't have an option though...
i think maybe its because the nice value doesnt affect OSX as much as the nice value affects, linux for example.

on linux if you set a process to -20 it gets realtime priority, in OSX realtime priority is way "lower" then -20. i think its the same the other way around too, +19 on a linux system is "nicer" to other processes then +19 is on OSX.

if you want realtime priority in OSX i think you need to set it from inside the app needing it, using some MACH system call.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2