The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

runaffinity - Runs given command with affinity set

SYNOPSIS

Typical usage:

 $ runaffinity 0100 gzip -7 /some/large/file

Options synopsis:

 $ runaffinity affinity_mask command_and_args

DESCRIPTION

Runs supplied command with affinity applied. Mask must be a string consisting of 0 and 1. CPU0 comes rightmost, here are two examples:

        0101 - CPU0 + CPU2
        1000 - CPU3 only

SEE ALSO

man 2 cpuset_getaffinity

man 2 cpuset

AUTHOR

Sergey Aleynikov <sergey.aleynikov@gmail.com>