-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can we find the Jupyter terminals which is running for long ? #1834
Comments
yes Gnestor - Are you proposing that terminal instances display age like the notebook instances? yes that would be good . what we are trying to achieve is 100s of ppl open the terminal and not using it for days the linux server is getting killed with high cpu and mem. if we can list the open terminals in linux command line -we can notify folks to close it properly. |
@Carreau @minrk I took a look through https://github.com/jupyter/notebook/blob/179bb24fbf79d153812858126127a91431da3319/notebook/static/tree/js/terminallist.js and it looks like a |
I'm not sure this information is present, but we can easily record a timestamp when a terminal is created. It might make more sense to follow #1827, though, and track activity on the websocket, so the stamp is last-activity, not created. |
@minrk Last activity is more similar to last modified (than created) which is what the "Running" tab in the dashboard exposes for notebooks. A couple questions regarding #1827: Does creating a terminal instance from the dashboard launch a kernel instance? If so, then would I just query the kernel model and use the |
No, terminals do not use kernels. |
I added |
can we find the Jupyter terminals which is running for long or idle ? it takes system resources and leads to poor performance
The text was updated successfully, but these errors were encountered: