Questions tagged [ionice]
5 questions
3
votes
1 answer
Nice / IOnice which one first? Does it matter? Any other way to reduce server load on a script?
I've been trying the "nicer" way to run a gzip from a bash script on an active server, but it somehow manages to get the load average above what I would wish it would be.
Which of the following would be softer on the I/O and the CPU?
Is there…

Karma Doe
- 114
- 12
2
votes
2 answers
Does it make sense to run a command with ionice in docker container with a bind mount
Let's say I'm archiving files from a bind mount in a docker container and want to set a priority for disk time, so I run it like:
ionice -c2 -n7 tar....
Would that work? Would the host OS consider the class/priority that comes from a container…

chingis
- 1,514
- 2
- 19
- 38
2
votes
1 answer
Error: ionice: ioprio_set failed: Invalid argument (while trying to build custom ROM on bash Ubuntu in Windows 10)
I'm trying to build Resurrection Remix ROM for Asus Zenfone 2 (Z00A) in bash Ubuntu in Windows 10 Insider Preview.
I've followed these instructions.
It took me quite some time to install Java on bash Ubuntu (finally seems to work following this…

Tech
- 21
- 2
0
votes
1 answer
Problem using grep to specify process IDs for I/O priority setting
I want to set highest I/O priority using ionice for processes with specific name (farmer and harvest)
Please help check what is wrong with my script it's not working
sudo ionice -c 1 -n 0 -p $(ps -ef | grep farmer | awk '{print $2}')
sudo ionice -c…

dawnslayer
- 7
- 2
0
votes
1 answer
Angular2/Ionic 2 dynamic component property
I would like to ask for help on this issue. I was working on a dynamic component in angular 2 and ionic: Kindly check below scenario.
I have component name button-component:

frogcoder
- 354
- 5
- 19