/var/adm/messages file rotation



Hello All,

I have a Server on Solaris 9, I would like to understand how exactly is this
rotation of /var/adm/messages file happening,

I am putting my observation here:

1.The logadm.conf file has entry as follows:

/var/adm/messages -C 4 -P 'Sat May 27 22:10:00 2006' -a 'kill -HUP `cat
/var/run/syslog.pid`'

2.root cron as well have two entries as:

10 3 * * 0,4 /etc/cron.d/logchecker
10 3 * * 0 /usr/lib/newsyslog

3.the newsyslog looks like:

/usr/sbin/logadm /var/log/syslog /var/adm/messages

4.the listing in /var/adm/ looks like:

-rw-r--r-- 1 root root 0 May 28 03:10 messages
-rw-r--r-- 1 root root 136 May 22 19:00 messages.0
-rw-r--r-- 1 root root 314 May 17 13:21 messages.1
-rw-r--r-- 1 root root 32070 May 11 04:51 messages.2
-rw-r--r-- 1 root root 3703 Apr 27 12:31 messages.3

After seeing the listing in /var/adm/messages file, i am not able to make
out what is the bases for this rotation based on the logadm.conf file, -P
option , i could not understand this.
So could you give some hints.


regards
sonia.

The information contained in this e-mail message is privileged and
confidential and is for the exclusive use of the addressee. The person
who receives this message and who is not the addressee, one of his
employees or an agent entitled to hand it over to the addressee, is
informed that he may not use, disclose or reproduce the contents thereof.
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Solaris 9 pam_radius module
    ... I'm looking for a PAM_RADIUS Module to use with Solaris 9 SPARC. ... PAM has to autheniticate against Radius running on a Win2003 Server. ... The information contained in this e-mail message is privileged and ... confidential and is for the exclusive use of the addressee. ...
    (SunManagers)
  • Periodic Daily Crash
    ... "THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ... IF YOU ARE NOT THE ADDRESSEE INDICATED ...
    (freebsd-questions)
  • Daily log rotation breaks when time leaps forward
    ... Did anyone else notice that daily log rotation on Solaris has skipped ... Rotation is done by this entry in the root crontab: ...
    (comp.unix.solaris)