0

Let's say I'm running a multicore process. How do I "nice" this via htop after submission?

3

My version of htop displays this as the help line:

F1Help F2Setup F3Search F4Invert F5Tree F6SortBy F7Nice - F8Nice + F9Kill F10Quit

So you would hit F7 to decrease the "nice value", and F8 to increase it (the former may require special privileges).

3
  • It looks like this is correct. What determines the "level" of niceness? – ShanZhengYang Jun 9 '17 at 23:31
  • On my system, NI goes from 0 to 19. – ShanZhengYang Jun 10 '17 at 18:05
  • 2
    Hi! At least on Linux, nice values go from -20 (highest priority) to 19 (lowest); but one has to be root or otherwise have adequate powers to lower a process' nice value. I don't know if this is standard: see your system's man pages for commands nice and renice to know more. – dhag Jun 11 '17 at 0:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.