From cygwin Tue Apr 04 15:50:42 2006 From: "Chris January" Date: Tue, 04 Apr 2006 15:50:42 +0000 To: cygwin Subject: Re: nice under tcsh does not register under top? [Attn top maintainer] Message-Id: <2ce9650b0604040850u4931283bm418f5946f7fdcd16 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=cygwin&m=114416586202217 > 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/