Killtelnet – Dell POWEREDGE M1000E User Manual
Page 527
Fabric OS Command Reference
499
53-1002746-01
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