The lslogon command can be used to list information about the users logged onto the HMC and the tasks they are running.
| -r | The type of task to terminate. Valid values are webui for a Web user interface task, or ssh for an SSH task. |
| -s |
When terminating a Web user interface task, use this option to specify the session ID of the user that is running the task to terminate.
When terminating an SSH task, use this option to specify the TTY ID of the user that is running the task to terminate. |
| -t |
When terminating a Web user interface task, use this option to specify the task ID of the task to terminate.
When terminating an SSH task, use this option to specify the process ID (PID) of the task to terminate. You can specify all with this option to terminate all tasks that the user associated with the session is running, and then log off the user. |
| --help | Display the help text for this command and exit. |
termtask -r webui -s 4 -t all
Terminate the task with process ID 11644 that the user remotely logged into the HMC via the SSH session pts/5 is running:
termtask -r ssh -s pts/5 -t 11644
| None | |
| None | |
| Linux | TERMTASK (1) | November 2008 |