Tag Info

New answers tagged


Execute the command killall script.scr


I already answered a similar question a few months ago. So see that first for technical details. Here, I shall just show you how your situation is covered by that answer. As I explained, I and other writers of various dæmon supervision utilities take advantage of how Linux now works, and what you are seeing is that very thing in action, almost ...


There is a utility, taskset, part of util-linux, for just this purpose. For example: taskset -c 0-15 script will run script and constrain it to use just CPUs with IDs 0 to 15. To check that your scripts are indeed constrained to run on the proper CPUs, you can look at the file /proc/<pid>/status: it will have entries named Cpus_allowed (a bitmap; ...

Top 50 recent answers are included