提交 563c928b 编写于 作者: R Rudá Moura

examples: New wrapper bind_cpu0.sh.

Add new wrapper script `bind_cpu0.sh` to bind process to CPU 0.
So it will force the process (and its children) to run in one CPU.
Signed-off-by: NRudá Moura <rmoura@redhat.com>
上级 beb8fdcc
#!/bin/bash
#
# Bind process to CPU 0.
#
exec taskset -c 0 "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册