AdvancedCPU plugin AdvancedCPUプラグイン

Plugin=AdvancedCPU measures CPU usage by processes.Plugin=AdvancedCPU プロセスごとのCPU使用率を測定します。

Plugin Deprecated廃止予定のプラグイン

This plugin has been deprecated, and should not be used in new skins.このプラグインは非推奨になりました。新しいスキンでは使用しないでください。

The UsageMonitor plugin should be used in place of this.UsageMonitorのプラグインは、このの代わりに使用する必要があります。


Note: The value is a calculation of process CPU time scaled by the number of CPU cores. In order to use the value as a percentage in meters, it must have the MaxValue of the measure dynamically set to the current value of an AdvancedCPU measure which has no CPUInclude or CPUExclude options. See the Example below.注:この値は、CPUコアの数でスケーリングされたプロセスCPU時間の計算値です。値をメートル単位のパーセンテージとして使用するには、数値データのMaxValueを、オプションがないAdvancedCPU数値データの現在の値に動的に設定するCPUInclude必要がCPUExcludeあります。以下の例を参照してください。

Optionsオプション

General measure options一般的な測定オプション

All general measure options are valid.一般的な測定オプションはすべて有効です。

CPUInclude

List of process names separated by ; (semicolon) to use in measurements . If specified, CPUExclude is ignored.;測定に使用するために(セミコロン)で区切られたプロセス名のリスト。指定した場合CPUExcludeは無視されます。

CPUExclude

List of processes separated by ; (semicolon) to ignore in measurements.;測定で無視するために(セミコロン)で区切られたプロセスのリスト。

Note: The process Idle is a placeholder process used to manage unused CPU, therefore it should be excluded with CPUExclude=Idle to obtain CPU or TopProcess usage.注:プロセスアイドルは、未使用のCPUを管理するために使用されるプレースホルダープロセスです。したがって、CPUExclude=IdleCPUまたはTopProcess使用率を取得するために除外される必要があります。

TopProcess Default: 0TopProcess デフォルト: 0

Measures the process that is currently using the most CPU. Valid values are:

  • 1 : The value will be the process CPU usage.1注:はプロセスのCPU使用率になります。
  • 2 : The string value will be the process name. The number value is not altered.2文字列値はプロセス名になります。数値は変更されません。

Example

[Rainmeter]
Update=1000
DynamicWindowSize=1
BackGroundMode=2
SolidColor=0,0,0,255

;Measure maximum CPU time for use in MaxValue in other measures
[MeasureCPUMax]
Measure=Plugin
Plugin=AdvancedCPU

;Measure current CPU usage with MaxValue set
[MeasureCPU]
Measure=Plugin
Plugin=AdvancedCPU
CPUExclude=Idle
MaxValue=[MeasureCPUMax]
DynamicVariables=1

;Measure Name of top process
[MeasureTopName]
Measure=Plugin
Plugin=AdvancedCPU
CPUExclude=Idle
TopProcess=2

;Measure CPU usage of top process with MaxValue set
[MeasureTop%]
Measure=Plugin
Plugin=AdvancedCPU
CPUExclude=Idle
TopProcess=1
MaxValue=[MeasureCPUMax]
DynamicVariables=1

;Show current CPU usage as a percentage
[MeterCPU]
Meter=String
MeasureName=MeasureCPU
Y=2R
FontColor=255,255,255,255
FontSize=12
AntiAlias=1
Percentual=1
NumOfDecimals=2
DynamicVariables=1
Text=CPU Usage: %1

;Show name of top process
[MeterTopName]
Meter=String
MeasureName=MeasureTopName
Y=2R
FontColor=255,255,255,255
FontSize=12
AntiAlias=1

;Show CPU usage of top process as a percentage
[MeterTop%]
Meter=String
MeasureName=MeasureTop%
X=2R
Y=0r
FontColor=255,255,255,255
FontSize=12
AntiAlias=1
Percentual=1
NumOfDecimals=2
Text=(%1)

Note:注意:

While rare, it is possible for the database of "counters" that is maintained by Performance Monitor in Windows to become damaged, which will cause the plugin to stop functioning correctly.まれですが、Windowsのパフォーマンスモニタで管理されている「カウンタ」のデータベースが破損し、プラグインが正しく機能しなくなる可能性があります。

In many cases, this can be corrected by "rebuilding" the database from the Windows command line.多くの場合、これはWindowsのコマンドラインからデータベースを「再構築」することで修正できます。

Run cmd.exe, being sure to run "As administrator". At the command line, enter the following commands in order:必ず "管理者として"を実行して、cmd.exeを実行します。コマンドラインで、次のコマンドを順番に入力します。

cd c:\windows\system32
lodctr /R
cd c:\windows\sysWOW64
lodctr /R

You should see the following results:次のような結果になるはずです。

Info: Successfully rebuilt performance counter setting from system backup store

関連記事

スポンサーリンク

名称に日本語文字を含むフォントファミリの指定を無視する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る