/ Published in: Bash
Set the last parameter to the number of cores.
End with 'killall perl'
End with 'killall perl'
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
perl -e 'while (--$ARGV[0] and fork) {}; while () {}' 4