[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line option to set niceness

From: Andreas Bernauer
Subject: Re: Command line option to set niceness
Date: Tue, 16 Nov 2010 09:21:02 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Rhys Ulerich wrote on Mon, Nov 15 2010 at 10:33 (-0600):
> Would it be possible to add a command line option, say -n, to cause
> parallel to spawn processes with a modified niceness?  Possibly
> feeding -n with no option would be equivalent to prepending the
> command with nice(1) and -n [#] would adjust the priority per
> nice(1)'s page.

I like that idea.
Until this gets implemented, you may consider
adding nice to your configuration or profile file,
as shown in the section 'Profile files' of the man page.

> Admittedly, the user can simply use nice wherever desired.  My
> interest is for having $PARALLEL or the configuration file pick this
> up automagically.  That way I don't bring my UI to a grinding halt
> whenever GNU parallel's doing it's thing.

For this, I would like to see '-j' not spawn 9 processes... :-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]