Tag: скрипты

Parallel tasks in Linux with limited number of processes

In fact, the authorship is not mine (link to the full article). I will save it as a ready snippet: where MY_PID=$$ is getting the PID of your own process. If we run child scripts or if we need to control another independent process, the line for calculating the number of processes can be changed …


How to add a program to UBUNTU autoloader

In order to add a program or script to the link to the autoloader, you need to do the following:Create a file in /etc/init.d/ Making the /etc/init.d/local script file executable: Add the /etc/init.d/myscript.sh script to the autoloader That’s it. You can now add commands to our script that must be executed when the system starts …