2003-03-25 14:40:40

by Erik Hensema

[permalink] [raw]
Subject: Negative dynamic priorities in 2.5.6[4-6]?

Hi,

Since upgrading to 2.5.64 from 2.4.x, I'm seeing negative dynamic
priorities in top. top from procps-2.0.11 treats PRI as an unsigned long
long, so it displays negative priorities as being extremely large.
After changing the format specifier, top displays -51 for artsd:

PID USER PRI NI SIZE SWAP RSS SHARE STAT %CPU %MEM TIME COMMAND
1136 erik -51 0 11040 4592 6448 8828 S 1.5 1.2 0:36 artsd

kernel 2.5.66 vanilla
procps 2.0.11
arts 1.1-50 packaged for suse 8.0

this is while playing a shoutcast mp3 stream.

Is this normal behaviour?
--
Erik Hensema <[email protected]>


2003-03-25 18:45:25

by Jon Burgess

[permalink] [raw]
Subject: Re: Negative dynamic priorities in 2.5.6[4-6]?



> top from procps-2.0.11 treats PRI as an unsigned long long

Known problem with top, for fix see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85423

Jon