- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-12-2020 10:21 AM
How can we check from CLI sessions that have been running for hours or days.
05-14-2020 06:21 AM
try min-age and min-kb options in show session
+ min-age minimum age in seconds
+ min-kb minimum KB of byte count
> show session all filter min-age
<value> <1-4194304> minimum age in seconds
for example
show session all filter min-age 86400 to find all sessions that has not aged out for over 86400 seconds (1 day) when you run the command.
That should provide the list of session which has not aged out for over X seconds, or use min-kb to look for large transfer.
you can also use the API to get all the session detail out as well,
/api/?type=op&cmd=<show><session><all><filter><min-age></min-age></filter></all></session></show>
05-12-2020 11:33 AM
Hello,
While you can do something like show sessions via the cli. I prefer the GUI in this since you can just export the data as a csv and manipulate the data that way, e.g. sort by start. However I'm sure someone can chime in with proper cli commands for this.
Regards,
05-12-2020 12:32 PM
When logging at session end, exporting logs does not help as a persistent session will not be in the log.
Session browser does not show more than 1024 sessions and can't export to csv and can't filter by date.
So i think best would be from cli but i i don't know how.
@OtakarKlier Does this make sense.
05-12-2020 12:46 PM
Hello,
That is a good question. Perhaps someone else could jump in and help out. You can sort he session browser by start date/time, maybe that can help to narrow down your search?
Regards,
05-14-2020 06:21 AM
try min-age and min-kb options in show session
+ min-age minimum age in seconds
+ min-kb minimum KB of byte count
> show session all filter min-age
<value> <1-4194304> minimum age in seconds
for example
show session all filter min-age 86400 to find all sessions that has not aged out for over 86400 seconds (1 day) when you run the command.
That should provide the list of session which has not aged out for over X seconds, or use min-kb to look for large transfer.
you can also use the API to get all the session detail out as well,
/api/?type=op&cmd=<show><session><all><filter><min-age></min-age></filter></all></session></show>
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!