From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 06:19:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3942A1065672 for ; Sat, 26 Jul 2008 06:19:06 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id E9CF68FC15 for ; Sat, 26 Jul 2008 06:19:05 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4551699rvf.43 for ; Fri, 25 Jul 2008 23:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=AIlwLtk4gVyzVFEhnnuW5MPA0iRWBcElQxJDa9i/U50=; b=PjwtonHkTa+L9+LlKbwaAV3ebfZAJpwAiCZpbtPxa6wZvreBCKgBx0NXQNevMKM+nG nGcoEkxUtbgAeAtOGa764OhEtK4NkxtQbigoIMTseJzLtCA7Z+OzI3Llsc9a388EvtFJ S9j+dKSaiULHiXuW+C79/q/g1C2B161GUd938= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=WVR8Ok3nOS5vy+2yq1Jun4IiMp7xj9VU5DuJPkwri04LmYrJH3oKmZ8lkBHyAtgDKS SHou6nTZSESxEP7WDM1g2+tx7svh8tOxR0QqPOvuu88Q1nwOmB9dQwCDpNeKkVjQ8Y0F bYGhCOcyVGtLU9TcEHIwu9P9BspLxfjTzJvyM= Received: by 10.141.185.3 with SMTP id m3mr1284516rvp.40.1217053145439; Fri, 25 Jul 2008 23:19:05 -0700 (PDT) Received: by 10.140.158.19 with HTTP; Fri, 25 Jul 2008 23:19:05 -0700 (PDT) Message-ID: Date: Sat, 26 Jul 2008 03:19:05 -0300 From: Agus To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Top display pri and renice questions... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 06:19:06 -0000 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