HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

294 Fabric OS commands
Terminates an open telnet session.
Synopsis
killtelnet
Availability
admin
Description
Use this command to terminate an open telnet session. The killTelnet command is an interactive
menu-driven command. Upon invocation, it lists all the current telnet and serial port login sessions. It lists
information such as the session number, login name, idle time, IP address of the connection, and
timestamp of when the login session was opened. A prompt is then displayed, at which point you can
specify the session number of the connection you want to terminate.
NOTE: The list of open sessions displayed with killTelnet includes the user’s current session. Make
sure you do not kill your own telnet session.
Examples
To terminate an open telnet connection:
killTelnet
switch:admin> killtelnet
Collecting login information....Done
List of telnet sessions (3 found)
______________________________________________________________________________
Session No USER TTY IDLE FROM LOGIN@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 root0 ttyS0 1:17m - 5:13pm
1 admin0 pts/0 16.00s 192.168.130.29 6:29pm
2 admin0 pts/1 3.00s 192.168.130.29 6:31pm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter Session Number to terminate (q to quit) 1
Collecting process information... Done.
You have opted to terminate the telnet session:-
logged in as "admin0 ", from "192.168.130.29 "
since " 6:29pm" and has been inactive for "16.00s ",
the current command executed being: "-rbash ".
The device entry is: "pts/0 ".
This action will effectively kill these process(es):-
USER PID ACCESS COMMAND
/dev/pts/0 root 12868 f.... login
root 12869 f.... login
root 12877 f.... rbash
(continued on next page)