LCD Smartie

Perf Plugin for LCD Smartie


[Blue photos by Crystalfontz]

[Green photos by WaterCoolingShop.com]

FAST START GUIDE

If you hate reading instructions then here's the fast start guide:

Introduction

This is a plugin that makes it possible to display bar-graphs of performance counters (such as % CPU Load). The graphs will appear on the LCD display, but currently Smartie's virtual display will display junk.

Limitations

This plugin redefines the custom characters, so only one type of graph can be on the display at once (i.e. you can have two or more graphs but they must use the same barstyle and direction). [Except, there can only be one "Tiny graphs" at a time on screen].

Win9x not supported. Windows 95/98 do not support the pdh interface that this plugin uses.

Non-English Windows, because the counter names are localised in window's local language the 'Basic Use' and demo config-perf.ini file won't work on anything other than an English system. BUT Not all is lost - The 'advance use' can be used. [I can't test non-english support but I know for example that the German version of '\Processor(0)\% Processor Time' is '\Prozessor(0)\Prozessorzeit (%)'].

Download

Perf Plugin v1.0 can be downloaded here.

Install

To install this plugin copy the perf.dll into the plugins directory of LCD Smartie. [Only the 5.3 and above builds are supported.]

The zip file also includes a config-perf.ini file which shows how the plugin can be used - backup your config.ini file before renaming this as config.ini.

Basic Use

To use the plugin you will need to insert commands into the your screens - please ensure that all graph lines have a consistant scroll setting (i.e. all on or all off)!
The basic form of the commands will only display a graph of the percentage of CPU use:

On a 2 line display, the lines entered into smartie will look something like this:

On a 4 line display, the lines entered into smartie will look something like this:

Advance Use

Function 1

The format of function 1 is: $dll(perf,1,[options],[name])

[name] can be anything you want BUT must be unique (no other graph on any screen can have the same name), it is used to tie the different commands to the same graph.

[option] takes the form: HeightxWidth#Direction#BarStyle#SampleTime#min#max#CounterName
Where:

All options are optional except HeightxWidth, but the order must be maintained - so to leave BarStyle out, you must also leave out Sampletime, min, max and CounterName.

Examples:

The best way to find the name of a performance object is to use the administrator tool "performance monitor". This microsoft page gives some details on the format (which even allows remote machines to be monitored). Here are some ideas (there are tons of others):

Tiny Graphs

When a barStyle of 99 or above is used then a tiny graph will be produced, where each bar is only 1 pixel wide. The graph can be up to 8 characters wide and only 1 character high (so, 1x8 or less).

Users with Crystalfontz displays that are gapless between character cells (i.e. 631, 632, 634) can use a barStyle of 100 to get a gapless graph!

NB: Only directions up and down are supported with tiny graphs.

Here is the full list of Tiny graph styles:

Function 2

See the 'Basic Use' section for a description of function2.

Function 4

This function fetches the value of a performance counter.

The format of function 4 is: $dll(perf,4,[SampleTime],[CounterName])

Example: $dll(perf,4,5,\Processor(0)\% Processor Time)

Bar Styles

For Tiny graphs styles see Tiny graphs section.

The following styles are defined:

SourceForge.net Logo
Last change: $Author: clansley $ $Date: 2005/05/07 18:09:50 $ $Revision: 1.40 $
[Your browser does not understand CSS/XHTML - so this page may be a little strange looking. For security reasons it's always a good idea to upgrade to the latest browser version.]