Nice or niceness refers to the priority of a running process; i.e. how much CPU time it can receive when required. Niceness ranges from -20 (the highest priority) to 20 (the lowest priority).

learn more… | top users | synonyms

2
votes
1answer
34 views

why can user increase nice of process but decrease requires root?

I pulled up top and a program was using ~80-90% CPU. I increased the niceness, to see if I could reduce the load. Then I tried to reduce the nice of the same process back to it's initial level and was ...
1
vote
0answers
22 views

Nautilus slow if lot of images are in a directory

I have 400 images in a directory. I look at the directory with nautilus. The first time I open the directory it is very slow, I have a modern laptop with 4 cores and plenty RAM. My use case: open ...
2
votes
1answer
64 views

How do I provide arguments to a command run from gksudo?

I want to add a shortcut for gnome-system-monitor that runs with root access and has very high priority. My command for the shortcut is: gksudo -k -u root nice --20 gnome-system-monitor But this ...
0
votes
1answer
15 views

Which niceness to give to prevent freezing?

If I wanted to give my main system, desktop cinnamon, the highest priority, which PID should I set this for? The reason is because I have a program that runs for days and would hog up all the ...
4
votes
2answers
172 views

How to perform a CPU/disk intensive operation without drastically affecting other processes?

I am running a server on Ubuntu 12.04. The operation I'm trying to perform is a git clone, as part of a new backup system I'm implementing. The source and destination are both local, so there is no ...
15
votes
2answers
2k views

How to check my niceness?

Is there any way to check my nice lvl? I did try with ps, but for some reason the output does not show the column NI which is meant to show the lvl priority if I'm not wrong. ps -fl -c F S UID ...
0
votes
2answers
666 views

How to prevent a process from being killed?

Is there anyway to prevent a process from being killed no matter what? I know about nice but I'm not sure if giving a task such as a long running memory-intensive rake task the highest priority will ...
1
vote
2answers
3k views

How to increase the priority for a task permanently in linux machine?

How to increase the priority for a task in linux machine? What I've Done So Far: After small research i found that we can increase the priority to a task using NICE command and if we want to increase ...
1
vote
1answer
630 views

Cant change niceness even after editing limits.conf

so what i did: in the terminal i typed: sudo su (used pass) then typed: nano /etc/security/limits.conf went to bottom and added: USER - nice -20 (with my ...
3
votes
3answers
1k views

Nice command without root privileges

I need to run dosemu with nice --20 from script. Problem is: a negative value can be applied only with sudo. Do you know any way to run nice command without sudo or simply run nice --20 dosemu from ...
2
votes
1answer
2k views

How do priorities work on ubuntu's 12.04 system monitor?

I noticed in my system monitor app, on the "Processes" tab, that one can change the 'priority' of a certain program. What specifically would this do? (I'm new)
0
votes
1answer
406 views

How to make an app start with a lower 'nice' value

I would like to know how to make a program (Eclipse) always start with a lower 'nice' value. I tried to manipulate ‘/usr/share/applications/eclipse.desktop’ - with no success. Exec='nice -n -10 ...
1
vote
0answers
99 views

Is there a way to 'sleep' browser windows with tabs I'm not currently reading? [duplicate]

Possible Duplicate: Is there an equivalent of “stay” for Ubuntu? I typically have a lot of PDF's open while I'm computing. Many of them are "I'll read this later" rather than "I ...
3
votes
1answer
2k views

Why the process priority of Pulseaudio is -11?

Why it so low? Sometime when cpu is high load sound through Pulseaudio becomes choppy. I think this happens because process priority of Pulseaudio has so low value. So why it so low by default if it ...
40
votes
4answers
15k views

Change niceness (priority) of a running process

Is it possible to set a new nice level of a running process with a known id? Does this operation require root access, or just being the owner of the process?