將一個已經運行的進程attach到固定CPU內核上的方法(linux,windows)

在此前工作中對mysql的調優中曾經使用過該命令,將mysql的實例在制定的若干CPU內核上執行。 Retrieve the CPU affinity of an existing task The general syntax is as follows: taskset -p [pid] To retrieve the CPU affinity of an existing task (PID
相關文章
相關標籤/搜索