delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <2ce9650b0604040850u4931283bm418f5946f7fdcd16@mail.gmail.com> |
Date: | Tue, 4 Apr 2006 16:50:42 +0100 |
From: | "Chris January" <chris AT atomice DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: nice under tcsh does not register under top? [Attn top maintainer] |
In-Reply-To: | <44327892.6010707@byu.net> |
MIME-Version: | 1.0 |
References: | <20060404133613 DOT GA4584 AT ingber DOT com> <44327892 DOT 6010707 AT byu DOT net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 k34FosG7025411 |
> According to Lester Ingber on 4/4/2006 7:36 AM: > > I have a tcsh script that runs some processes, e.g., `nice +19 gmake run`. > > I monitor the NI and %CPU columns under `top`. This works fine under > > FreeBSD and Solaris/SPARC, but under Cygwin the NI column always reads 0? > > > > Is it not possible to affect Windows priorities via Cygwin? > > It's possible, since cygwin 1.5.13 or so (for example, '/bin/nice > /bin/nice' outputs 10, since the first nice defaults the second to +10, > and the second displays its current nice value with no argument). In > tcsh, nice is a shell builtin, which defaults to +4 instead of +10, but my > testing shows that it works. It looks like top is not displaying nice > values properly. This isn't a problem with top but a missing feature of the /proc filesystem. Chris -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |