In this example, we will edit the file directly using the VI editor. Verify you are running the correct version of the Solaris OS. -- This option specifies the maximum number of log files to keep.

The log rotation problem exists on any server but it is the most acute on log consolidation servers (LOGHOST servers) that collect logs from other servers.

The volume of logs on a busy Solaris loghost system grow over 50G in a week.

The entryname can be chosen to be something that is easy to specify, or it can be the actual log file name.

If no log file name is provided on the command line, the entry name is assumed to be the same as the log file name.

Numerous other log files could exist on a Sun server running the Solaris OS, all depending on the configuration. Whether it is informational or critical, the text notices contained within these log files often provide pertinent data that should be viewed frequently. For most environments, running SSH is a critical component to secure machines.

With the combination of Secure FTP and many users logging in, there is the potential for this file to grow rather quickly over a 24-hour period.and Perl script rotatelog written by Shaun Rowland.It meant to be run from cron, with a configuration file and documentation available.command will perform without actually performing them.This option is useful for checking arguments before making any changes to the system.The shell expands the last argument into a list of log files that exist at the time the command is entered, and writes an entry to FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. Section 107, the material on this site is distributed without profit exclusivly for research and educational purposes.