loginreport

Last Updated : Nov 01, 2012 |

Syntax

loginreport   [ -afhrsvw ] [ -n # ] [ -l { login | all } ] [ -b {begin_time} ] [ -e {end_time} ] [-?] 
-a

Report only active sessions. Only valid with the -s or -y options.

-b begin_time

Include sessions starting after this time. Double quotes are required. This parameter is optional. If not provided, events from the beginning of the file(s) to the stop time are included. The format is "mm/dd hh:mm"

-e end_time

Include activity in the report starting at or before this time.Double quotes are required. This parameter is optional. If not provided, all events from the begin time to the current time are included. The format is "mm/dd hh:mm"

-f

Produce a report of failed logins.

-n N

Limit the output to N lines.

-n N

Limit the output to N lines.

-r

Display the report with the most recent events listed first (reverse order).

-s

Produce a report of successful logins.

-v

Produce a detailed report of user activity.

-l login | all

Enter a specific user name or all. If a specific user name is entered, activity for that single user in included in the report. The default is all.

-w

Format the report for the web.

-? | -h

Display the usage statement.

Description

Use loginreport to search for a specific set of log events. This command is intended to display normal user activity and is a starting point only for debugging analysis. At least one report type [-sfv] must be specified.