2Bars plugin
Posted: February 10th, 2007, 4:24 pm
Attached is a plugin to display a single custom character that shows two vertical bar graphs. The function number (1-8) determines which character will be used, and each of the 2 parameters is the value of one of the bars. The minimum and maximum values are assumed to be 0 and 100.
syntax is:
$dll(2bars, <custom character number to use>, <value of left bar>, <value of right bar>)
You can use this to get a graph of the CPU usage of each of your dual cores:
$dll(2bars, 1, $dll(perf,4,5,\Processor(0)\% Processor Time), $dll(perf,4,5,\Processor(1)\% Processor Time))
The C++ source code is in the plugin development forum, if anybody would like to modify or improve this plugin.
syntax is:
$dll(2bars, <custom character number to use>, <value of left bar>, <value of right bar>)
You can use this to get a graph of the CPU usage of each of your dual cores:
$dll(2bars, 1, $dll(perf,4,5,\Processor(0)\% Processor Time), $dll(perf,4,5,\Processor(1)\% Processor Time))
The C++ source code is in the plugin development forum, if anybody would like to modify or improve this plugin.