HP 3PAR System Reporter Software Licenses User Manual

Page 13

Advertising
background image

HP 3PARInfo implements a rollover logger; each time HP 3PARInfo is run, the existing log files are
rolled over. At any time, a maximum of five latest log files are present in the log directory.

When you run HP 3PARInfo for the first time, HP3PARInfo.log is created. When you run it for
the second time, the existing log file HP3PARInfo.log is renamed as HP3PARInfo.log.0,
and the new log file HP3PARInfo.log is created. Similarly, whenever a new log file is created,
the older log files are renamed. But, only the five latest log files are retained in the log directory.
For example, when we have log files HP3PARInfo.log to HP3PARInfo.log.4, and HP 3PARInfo
is run again, HP3PARInfo.log.4 is overwritten and lost.

NOTE:

You cannot configure the number of log files that need to be retained. If you want to

retain a particular log file, you must back up the file.

NOTE:

When multiple instances of HP 3PARInfo are run simultaneously, the log file is not rolled

over; all the logs are logged into HP3PARInfo.log. If you need to analyze the logs of a particular
instance, look for the Process ID of the instance, run the grep command to find the lines of that
instance, and redirect those lines to a temporary log file. This makes the analysis of the particular
instance easier.

For example, if you want to analyze logs of process id 11380, run the following command on
Linux:

cat /var/log/HP3PARInfo/HP3PARInfo.log | grep "11380" >

/tmp/HP3PARInfo_Option_i.log

A new log file that contains the logs of process id 11380, HP3PARInfo_Option_i.log, is
created. This log file can be used for analysis.

Log files

13

Advertising
This manual is related to the following products: