Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

336 Fabric OS Command Reference Manual
53-1000436-01
killTelnet
2
killTelnet
Terminates an open telnet session.
Synopsis killtelnet
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.
The list of open sessions displayed with killTelnet includes the user’s current session. Make sure
you do not kill your own telnet session.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Examples To terminate an open telnet connection:
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
Please Ensure (Y/[N]): y
killing session.... Done!
Collecting login information....Done
List of telnet sessions (2 found)
_____________________________________________________________________________
_
Session No USER TTY IDLE FROM LOGIN@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
0 root0 ttyS0 1:17m - 5:13pm
1 admin0 pts/1 3.00s 192.168.130.29 6:31pm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter Session Number to terminate (q to quit) q
See Also none