delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/24/20:23:22

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: How to change the priority of a running process?
Date: Fri, 24 Mar 2006 19:30:04 -0600
Message-ID: <261998F8FB9AF44B80638C240CF14A5A0270F15E@EXCHANGE1.mexico.tem.mx>
From: "Manuel Gonzalez Montoya" <mrn01784 AT telefonicamoviles DOT com DOT mx>
To: <cygwin AT cygwin DOT com>
X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.52.1006-14342.000
X-TM-AS-Result: No--4.500000-8.000000-31
X-imss-version: 2.038
X-imss-result: Passed
X-imss-scores: Clean:33.72197 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k2P1NHox003723

Hi,
 
 It seems the 'snice' command is not working right, i tried this:
 
    snice +20 bash
    snice +20 -p 2448   ;   where 2448 is the bash's pid reported by
'ps'
 
and the priority showed by 'top' is always the same (8) before and after
the snice.
 
Is there another way of change the priority of a running cygwin process
besides using the 'snice' command?
 
Any help apreciated,

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019