Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 03:19:05 -0300
From:      Agus <agus.262@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Top display pri and renice questions...
Message-ID:  <fda61bb50807252319q6c01a571y380761f11ef35beb@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fda61bb50807252319q6c01a571y380761f11ef35beb>