Polyspace Access Utility is a bash script for dealing with basic operations when using Polyspace® Access™:
- backup (save and restore)
- clean-up
- statistics
- restart
- debug
The statistics include the number of projects and runs, the size of the database, the available memory for the server... Starting from R2024a, monitoring Polyspace Access is possible to have more advanced statistics and trends. You can even connect Polyspace Access to front-end tools like Grafana or Prometheus.
Refer to this MATLAB Answers page to learn how to install Prometheus and Grafana for monitoring Polyspace Access. https://mathworks.com/matlabcentral/answers/2107666-how-do-i-install-prometheus-and-grafana-to-monitor-polyspace-access-performance-metrics
The script is compatible with Polyspace Access from R2022a.
The tool should be installed in a subfolder of the Polyspace Access installation.
Before using the tool, you may have to set execution rights to the two bash scripts:
chmod u+x access_util.sh access_debug.sh
Since it is a simple bash script, there is else nothing to install. It is using the tool whiptail, which is installed by default on most Linux distributions. If whiptail is not installed, you can install it like this:
sudo apt install whiptail
Launch the script access_util.sh in su mode. The script will then read the Polyspace Access configuration files to get the settings used by Polyspace Access.
In the menu, use up and down cursor keys to chose the command to be launched then Enter to validate your choice.
A log file named log.txt is written in case of a problem.
The tool relies on commands (including SQL requests) that are not maintained and that may change in further releases of Polyspace Access.
The license for Polyspace Access Utility is available in the LICENSE.TXT file in this GitHub repository.
Copyright 2025 The MathWorks, Inc.