Killtelnet – Dell POWEREDGE M1000E User Manual
Page 503
Fabric OS Command Reference
471
53-1001764-02
killTelnet
2
killTelnet
Terminates an open Telnet session.
Synopsis
killtelnet
Description
Use this command to terminate an open Telnet session. The command lists all current Telnet and
serial port login sessions and information such as session number, login name, idle time, IP
address of the connection, and timestamp of when the login session was opened. The command
prompts you to specify the number of the session you want to terminate. The list of open sessions
displayed with killTelnet includes your current session; be sure not kill your own Telnet session.
Notes
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
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