Server Reference Guide : Loadnrun : Loadnrun Command Reference : Server Commands
 
Share this page          
Server Commands
The following commands are used on the Loadnrun Server. Example output shows server usage.
/listserver Command
Use the /listserver command to display the list of Loadnrun eClient applications that are hosted on the Loadnrun Server:
"%II_LOADNRUN11_CMD%" /listserver
You can list the Loadnrun 11demo applications hosted on the Loadnrun Server by issuing the following command:
"%II_LOADNRUN11_CMD%" /listserver 11demo
Example output:
================================================================================
Loadnrun11: Tue 03/11/2014 13:15:32.50: Contents of directory "%II_W4GLAPPS_DIR%\eclient\11demo"
--------------------------------------------------------------------------------
"%II_W4GLAPPS_DIR%" = "C:\Program Files\Actian\OpenROAD\Loadnrun11\bin\"
--------------------------------------------------------------------------------
Comtestclient
connect_demo
connect_example2
httptest
Intertask1
Intertask2
Jigfall
Launcher
Minesweeper
qt
================================================================================
Launcher Command
You can test-launch the Loadnrun applications that were hosted by issuing the following command:
"%II_LOADNRUN11_CMD%" launcher http://hostname/openroad/gatekeeper 11demo
The Loadnrun 11.1 Server is capable of hosting additional applications from Loadnrun 11.1, and Loadnrun 6.2. The following command displays all directories that are being hosted by Loadnrun 11.1 Server:
"%II_LOADNRUN11_CMD%" /listserver
 
================================================================================
Loadnrun11: Tue 03/11/2020 13:43:28.45: Contents of directory "%II_W4GLAPPS_DIR%\eclient"
--------------------------------------------------------------------------------
"%II_W4GLAPPS_DIR%" = "C:\Program Files\Actian\OpenROAD\Loadnrun11\bin\"
--------------------------------------------------------------------------------
11
11demo
11prod
11test
62
62demo
62prod
================================================================================
The "%II_LOADNRUN11_CMD%" script is capable of launching Loadnrun 11.1 or Loadnrun 6.2 applications as long as the Loadnrun 11.1 and Loadnrun 6.2 runtimes are installed on the machine.
/listcache Command
Use the /listcache command to display the list of applications present on the server. For example:
"%II_LOADNRUN11_CMD%" /listcache
 
================================================================================
Loadnrun11: Tue 03/11/2020 13:21:16.90: Contents of directory "%APPDATA%\Actian\eclientcache"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
hostname
================================================================================
Use the following command to display the Loadnrun applications that are hosted on the Loadnrun Server:
"%II_LOADNRUN11_CMD%" /listcache hostname
 
================================================================================
Loadnrun11: Tue 03/11/2020 13:21:28.58: Contents of directory "%APPDATA%\Actian\eclientcache\hostname"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
11demo
================================================================================
The following command lists the contents of the 11demo application on the server:
"%II_LOADNRUN11_CMD%" /listcache hostname 11demo
 
================================================================================
Loadnrun11: Tue 03/11/2014 13:21:49.82: Contents of directory "%APPDATA%\Actian\eclientcache\hostname\11demo"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
comtestclient
connect_example2
httptest
Intertask1
Intertask2
Jigfall
Launcher
Minesweeper
qt
================================================================================
The following command starts the launcher demo application, which you can use to launch other Loadnrun applications.
"%II_LOADNRUN11_CMD%" launcher http://hostname:8080/openroad/ 11demo
The following command shows that applications delivered from hostname and hostname:8080 are cached under different subdirectories.
"%II_LOADNRUN11_CMD%" /listcache
 
================================================================================
Loadnrun11: Tue 03/11/2020 13:27:33.08: Contents of directory "%APPDATA%\Actian\eclientcache"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
hostname
hostname_8080
================================================================================
The following command displays the Loadnrun applications that are cached under the hostname_8080 subdirectory.
"%II_LOADNRUN20_CMD%" /listcache hostname_8080
 
=================================================================================
Loadnrun11: Tue 03/11/2020 13:27:44.53: Contents of directory "%APPDATA%\Actian\eclientcache\hostname_8080"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
62demo
================================================================================
The following command displays the applications cached under hostname_8080\or62demo subdirectory.
"%II_LOADNRUN11_CMD%" /listcache hostname_8080 62demo
 
================================================================================
Loadnrun11: Tue 03/11/2020 13:27:51.94: Contents of directory "%APPDATA%\Actian\eclientcache\hostname_8080\11demo"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
comtestclient
connect_example2
httptest
Intertask1
Intertask2
Jigfall
Launcher
Minesweeper
qt
================================================================================