Microsoft's Sysinternal's psexec -a flag can set processor affinity on Windows XP
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
Usage: psexec [//computer[,computer2[,...] | @file][-u user [-p psswd]][-n s][-l][-s|-e][-x][-i [session]][-c [-f|-v]][-w directory][-d][-<priority>][-a n,n,... ] cmd [arguments]
| computer | Direct PsExec to run the application on the computer or computers specified. If you omit the computer name PsExec runs the application on the local system and if you enter a computer name of "//*" PsExec runs the applications on all computers in the current domain. |
| @file | Directs PsExec to run the command on each computer listed in the text file specified. |
| -a | Separate processors on which the application can run with commas where 1 is the lowest numbered CPU. For example, to run the application on CPU 2 and CPU 4, enter: "-a 2,4" |
本文介绍如何使用Microsoft Sysinternals套件中的PsExec工具来设置Windows XP系统的处理器亲和性。PsExec能够远程运行命令,并通过-a标志指定处理器运行的应用程序。例如,要让应用程序仅在CPU2和CPU4上运行,则使用-a2,4参数。
1871

被折叠的 条评论
为什么被折叠?



