From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id C73F83858D20 for ; Sat, 14 Oct 2023 22:52:10 +0000 (GMT) ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C73F83858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=69.55.228.47 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 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 39EMpeQi093635 for ; Sat, 14 Oct 2023 15:51:40 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 50-1-247-226.fiber.dynamic.sonic.net(50.1.247.226), claiming to be "[192.168.4.101]" via SMTP by m0.truegem.net, id smtpdZsoy4b; Sat Oct 14 15:51:32 2023 Subject: Re: Run a Cygwin process with "higher" scheduler priority To: cygwin@cygwin.com References: From: Mark Geisert 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: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: 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