Destroying sessions

Once you have finished using a session - sessions can be destroyed using the alces session kill command together with the unique ID for the session.

To kill a session:

[alces-cluster@login1(hpc1) ~]$ alces session list
+----------+------------+----------------------+-----------------+---------+------+----------+
| Identity | Type       | Host name            | Host address    | Display | Port | Password |
+----------+------------+----------------------+-----------------+---------+------+----------+
| 15b7ef74 | gnome      | login1               | 10.77.0.253     |      :1 | 5901 | sxnbdSj5 |
| 7607ea28 | terminal   | login1               | 10.77.0.253     |      :2 | 5902 | 7AERsrjT |
| 78929900 | terminal   | login1               | 10.77.0.253     |      :3 | 5903 | e60Ua8SC |
+----------+------------+----------------------+-----------------+---------+------+----------+
[alces-cluster@login1(hpc1) ~]$ alces session kill 7607ea28
alces session kill: session 7607ea28 has been terminated
[alces-cluster@login1(hpc1) ~]$ alces session list
+----------+------------+----------------------+-----------------+---------+------+----------+
| Identity | Type       | Host name            | Host address    | Display | Port | Password |
+----------+------------+----------------------+-----------------+---------+------+----------+
| 15b7ef74 | gnome      | login1               | 10.77.0.253     |      :1 | 5901 | sxnbdSj5 |
| 78929900 | terminal   | login1               | 10.77.0.253     |      :3 | 5903 | e60Ua8SC |
+----------+------------+----------------------+-----------------+---------+------+----------+

Note - killing a session will disconnect any users currently connected to that session