Maybe the --treat-limit-as-start-condition-only only makes sense for --mem? In which case this might be a solution:
--start-mem: this amount of memory must be free or diskcache before starting --run-mem: this amount of memory must be free or diskcache when running. Can you think of situations where --treat-limit-as-start-condition-only would make sense and where the limit is not --mem, but --load or --disk-seeks or --noswap? /Ole On Thu, Jun 9, 2011 at 12:07 AM, Ole Tange <[email protected]> wrote: > With --noswap, --mem, and --hard I came to think that it might be > handy if niceload could treat the limits as a starting condition only > and not monitor the limit continuously. It would especially make sense > for --mem: > > niceload --treat-limit-as-start-condition-only --mem 2g > only_start_this_when_2g_is_free > > The above will wait until 2g is free and then start. It will, however, > not suspend when less that 2g becomes free - thus making it useful for > running programs that will eat up the 2g of RAM. > > But I need your advice: What is a shorter name for > --treat-limit-as-start-condition-only? > > > /Ole >
