Top display pri and renice questions...

Agus agus.262 at gmail.com
Sat Jul 26 06:19:06 UTC 2008


Hi guys,

Have a question regarding top PRI and the renice command....

extract from top
  PID USERNAME         THR PRI NICE   SIZE    RES STATE    TIME   WCPU
COMMAND
17269 brahama                  1  96    0  5932K  5300K select  30:55  0.00%
perl5.8.8


Ok...what are the values of PRI? for instance if i renice this pid 10, it
will go to 106...where can i find relevant info about this...I benn lookint
and couldnt find any clear explanation...

Ok..and the renice question is regarding this parameters..

on man it says that by doing this:

renice +1 987 -u daemon root -p 32

would change the priority of process ID's 987 and 32, and all processes
     owned by users daemon and root.

but i cannot seem to make it work....i want to renice peoples group
processes to 10 but i get
renice: Bad pid argument: people

like its getting people as a PID...people is a group from /etc/group..

Can this be done?

Thanks and cheers,
Agustin


More information about the freebsd-questions mailing list