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_LOADNRUN62_CMD%" /listserver
You can list the Loadnrun 62demo applications hosted on the Loadnrun Server by issuing the following command:
"%II_LOADNRUN62_CMD%" /listserver 62demo
Example output:
================================================================================
Loadnrun62: Tue 03/11/2014 13:15:32.50: Contents of directory "%II_W4GLAPPS_DIR%\eclient\62demo"
--------------------------------------------------------------------------------
"%II_W4GLAPPS_DIR%" = "C:\Program Files (x86)\Actian\OpenROAD\Loadnrun62\bin\"
--------------------------------------------------------------------------------
Comtestclient
connect_example1
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_LOADNRUN62_CMD%" launcher http://hostname/openroad/ 62demo
The Loadnrun 6.2 Server is capable of hosting additional applications from Loadnrun 5.1, Loadnrun 6.0, and Loadnrun 6.2. The following command displays all directories that are being hosted by Loadnrun 6.2 Server:
"%II_LOADNRUN62_CMD%" /listserver
 
================================================================================
Loadnrun62: Tue 03/11/2014 13:43:28.45: Contents of directory "%II_W4GLAPPS_DIR%\eclient"
--------------------------------------------------------------------------------
"%II_W4GLAPPS_DIR%" = "C:\Program Files (x86)\Actian\OpenROAD\Loadnrun62\bin\"
--------------------------------------------------------------------------------
51
51demo
51prod
51test
60
60demo
60prod
60test
62
62demo
62prod
================================================================================
The "%II_LOADNRUN62_CMD%" script is capable of launching Loadnrun 5.1 or Loadnrun 6.0 applications as long as the Loadnrun 5.1 and Loadnrun 6.0 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_LOADNRUN62_CMD%" /listcache
 
================================================================================
Loadnrun62: Tue 03/11/2014 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_LOADNRUN62_CMD%" /listcache hostname
 
================================================================================
Loadnrun62: Tue 03/11/2014 13:21:28.58: Contents of directory "%APPDATA%\Actian\eclientcache\hostname"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
62demo
================================================================================
The following command lists the contents of the 62demo application on the server:
"%II_LOADNRUN62_CMD%" /listcache hostname 62demo
 
================================================================================
Loadnrun62: Tue 03/11/2014 13:21:49.82: Contents of directory "%APPDATA%\Actian\eclientcache\hostname\62demo"
--------------------------------------------------------------------------------
"%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_LOADNRUN62_CMD%" launcher http://hostname:8080/openroad/ 62demo
The following command shows that applications delivered from hostname and hostname:8080 are cached under different subdirectories.
"%II_LOADNRUN62_CMD%" /listcache
 
================================================================================
Loadnrun62: Tue 03/11/2014 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_LOADNRUN62_CMD%" /listcache hostname_8080
 
=================================================================================
Loadnrun62: Tue 03/11/2014 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_LOADNRUN62_CMD%" /listcache hostname_8080 62demo
 
================================================================================
Loadnrun62: Tue 03/11/2014 13:27:51.94: Contents of directory "%APPDATA%\Actian\eclientcache\hostname_8080\62demo"
--------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------------
comtestclient
connect_example2
httptest
Intertask1
Intertask2
Jigfall
Launcher
Minesweeper
qt
================================================================================