Is 'nice' inherited to child processes? e.g. bash script/php script that calls MySQL
Is the priority set by the 'nice' command inherited by processes that are called by the script being run?
For instance, say you do 'nice bash mysql.sh' or 'nice php mysql.php', and those scripts call a MySQL command like optimizing tables.
Would that MySQL command have a lower, 'nice' priority? And if not, is it possible to have a 'nice' type behavior that is inherited by child processes?
|