User monitor

You can use this function to view the different Adonix tasks in progress on the server. The current process server tasks are displayed by default, but any server accessible via the network that has a software connection process with the same service number can be accessed.

Prerequisites

SEEREFERTTO Refer to the implementation documentation.

Screen management

This function displays as a single screen without a left list.

Entry screen

This function displays the connection characteristics for the default server. If you want to view the connections on another server, it is necessary to give its name. It is possible to view it if the service number is the same as the remote server.

The three following sections are on this screen.

Open sessions

This first section contains a grid named Open sessions which displays the characteristics of the Adonix tasks in progress:

  • The identification of the connection in terms of the operating system. Four elements define this identification:
    • The login
    • The service connection number (characteristic of the adxd task to which the workstation is attached for the connection request)
    • The IP address for the connection
    • The name of the client workstation. It is either:
      • The network name of the client workstation to which the task is attached
      • The ADAPI (connection to an Adonix API, for example, via ADONIX XTEND™)
      • BATCH (batch task)
      If the connection is via a web server (it is the case when using a web client), the web server's name displays here.
  • The folder, login for the software, module, and function: This information identifies the context of the session itself. You can see both the connection folder and the user code (AUTILIS table), plus the function currently being executed (AFONCTION table) and the corresponding module. If the user is in a menu rather than a function, the function code is empty.
    The batch server itself is present as a task called SERVEUR, functioning in the folder SERVX3.
  • The date and time of the connection start
  • The Ident1 and Ident2 fields are unique identifiers managed by the Adonix engine for the user connection. The first is unique for a given folder. It corresponds with the result of the evaluation of the adxuid(1) function. The APLLCK file (this is the LCKPID field) also uses it.
    The second is unique for a given server and service number. It corresponds with the result of the evaluation of the adxuid(2) function.
  • The connection type:
    • Batch
    • Primary
    • Secondary
    • ADAPI

Active processes

The grid present in the second section displays, when the user selects a specific line in the upper grid (Open sessions), the active processes managed for the session. These processes are:

  • sadora: access the database according to the Oracle database
  • sadoss: access the database according to the SQLServer database
  • sadudb: access the database according to the DB2 UDB database

These processes can have the following types:

  • adonix: process execution
  • sadfsq: access to the application objects
  • sadsys: system order execution

In addition to the process number (UNIX or NT depending on the case), the server name on which the process is running is also visible.
It can be:

  • The client
  • The server
  • A third-party machine if there are tables open in another folder on another machine

By right-click, there is access from each table row, to the Process stop function. You can use this function to stop the corresponding process (by kill under UNIX or using the killadx function under NT). From a database angle, stopping a process involves the actual stopping of the transaction in progress but also losing data in the process of being entered. Be very careful when using this function. Use it for the resolution of operational incidents. The user's rights to carry out this type of function depend on the characteristics of the user connection. If users want to stop tasks that they have not launched themselves, they must connect as a super user (root in the case of UNIX).

Total sessions

This section displays the number of active sessions by session types (primary, secondary, batch, ADAPI) with a global total. In addition, after each session type, the total number of connections authorized by type is displayed.

Specific buttons

Sort / Folder

This function is used to sort the lines by folder.

Sort / Client

This function is used to sort the lines by client workstation.

Sort / Login

This function is used to sort the lines by connection code.

Sort / System login

This function is used to sort the lines by system connection code.

Sort / Date

This function is used to sort the lines by date.

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

xxxx: Server not accessible.

This message can mean that:

  • The server whose name is given does not exist
  • The server is not connected to the network
  • No adxd connection service is pending for the current service number.

This message can display after a long wait time.

Tables used

SEEREFERTTO Refer to the implementation documentation.