top and ps -Al

top and ps -Al

am 08.10.2004 07:12:30 von ankitjain1580

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: top and ps -Al

am 10.10.2004 19:22:52 von Mike

Ankit Jain wrote:
> 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
>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs