Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerEdge FN I/O Module Command Line Reference Guide 9.10(0.0)

PDF

show login statistics

Displays login statistics of users who have used the console or virtual terminal lines to log in to the system.

Syntax show login statistics [all | [[successful-attempts | unsuccessful-attempts] [user login-id] [time-period days]] | user login-id]
Parameters
all

(Optional)Displays the login statistics of all users in the last 30 days or the custom defined time period.

time-period days

(Optional)Displays the number of failed login attempts by the current user in the specified period.

successful-attempts

(Optional)Displays the number of successful login attempts by the current user in the last 30 days or the custom defined time period

unsuccessful-attempts

(Optional)Displays the number of failed login attempts by the current user in the last 30 days or the custom defined time period.

user login-id

(Optional)Displays the login statistics of a specific user in the last 30 days or the custom defined time period. When you use it with the unsuccessful-attempts keyword, the system displays the number of failed login attempts by a specific user in the last 30 days or the custom defined time period

Defaults None
Command Modes CONFIGURATION
Supported Modes Full–Switch
Command History
Version Description
9.10(0.0) Introduced the successful-attempts keyword.
9.9(0.0) Introduced on the FN IOM.
9.8(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information

To view the successful and failed login details of the current user in the last 30 days or the custom defined period, use the show login statistics command.

To view the successful and failed login details of all users in the last 30 days or the custom defined period, use the show login statistics all command. You can use this command only if you have system or security administrator rights.

To view the successful and failed login details of a specific user in the last 30 days or the custom defined time period, use the show login statistics user user-id command. If you have system or security administrator rights, you can view the login statistics of other users. If you do not have system or security administrator rights, you can view your login statistics but not the login statistics of others.

  • NOTE: By default, these commands display the details for the last 30 days. If you set a custom-defined time period for login statistics using the login statistics time-period days command, these commands display details only for that period.
Example

The following is sample output of the show login statistics command.

Dell#show login statistics
                                             
                                             ------------------------------------------------------------------
                                             User: admin
                                             Last login time: 12:52:01 UTC Tue Mar 22 2016
                                             Last login location: Line vty0 ( 10.16.127.143 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 0
                                             Successful login attempt(s) in last 30 day(s): 1
                                             ------------------------------------------------------------------
                                          

The following is sample output of the show login statistics all command.

Dell#show login statistics all
                                             
                                             ------------------------------------------------------------------
                                             User: admin
                                             Last login time: 08:54:28 UTC Wed Mar 23 2016
                                             Last login location: Line vty0 ( 10.16.127.145 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 3
                                             Successful login attempt(s) in last 30 day(s): 4
                                             ------------------------------------------------------------------
                                             
                                             ------------------------------------------------------------------
                                             User: admin1
                                             Last login time: 12:49:19 UTC Tue Mar 22 2016
                                             Last login location: Line vty0 ( 10.16.127.145 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 3
                                             Successful login attempt(s) in last 30 day(s): 2
                                             ------------------------------------------------------------------
                                             
                                             ------------------------------------------------------------------
                                             User: admin2
                                             Last login time: 12:49:27 UTC Tue Mar 22 2016
                                             Last login location: Line vty0 ( 10.16.127.145 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 3
                                             Successful login attempt(s) in last 30 day(s): 2
                                             ------------------------------------------------------------------
                                             
                                             ------------------------------------------------------------------
                                             User: admin3
                                             Last login time: 13:18:42 UTC Tue Mar 22 2016
                                             Last login location: Line vty0 ( 10.16.127.145 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 3
                                             Successful login attempt(s) in last 30 day(s): 2
                                          

The following is sample output of the show login statistics user user-id command.

Dell# show login statistics user admin
                                             
                                             ------------------------------------------------------------------
                                             User: admin
                                             Last login time: 12:52:01 UTC Tue Mar 22 2016
                                             Last login location: Line vty0 ( 10.16.127.143 )
                                             Unsuccessful login attempt(s) since the last successful login: 0
                                             Unsuccessful login attempt(s) in last 30 day(s): 0
                                             Successful login attempt(s) in last 30 day(s): 1
                                             ------------------------------------------------------------------
                                          

The following is sample output of the show login statistics unsuccessful-attempts command.

Dell#show login statistics unsuccessful-attempts
                                             There were 3 unsuccessful login attempt(s) for user admin in last 30 day(s).
                                          

The following is sample output of the show login statistics unsuccessful-attempts time-period days command.

Dell# show login statistics unsuccessful-attempts time-period 15
                                             There were 0 unsuccessful login attempt(s) for user admin in last 15 day(s).
                                             
                                          

The following is sample output of the show login statistics unsuccessful-attempts user login-id command.

Dell# show login statistics unsuccessful-attempts user admin
                                             There were 3 unsuccessful login attempt(s) for user admin in last 12 day(s).
                                          

The following is sample output of the show login statistics successful-attempts command.

Dell#show login statistics successful-attempts
                                             There were 4 successful login attempt(s) for user admin in last 30 day(s).
                                          
Related Commands

login statistics — Enable and configure user login statistics on console and virtual terminal lines.

login concurrent-session — Configures the limit of concurrent sessions for all users on console and virtual terminal lines.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\