Run a Cygwin process with "higher" scheduler priority

Mark Geisert mark@maxrnd.com
Sat Oct 14 22:52:01 GMT 2023


Cedric Blancher via Cygwin wrote:
> On Fri, 11 Aug 2023 at 19:14, Brian Inglis <Brian.Inglis@shaw.ca> 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


More information about the Cygwin mailing list