Print Download PDF Send Feedback

Previous

Next

fw lslogs

Description Display a list of Log Files residing on a remote or local machine. You must initialize SIC between the Security Management server and the remote machine.

Syntax

> fw lslogs [[-f <filename>] ...] [-e] [-s {<name>|<size>|<stime>|<etime>}] [-r] [<machine>]

Parameter

Description

-f <filename>

The list of files to be displayed. The file name can include wildcards. In Unix, any file containing wildcards should be enclosed in quotes.

The default parameter is *.log.

-e

Display an extended file list. It includes the following data:

  • Size - The size of the file and its related pointer files together.
  • Creation Time - The time the Log File was created.
  • Closing Time - The time the Log File was closed.
  • Log File Name - The file name.

-s

Specify the sort order of the Log Files using one of the following sort options:

  • name - The file name.
  • size - The file size.
  • stime - The time the Log File was created.
  • etime - The time the Log File was closed.

The default is stime.

-r

Reverse the sort order (descending order).

<machine>

The name of the machine on which the files are located. It can be a gateway or a Log Server. The default is localhost.

Example This example shows the extended file list you see when you use the fw lslogs -e command:

> fw lslogs -e module3

Size  Creation Time       Closing Time         Log file name

99KB 10Jan2002 16:46:27 10Jan2002 18:36:05 2002-01-10_183752.log

16KB 10Jan2002 18:36:05     -- fw.log