lkml.org 
[lkml]   [2004]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Difference in priority
    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

    Priority values 0-99 are real time ones and 100-139 are normal
    scheduling ones. RT scheduling does not change dynamic priority while
    running wheras normal scheduling does (between 100-139). top shows the
    value of the current dynamic priority in the PRI column as the current
    dynamic priority-100. If you have a real time task in top it shows as a
    -ve value. ps -Al seems to show the current dynamic priority+60.

    Con
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:3.397 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site