[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin
Subject: Re: nice under tcsh does not register under top? [Attn top maintainer]
From: "Chris January" <chris () atomice ! net>
Date: 2006-04-04 15:50:42
Message-ID: 2ce9650b0604040850u4931283bm418f5946f7fdcd16 () mail ! gmail ! com
[Download RAW message or body]
> 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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic