sbin/logrotate-hardserver
- Linux
-
Archive the existing hardserver log from
/opt/nfast/log/hardserver.log
and re-open as a fresh log file.When run with no arguments, it will automatically archive the existing log to
/opt/nfast/log/archive/hardserver.DATETIME.log
(where DATETIME is the current date and time). The directory/opt/nfast/log/archive/
is created if it does not already exist.Optionally, a single argument can be provided with the full file name to archive the existing hardserver log to.
This script must be run as root.
- Windows
-
Extract Windows event log entries and output them to the console or a text file.
As required, specify:
-
-s
\|--source
: The event log source. The default is thenCipherlog
-
-c
\|--count
: The number of records read from the event log. The default is10000
-
-f
\|--file
: The output filename.
-