show logins

To display the state of system logins, use the show logins command in the EXEC mode.

show logins cli

Syntax Description

show logins

The command to display system login history.

cli

Lists the cli login history.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

Requires the cli keyword; otherwise, an error occurs.

Examples

/admin# show logins cli

admin pts/1 10.77.203.182 Tue May 8 08:32 still logged in

admin pts/1 10.77.203.182 Mon May 7 14:05 - 14:58 (00:53)

admin pts/1 10.77.203.182 Mon May 7 12:23 - 13:29 (01:06)

root pts/0 64.103.124.254 Mon Apr 23 11:54 still logged in

root ttyS0 Thu Apr 19 17:57 still logged in

admin ttyS0 Thu Apr 19 17:57 - 17:57 (00:00)

admin ttyS0 Thu Apr 19 17:23 - 17:56 (00:32)

admin ttyS0 Thu Apr 19 18:28 - 15:59 (-2:-29)

admin ttyS0 Wed Apr 18 20:43 - 21:16 (00:32)

admin ttyS0 Wed Apr 18 14:58 - 15:28 (00:30)

 

wtmp begins Wed Apr 18 13:59:32 2012

 

/admin#