Visual Statistics Display (VSD) version 5.5.1 is a new release of the VSD product, including a number of new features and bug fixes.
These release notes describe changes between the previous version of VSD, version 5.5, and version 5.5.1.
This version of VSD supports statmonitor files generated from:
GemStone/S 64 Bit 3.6 writes statmonitor data files with a slightly updated format, with a new line containing the statmonitor command line. As a result, VSD 5.5 or later is required in order to read statmonitor files generated by GS64 v3.6 or later.
VSD 5.5.x can read data files generated by older versions of GS64, as well as by v3.6.
On more recent versions of OSX 10.15 (Catalina), the GateKeeper security restrictions have been changed for downloaded executables, resulting in applications being quarantined by default if they are downloaded via a web browser.
To allow the downloaded distribution to run correctly, the VSD distribution for Mac now conforms to Apple’s security protocols. The distribution is now provided as a .dmg that is signed and notarized by Apple, rather than a .zip file.
To install VSD on the Mac, double click on the file to open it, and drag the installation tree to your installation directory.
Statmonitor supports an periodic automatic restart of the file it is writing to (using the -r and -R arguments). Previously, when the statmonitor file was being viewed in VSD with auto-update, it was difficult to be aware of, and continue viewing, after the rollover to a new file. There are a number of changes to improve using VSD’s auto-update with statmonitor’s auto-restart.
Auto-append is a new feature in VSD. With auto-append enabled, the next statmonitor file that appears in the same directory as the original file (regardless of the name of the new file), is automatically opened and appended to the existing view. This feature requires auto-update to be enabled. When the menu item File > Auto Append Next File is checked, it will automatically also check the Auto Update menu item.
Note that there is no check to determine if the files actually are both part of the same series of statmonitor data files; since filenames can be generated flexibly, it’s not possible to definitely determine this. If you have multiple statmonitor processes writing files in the same directory, each will be appended; this does not cause problems, but may make it difficult to make sense of VSD charts.
You may use auto-append on more than one series of data files at a time within a single VSD session, as long as the statmonitor data files are in different directories.
The vsd command line -A option has been added which starts off VSD in auto-update and auto-append modes.
When a file is appended, or during auto-update, the Main Window shows the sample count in green for processes that are updating.
Previously, these remained green even when the file was no longer being actively updated. Now, after a configurable timeout period, the font color reverts to black and a message is printed in the status bar of the main window.
The timeout for automatic update (the time before the font changes from green to black, to indicate that it is no longer updating), is by default 90 seconds. This allows for statmonitor write intervals up to this interval to not be treated as no longer active.
You can change the timeout using the dialog opened by the Main Window menu Main > Settings > Change Inactive File Timeout.
The vsd -u option was de-supported in v5.2, although it was not removed and continued to work for simple cases. This option has been restored; it is not supported on Windows.
Usage: vsd [-b color] [-h] [ [-a][-A][-u] file1+ [directory] ]
Options:
-a Open and append (as if they were one file) one or more
files.
-A Open and append (as if they were one file) one or more
files and enable continuous append with auto-append mode.
-b color
Set the master background color. Color may be a hex RGB
value (e.g. #d3d3ff) or a valid color name (e.g. white).
The list of recognized color names may be found at:
http://www.tcl.tk/man/tcl8.6/TkCmd/colors.htm
-h Print this help screen and exit.
-u Open one or more files and enable auto-update mode.
-v Print version information and exit.
On the command line, you may specify more than one file using the wild card. This, however, uses the OS file ordering. If you escape the star, it allows VSD to sort the files from oldest to newest, and load in that order.
For example, to load and append a set of files and allow auto-append of new files:
vsd -A $GEMSTONE/statmons/\*.gz
On windows, you can escape the path separator using the caret, for example:
vsd -a C:\statmons\stat^*.gz
The syntax for vsd templates allows you to limit a statistic by the type of process and by the name of the process. For example,
Gem+ {*Gc*} ...
This expression matches all Gems whose name include ’Gc’.
Now, you can use the ! operator to specify processes to exclude, by name.
{Stn {!pagemgrThread} ...
This matches all Stone processes whose name does not include ’pagemgrThread’.
Many of the built-in templates, such as "Garbage", display lines for Stone statistics. Since the Page Manager is a thread in the Stone and has type Stn, lines for the page manager were inadvertently included on the resulting charts. Now, using the new not operator, these are not displayed. Note that since templates are cached in .vsdtemplates, you will need to delete that file (making sure to save any custom templates you have defined), before you will see the updated templates.
When a chart window was open on one or more statistics, and a data file was appended, the open chart window was not updated, and new chart window on that statistic showed invalid data. (#41951).
VSD remembers the last directory from which a file was loaded, and reads this the next time VSD starts. If the directory name included a space, VSD did not parse this correctly and errored on startup. (#48980)
Many VSD menus included the ability to detach, using a dashed line menu item at the top of the menu. These did not function correctly and have been removed.
Statmonitor data can be written with or without per-process system stats (statistics such as UserTime, which are collected from the OS for GemStone processes such as the Stone). If two files were loaded into VSD that differed in whether they included per-process system stats, VSD did not update the statistics list correctly for those processes correctly. (#49003) Now, these are handled as statistics for different versions, that is, with an index appended to the statistics name.