psRotateLog

Description

     This program rotates a log file.   The programs receives
log data from standard input.

 

Syntax

psRotateLog -Mmax_bytes -Nmax_files -Ddirectory -Ffile_prefix -Ooptions

 

Arguments

-M

The maximum size of the log [1000000] bytes

-N

The maximum number of log files [10]

-D

Directory to write the logs [.]

-F

The prefix for the log file set [standard output]

-O

Options

 

Options

t

Add a timestamp for every line

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

Name of the tool's messages file.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009