X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3DA13858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1697323946; bh=MRTcf/jvqWeeSiLPngwsAHGDehRD75HVUIcHLLDZKfI=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=gLwiQlr2ItDMR1vz3b267Zm+GKReOk/Bm6Jyf10E7SarRl3qIzFn9NjtaMHwPCaUf MDHJLPCm4GY+ht/45H18WAx84gSbwObsgFzVR81VjODx1h2MteFi/gkJWNRA3oX3Ob 6k1Fsn7EbOM0k5D43zQY2LJl2iY57b6nCrf8G6cA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C73F83858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697323932; cv=none; b=RxZnXUAs04gciKFM8HTfP0WDWMB3ikyHfAWdrXOZGvKtQKhQTGM2xcGNmBGBOJp7xkxjIRjBiJOyeXnZuItPCJRbURV1uCn+N1kIlHNMXn4NUPi+wwJlPDkGuhvEgo74yIFt2FtJub6AqOzp+xpmAhE0+1nql111P36ws9BotFI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697323932; c=relaxed/simple; bh=aJM2VfQFCKy9YUl557zK7uYLphp+jJUUuymq/PKjavc=; h=Subject:To:From:Message-ID:Date:MIME-Version; b=oDwMTgaXBUFJVaZPZM3Ig1MSbeUoqEv0D+BYIGpUMsn/h3H2RnwyS7cOoBrL2fKn/rYAX14yI/3kD9N2HhWv0MQ2hfCBzmMD0v6iBuM9onj25HX+QmWwjnV/BMatNqr7gE6GlnkTOxK+SLz9HTifcxEUjqIq47VPYhh9qHdF+kI= ARC-Authentication-Results: i=1; server2.sourceware.org DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C73F83858D20 Subject: Re: Run a Cygwin process with "higher" scheduler priority To: cygwin AT cygwin DOT com References: Message-ID: <0dc891bb-e719-8729-f1f5-05c937cc6dcd@maxrnd.com> Date: Sat, 14 Oct 2023 15:52:01 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Cedric Blancher via Cygwin wrote: > On Fri, 11 Aug 2023 at 19:14, Brian Inglis wrote: >> >> On 2023-08-11 09:44, Cedric Blancher via Cygwin wrote: >>> How can we set the scheduler priority for a Cygwin process to "higher" >>> than normal on start? >>> >>> Basically we want a Cygwin compatible script version of the Windows >>> task manager feature Name/PID--->Details--->Set priority--->Higher >> >> Pretend the system is BSD or Linux and web search e.g. SO for that capability, >> facility, or feature, then check Cygwin with Search Packages or: >> >> $ cygcheck -p usr/bin/nice >> Found 6 matches for usr/bin/nice > > I know about nice and renice, but I don't see whether it is working or not. OFGS Why not try the command? If it doesn't seem to do anything then try the command with the '-h' or '--help' option. Or maybe try the canonical doc 'man nice'. You shouldn't always need our help with stuff like this. ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple