> 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/