Running s-Dashboard

By default, when you install s-Server as a sudo or root user, the installer sets up a service called sdashboard.d. If you installed as a regular user or did not choose this option, you can run s-Dashboard manually by taking the following steps.

To run s-Dashboard:

  • Open a terminal and navigate to the s-Dashboard directory. By default, this directory is /opt/sqlstream//s-Dashboard.
  • Type ./s-dashboard.sh. You can specify any of the command-line arguments below.
Command-line argument Definition Default
-d Store dashboards in (overrides $SDASHBOARD_DIR)
/dashboards
-p Specify port (overrides $SDASHBOARD_PORT) 5595
-s Server mode, restarts server if it exits No
-h -? Show this help message No
-w webAgent port or URL. If not specified, s-Dashboard looks for webAgent on port 5580 of the same server running s-Server.

http://yourhost:5580

where “yourhost” is the name of the server running s-Server. |

Using the SDASHBOARD_DIR Environment Variable

The SDASHBOARD_DIR environment variable, which is set through the command line argument -d, lets you designate a directory for a set of dashboards.

Running Multiple Instances of s-Dashboard

By using multiple ports, you can run multiple instances of s-Dashboard. The default port is 5595. You can specify any available port by using the -p command line argument, as in: ```sql./s-dashboard -p 5596

You will also need to specify a directory for the additional instances by using the _-d <directory>_ argument, as in:

./s-dashboard -p 5596 -d dashboards_2 ```