PCON(1)

PCON(1)                  ZOAU Command Syntax                PCON(1)


NAME

pcon - Print the operator console log of a given duration.

SYNOPSIS

pcon [-adhlmrwy*] [-s <yyddd hh:mm:ss>]

-a
	Print the entire console log.

-d
	Print the last day (24 hours) of the console log.

-h
	Display syntax help.

-l
	Print the last hour (60 minutes) of the console log.

-m
	Print the last month (30 days) of the console log.

-r
	Print the (recent) last 10 minutes of the console log.

-s
	Print the console log starting from date (yyddd) and time (hh:mm:ss)

-w
	Print the last week (7 days) of the console log.

-y
	Print the last year (365 days) of the console log.

-*
	Print the entire console log.


DESCRIPTION

Print the operator console log. A given duration can be printed,
counting backwards from the current time. The entire log can also
be printed.

If a date is provided, it must be in Julian day format, which is the
day-of-year number. For example, February 15 is 046.

EXAMPLES

Print the console log from 22:17 on 03/23/21. This is the 82nd day of 2021:

	pcon -s 21082 22:17


Print the console log from 22:17:33 on 03/23/21. This is the 82nd day of 2021.

	pcon -s 21082 22:17:33


EXIT VALUES

0
	pcon completed successfully.

non-zero
	opercmd failed. See error messages for details.