Skip to content

A GUI to display statistics from a NICE DCV server log file.

License

Notifications You must be signed in to change notification settings

dcvix/dcvix-stats

Repository files navigation

dcvix Stats

Dcvix Stats is a Go application that provides a graphical user interface (GUI) to display statistics from a NICE DCV server log file. It uses the Fyne toolkit for the GUI and the go-charts library to render line charts of various metrics.

The application works by parsing a DCV server log file, extracting statistical data using regular expressions, and then displaying this data in a series of line charts. The user can show or hide them from the "Show" menu.

Note The DCV server writes statistics to the log file every minute, so the graph will update with new data once per minute.

screenshot

Command-line Flags

The Dcvix Stats accepts the following command-line flags:

  • --version: Show version information.
  • --verbose: Enable verbose logging.
  • --entries: How many entries/minutes to evaluate (default 120).
  • --logfile: Path to the DCV server log file.
  • --refresh: Auto-refresh interval in seconds (default 30).

Preferences

Preferences like auto refresh and opened graphs will be saved to:

  • On linux ~/.config/fyne/net.cortassa.dcvix-stats/
  • Om Windows C:\Users\<user>\AppData\Local\net.cortassa.dcvix-stats\

Download

Download binaries for Linux or windows from GitHub releases

Installation

No installation needed, Just extract the archive. On linux launch dcvix-stats. On windows launch dcvix-stats.exe

Building

Preferred building environment Linux

Requirements

To be able to cross compile

  • Ensure that Docker is installed and functioning properly.
  • go install github.com/fyne-io/fyne-cross@latest
  • go install github.com/tc-hib/go-winres@latest

Build the application

The project uses a Makefile to simplify common tasks, the build process will create an executables in the dist directory.

Build Linux and Windows binaries

make build

Build only Linux or Windows binaries

make build-linux
make build-windows-cross

Run without building an executable (for testing changes)

make run

Run without building an executable, with Fyne containers and layouts highlighted (for testing GUI layout)

make run-debug

Version bump

Automatically raise the minor version number

make version-bump

To manually raise the version just edit the VERSION file

Create a version tag using info from the VERSION file (will update FyneApp.toml)

make tag

The tag will be ready to be pushed to GitHub, triggering automatic compilation and release creation.

About

A GUI to display statistics from a NICE DCV server log file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published