/ Published in: Bash
Set the last parameter to the number of cores.
End with 'killall perl'
Expand |
Embed | Plain Text
perl -e 'while (--$ARGV[0] and fork) {}; while () {}' 4
You need to login to post a comment.
Set the last parameter to the number of cores.
End with 'killall perl'
perl -e 'while (--$ARGV[0] and fork) {}; while () {}' 4
You need to login to post a comment.