0
votes
1answer
36 views

can I `dtach` or `renice` graphical programs like `evince`?

I sometimes open PDF's and then want them "sort of" open "to read later", but I'm not looking at them at the moment. While I'm not looking at them I'd like the OS to spend less effort keeping them up. ...
0
votes
1answer
40 views

Extra low priority processes in linux?

On Linux processes have "nice" values ranging from -20 to 19. I wish I could assign even lower priority like 100 so that "background work" will yield as much as possible to other process but still ...
1
vote
1answer
211 views

Cron job not abiding by the nice command

I got a script that backs up minecraft worlds, when ran by command (nice -19 ./backup.sh) it doesn't lag what so ever, server load stays low. When I try to do nice -19 ./backup.sh in a cronjob, it ...
0
votes
0answers
47 views

Linux command line: run mon nice and C exectuable together

I'm trying to run ./a.out, but monitored (using mon) and nice'd to highest priority. Here are the commands separately: nice -n -20 /home/pi/a.out //works fine mon /home/pi/a.out //works fine ...
0
votes
2answers
395 views

Why I can decrease the process's priority by using nice() function with a typical user permission(except ROOT) in linux?

As I understand every user in linux can change the every process's priority by using nice and renice commands. Also I know that the all users just can increase the priority of processes and the only ...
4
votes
2answers
1k views

Does the Linux 'nice' command work on any shell script?

Does nice work on any shell script, or does it work on basic Linux commands only? For example, if I have a custom shell script that contains a sort function, and I call nice myscript.sh would ...
2
votes
2answers
223 views

Remember the nice value in Linux

On Linux, how to make the processes remember their nice between starts ? For XP+ you can use Prio to remember the priority and also the IO priority on VISTA+. However, on Linux, and only for running ...
4
votes
3answers
2k views

How do I elevate the priority of a process without giving that process superuser rights?

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges ...