taskset

From wikieduonline
Jump to navigation Jump to search

wikipedia:taskset set or retrieve a process's CPU affinity.

taskset -p


taskset -p 17234
pid 17234's current affinity mask: ffffffffffffffffffffffffffffffff
taskset -p 17234 | grep pid | awk '{print $NF}'  |tr -d '\n' | wc -m
32


Related[edit]

See also[edit]

Advertising: