Resolved What's with renice?

Discussion in 'OS X Yosemite (10.10)' started by Science Blaster, Jul 22, 2015.

  1. Science Blaster macrumors newbie

    Science Blaster

    Joined:
    Jul 22, 2015
    #1
    I've been doing some research on increasing the priority of certain programs, most places I go to bring up these "renice" commands. Stuff like "sudo renice # PID" or "renice -n # -p PID". I enter my priority # and PID, yet none of these commands work at all. No indication, not even an error message. I enter the command and nothing happens. I'm thinking that with new updates and stuff these commands don't work anymore. Any help?
     
  2. 0d085d macrumors regular

    Joined:
    Apr 23, 2015
    #2
    renice seems to work for me on Yosemite. Some bash commands (rm is another example) just do their job and terminate without giving any output at all.

    You can use ps -lp PID to check the niceness of any process (the number in the NI column).
     
  3. Science Blaster thread starter macrumors newbie

    Science Blaster

    Joined:
    Jul 22, 2015
    #3
    Thanks for the reply, I tried the "ps -lp PID", it gave a bunch of statistics. Though after entering that I tried "sudo renice # PID" again. This time it worked, though asked for my password. I tried entering it but for some reason it doesn't work. A little grey box with a circle in the middle pops up after the phrase "Password:". If I try typing nothing happens. Not sure how to fix this.
     
  4. 0d085d macrumors regular

    Joined:
    Apr 23, 2015
    #4
    That's how entering your password in the command prompt works. Keep typing and hit enter when you're finished.

    If the process belongs to you then you shouldn't need to use sudo anyway.
     
  5. Science Blaster thread starter macrumors newbie

    Science Blaster

    Joined:
    Jul 22, 2015
    #5
    Thanks a lot! You've been a big help and now it's all working!
     

Share This Page