delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/06/15:42:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 6 May 2003 15:41:41 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Rob Brown <rob AT vunetusa DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv + base priority
In-Reply-To: <b9901u$mbv$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0305061540110.11343-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 6 May 2003, Rob Brown wrote:

> > "man nice".
> > HTH,
> > Igor
>
> Thanks, nice works... well... nicely.    (didn't know it was ported!)

"nice.exe" is part of the "sh-utils" package.

> I modified the registry for the service in:
> HKLM\SYSTEM\CurrentControlSet\Services\myservice\Parameters
> changed the AppPath key to be:
> AppPath        REG_SZ        "/usr/bin/nice.exe"
> and added an AppArgs key:
> AppArgs        REG_SZ        "-n -20 /bin/myservice.exe"

Hmm, now *that* you could have done directly via cygrunsrv... :-D
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019