Score:1

How to set CPU affinity for process with specific name to very high every time that process starts?

in flag

How do I set CPU affinity for process with specific name to very high every time that process starts?

user535733 avatar
cn flag
Are you asking how to set the `nice` value? Or something else?
cc flag
schedtool -a 0x1 \`pidof cpu_hog\` after it's running. Maybe in a startup script?
dawnslayer avatar
in flag
new processes with the same name will keep starting and then close itself after a while so I cant use PID. Can I peg this schedtool to a process's name?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.