package-logfiles

Create a tar archive of log files in /opt/logs, backup configuration, and the support-info.log file to logs-<date>.tar.gz.

Syntax

package-logfiles [name <file>.tar.gz] [newer-than <days>] <all>

Arguments

name—Specify the path and name of the saved file. Generally, the files should be saved to /opt. If the system’s hard drive has been formatted with partitions, /mnt may be used instead.

newer-than— Specify a time limit, in days, on the crash files to be compressed and saved. This option counts backwards, starting with the current day. Thus the option newer-than 5 would compress and save crash files for the past 5 days only.

all—Collect the np-stats info, support-info.log, running configuration, and log files. Use this argument with caution as it may impact system performance.

Mode

Superuser