Skip to content

Add a command to check JShell sessions #1119

Open
@Alathreon

Description

@Alathreon

Is your feature request related to a problem? Please describe.
Currently, sessions are hard to monitor, users can't know if their session is alive and mods can't know how the sessions are doing.

Describe the solution you'd like
In order to more easily monitor the sessions for both the users and more importantly mods, a new command should be added, displaying the sessions and information about them.

Id of the session                    | Expire in | Time since creation | Total eval time  | Doing an operation
175710436967055361                   |    5min   | 35min               | 50s              | true
e7a6feaf-d815-4bd1-ae9a-2daac3bbad33 |    10s    | 50s                 | 2s               | false

Describe alternatives you've considered
Do nothing.

Additional context
It is for the new JShell command which allow users to run custom code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions