This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nice under tcsh does not register under top? [Attn top maintainer]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

By the way, following these directions,
> Problem reports:       http://cygwin.com/problems.html

and including 'cygcheck -svr' output as a text attachment, would have let
us know if you need to upgrade your installation.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEMniS84KuGfSFAYARAgj4AJ90REfdaBUb4MlXd1HKLOkDIvxG+wCgqIot
3ySRUGdjDHXSQkacn94jLJQ=
=2yiR
-----END PGP SIGNATURE-----

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]