Using Session Management , you can monitor and administer all open user sessions in AS Java. All sessions are aggregated. You can perform the following activities:
monitor who is working on the system and what applications they are using
start tracing particular sessions
terminate cluster/user sessions
activate filters and then view the result in other related tools
To start the function, open SAP NetWeaver Administrator and navigate to .
Alternatively, you can access the function with the quick link: /nwa/sessionmgt .
Monitoring Sessions
In the User Sessions area, you get a list of all user sessions on AS Java (for example, Administrator, Guest, other user).
In the table, you can view various parameters of a user session:
Last Accessed Time - shows the time when a user has last accessed the session.
Total Number of Requests - represents the sum of the requests of all its cluster sessions.
Total Active Requests - shows the sum of all active requests in the cluster sessions. If no cluster session is active - the number for the relevant user session is 0 (zero).
Longest Active Request - shows the active/inactive requests and their duration (in milliseconds).
Longest Response Time - shows the maximum response time among all cluster sessions.
Overall CPU Usage , Overall DB Time , Allocated Memory - analogically as Longest Response Time .
Trace Options - shows the options you have chosen when start tracing. For more information, see the " Tracing Sessions " procedure below.
Profile Result - provides a ZIP file you can download to see the results from the last tracing.
Administering Sessions
To terminate a session, select it and choose Terminate .
If you select a session from Individual Sessions , only it will be stopped. If you select a user session, all its individual sessions will be stopped.
To terminate a certain application, select it and choose Terminate .
To update the list of sessions or applications, choose the relevant Refresh buttons.
To download all the table data into a spreadsheet application, choose Export to Spreadsheet .
If you set filters, you have a direct connection to other tools where you can view logs or perform tasks concerning these particular filters. To do that, choose Related Links .
Select a session with ID = <Session_Number> .
Choose
. The Log Viewer tool is opened.Choose Show Advanced Filter . The Passport HTTP Session filter is set with filter value = <Session_Number> .
In the table, you can see all logs and traces relevant for the selected session.
Tracing Sessions
Select the particular session and choose Start Trace . A dialog box appears.
From Trace Options , select the tracing methods you need.
You can have only one of the JVM Profiler - Memory Analysis and the JVM Profiler - CPU Analysis options selected at the same time.
Choose OK .
In the Trace Options column of the table, you can see the methods you have selected.
Only one tracing process is allowed to be running at a time. That is, If you start another one (from another browser or user), a message appears warning you that the current trace will be stopped.
Advanced Searching
To search for a particular session, choose Show Advanced Search .
You can use the following options:
Application Name - you can enter only part of the application name string.
Session ID - you need to enter the whole ID number, since each session is unique.
Action - you can enter only part of the action name string.
Choose Go .
To clear the current search criteria, choose Clear .