Questions tagged [nice]

Use for questions concerning the Linux/Unix nice program, or the related renice or ionice programs, used for controlling process priority. For questions concerning the NICE Media Player, use the [nice-media-player] tag.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
402 views

how to prioritize windows process to WSL tasks?

I have a Windows OS, with a WSL installed. I am running some computation heavy processes in WSL, written in Fortran, submit using nohup, which usually takes 10 hours to complete a task. I wanted to ...
Raymond Chen's user avatar
0 votes
1 answer
1k views

How to sort output of top command based on nice value?

We can use Shift+p to sort on basic of cpu usage, Shift+r to sort on basis of pid & Shift+m on basis of memory utilisation. How to sort output of top command based on nice value?
Udesh's user avatar
  • 882
0 votes
0 answers
64 views

Nicing processes and unresponsive computers

I've a of process running on a machine. The machines are 6-core hyperthreaded for an effective total of 12 cores and the process takes 400% of the cpu so 4 cores. I niced the process to +19 for a ...
Opt's user avatar
  • 271
0 votes
0 answers
84 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 ...
Eamorr's user avatar
  • 227
-2 votes
2 answers
81 views

Can ionice reduce wear and tear on hard disks?

Without knowing how ionice works functionally, I was wondering if ionice more smartly batches disk I/O operations for more efficient physical movement (spinning disks specifically). I run a lot of ...
Sridhar Sarnobat's user avatar