Skip to contentSkip to conversation

top and ps -Al

DISCUSSION Ankit Jain 2 participants 2 messages Oct 8, 2004 – Oct 10, 2004

lore
Share & tools
lore

Ankit Jain

author
#0 lore raw

hi

if somebody knows the difference b/w /PRI of both these commands because both give different results

ps -Al
&
top

as per priority rule we can set priority upto 0-99

but top never shows this high priority

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · Ankit Jain

hi

if somebody knows the difference b/w /PRI of both these commands because both give different results

ps -Al
&
top

Quoted 8 lines

as per priority rule we can set priority upto 0-99

but top never shows this high priority

thanks

ankit

Hello Ankit,

I use top mostly. Tried your two commands and saw what the results were. I am a newbie so I cant explain why myself but I am also curious. I noticed that if you run the "ps -Al" command with the -c output control, "ps -Alc" the priority results are much closer to top. From the ps manpage (-c different scheduler info for -l option)

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs