介绍一个限制进程最大CPU占用的软件: ThreadMaster
2007-01-27 22:16
781 查看
软件的主页
http://threadmaster.tripod.com/
'好像上不去...
这个链接是可以的
http://bednorz.uni2.net/anyland/threadmaster/threadmaster.htm
简介:
ThreadMaster Monitors Threads and handle high CPU utilization on a per application basis.
ThreadMaster is a background service implementing a CPU Quota mechanism on top of the standard thread scheduling algorithms of the Microsoft Windows 2000 Operating Systems.
ThreadMaster monitors all running applications, and detects when a application starts to use excessive processor resources. It dynamically hunt down the offending thread, and clamp the CPU for this thread. This feature ensures that other users can remain working without noticing anything. The clamped process will eventually finish, and the clamp will be removed automatically.
下载地址: 目前的版本是Ver. 1.12 Build 182
http://bednorz.uni2.net/anyland/threadmaster/tminst112.zip
安装 软件仅支持Win2000以上系统
安装非常简单,将压缩包解开,运行其中的Install.cmd就可以了。
在主页上有卸载的方法,或者更简单,下载一个脚本执行一下也可以:
http://bednorz.uni2.net/anyland/threadmaster/uninst.cmd
配置详解Configuration
软件没有GUI,所有设置直接修改注册表:
ThreadMaster has no GUI interface, all configuration is done by using a well known tool "Regedit". Changing registry keys not described in this section, may cause serious problems. Use Registry Editor at your own risk. After any changes in the configuration please restart the ThreadMaster service for the changes to take effect.
All the default values in ThreadMaster is based on 2 CPU Compaq server, but can be used on any configuration.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters]
CPUThresholdPct
CPU load threshold per application. This is a global setting and affect all applications, unless other settings are defined in the "Application" or "Exceptions" sections.
Default: 15%, Valid range 3 - 100.
MainSampleTime
Time in seconds for application load above "CPUThresholdPct"
This value define the measurement time ThreadMaster using for calculating the average CPU utilization for applications.
Default: 30 sec. Values above 10 sec. accepted.
ThreadOverloadActionStart
Command to execute at action start.
Default :none
ThreadOverloadActionStop
Command to execute at action stopping. See the sample files "Threadloginstall.reg" and "ThreadLog.cmd" These files may be edited for your own usage.
Default: none
A list of special applications and the allowed CPU load. Only applications different from the general rule defined by "CPUThresholdPct" . Applications running as a single published application, in many instances, can profit by setting the applicationkey as low as 5%.
The list is read dynamically.
IMPORTANT: In multithreaded applications with multiple CPU incentive threads, don't set this value below the current number of CPU incentive threads, this may cause the application to "hang" , or run extremely slow.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Applications]
appimagenameA n Application image name and max. load threshold pct. (n)
appimagenameB m Valid Range 3 - 100
...
appimagenameX x
A list of applications not handled. Make sure all vital and basis system processes are listed here, otherwise the system may not work properly. Do not take it for granted that antivirus programs etc. are vital, in this sense.
The list is only enumerated when Threadmaster starts.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Exceptions]
imagenameA
imagenameB
...
imagenameX
Statistics is updated by ThreadMaster, this section documents the work of ThreadMaster.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Statistics]
中文详解,部分关键配制
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters]
CPUThresholdPct
这个是设置一般进程最大CPU占用率的地方,有效值 3-100
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Applications]
这里可以针对具体进程限制其CPU占用
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Exceptions]
这里可以设置不受上面占用率限制影响的进程列表,缺省已经有一些系统进程在里面了,也可以自己进行修改
手工卸载的方法
命令提示符下操作:
%windir%\system32\ThreadMaster\
运行 "net stop threadmaster"
运行 "ThreadMast -remove"
删除 "%windir%\system32\ThreadMaster\" 目录
文章摘自:中国分布式计算机论坛
http://threadmaster.tripod.com/
'好像上不去...
这个链接是可以的
http://bednorz.uni2.net/anyland/threadmaster/threadmaster.htm
简介:
ThreadMaster Monitors Threads and handle high CPU utilization on a per application basis.
ThreadMaster is a background service implementing a CPU Quota mechanism on top of the standard thread scheduling algorithms of the Microsoft Windows 2000 Operating Systems.
ThreadMaster monitors all running applications, and detects when a application starts to use excessive processor resources. It dynamically hunt down the offending thread, and clamp the CPU for this thread. This feature ensures that other users can remain working without noticing anything. The clamped process will eventually finish, and the clamp will be removed automatically.
下载地址: 目前的版本是Ver. 1.12 Build 182
http://bednorz.uni2.net/anyland/threadmaster/tminst112.zip
安装 软件仅支持Win2000以上系统
安装非常简单,将压缩包解开,运行其中的Install.cmd就可以了。
在主页上有卸载的方法,或者更简单,下载一个脚本执行一下也可以:
http://bednorz.uni2.net/anyland/threadmaster/uninst.cmd
配置详解Configuration
软件没有GUI,所有设置直接修改注册表:
ThreadMaster has no GUI interface, all configuration is done by using a well known tool "Regedit". Changing registry keys not described in this section, may cause serious problems. Use Registry Editor at your own risk. After any changes in the configuration please restart the ThreadMaster service for the changes to take effect.
All the default values in ThreadMaster is based on 2 CPU Compaq server, but can be used on any configuration.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters]
CPUThresholdPct
CPU load threshold per application. This is a global setting and affect all applications, unless other settings are defined in the "Application" or "Exceptions" sections.
Default: 15%, Valid range 3 - 100.
MainSampleTime
Time in seconds for application load above "CPUThresholdPct"
This value define the measurement time ThreadMaster using for calculating the average CPU utilization for applications.
Default: 30 sec. Values above 10 sec. accepted.
ThreadOverloadActionStart
Command to execute at action start.
Default :none
ThreadOverloadActionStop
Command to execute at action stopping. See the sample files "Threadloginstall.reg" and "ThreadLog.cmd" These files may be edited for your own usage.
Default: none
A list of special applications and the allowed CPU load. Only applications different from the general rule defined by "CPUThresholdPct" . Applications running as a single published application, in many instances, can profit by setting the applicationkey as low as 5%.
The list is read dynamically.
IMPORTANT: In multithreaded applications with multiple CPU incentive threads, don't set this value below the current number of CPU incentive threads, this may cause the application to "hang" , or run extremely slow.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Applications]
appimagenameA n Application image name and max. load threshold pct. (n)
appimagenameB m Valid Range 3 - 100
...
appimagenameX x
A list of applications not handled. Make sure all vital and basis system processes are listed here, otherwise the system may not work properly. Do not take it for granted that antivirus programs etc. are vital, in this sense.
The list is only enumerated when Threadmaster starts.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Exceptions]
imagenameA
imagenameB
...
imagenameX
Statistics is updated by ThreadMaster, this section documents the work of ThreadMaster.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Statistics]
中文详解,部分关键配制
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters]
CPUThresholdPct
这个是设置一般进程最大CPU占用率的地方,有效值 3-100
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Applications]
这里可以针对具体进程限制其CPU占用
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ThreadMaster\Parameters\Exceptions]
这里可以设置不受上面占用率限制影响的进程列表,缺省已经有一些系统进程在里面了,也可以自己进行修改
手工卸载的方法
命令提示符下操作:
%windir%\system32\ThreadMaster\
运行 "net stop threadmaster"
运行 "ThreadMast -remove"
删除 "%windir%\system32\ThreadMaster\" 目录
文章摘自:中国分布式计算机论坛
相关文章推荐
- 如何查看linux上一个进程占用的内存,cpu等状态?
- JVM监控工具介绍jstack, jconsole, jinfo, jmap, jdb, jsta (Linux 如何查看进程的各线程的CPU占用 )
- 分别查找主机占用CPU和占用内存最大的进程,要求能查出进程PID,启动目录,启动命令,占用文件描述符数量,占用端口
- Linux中如何限制一个进程的CPU占用率?
- 解决一个 MySQL 服务器进程 CPU 占用 100%解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记》[转]
- 解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记
- 解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记
- 解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记
- 限制 某进程 使用最大CPU资源
- linux 命令查看一个进程占用的cpu
- 如何找到占用cpu最高的java线程?tomcat所在线程是守护线程吗?如何在linux中断一个Java进程中的线程,如何让一个守护线程不被结束
- linux top cset schedtool 对于多核CPU,如何限制进程在一个CPU上运行
- Linux 限制进程占用CPU
- 怎么限制一个应用程序进程使用指定的cpu
- 限制 某进程 使用最大CPU资源 _ cpulimit _ 参考
- 【小工具】windows进程限制工具,可以限制其它软件只能运行一个 最新版本V1.2.0
- 解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记
- 解决一个 MySQL 服务器进程 CPU 占用 100%解决一个 MySQL 服务器进程 CPU 占用 100%的技术笔记》[转]
- 【原创】用python写的一个监测本地进程CPU占用的程序
- windows进程限制工具,可以限制其它软件只能运行一个