<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1255">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#000000">
Hello forum,<br>
<br>
I am trying to deal with idle session for some time, and haven't
found a solution i am happy with.<br>
The scenario is as follow: users using srun for jupyter-lab(which is
fine and even encouraged by me) on image processing cluster with
gpus.<br>
<br>
problem is, I am trying to have some kind of solution to
email/cancel their job if their session is idle for X amount of
hours.<br>
<br>
the w command or xprintidle cannot be used , since they both work
with ssh but not with slurm(checked that)<br>
<br>
Writing a script is not as easy as one might think, If i run a
script in admin user scope, i need later on to figure out which idle
gpu belong to which slurm job.<br>
running a script in the user scope is probably better idea, but in
which way? crontab is running even user is not logged, how can i
force users to run something only when the job start?<br>
<br>
perhaps some combination of sreport and tres?<br>
<br>
Thanks for the tips, Nadav<br>
</body>
</html>