I'm having a problem with my messages and auditlog log files. I think the log rotation is messed up somehow and both services are writing to the <name>.0 file, not the <name> file. Here is what the directory structure looks like:
you can see that both the messages.0 and the auditlog.0 files have the most recent data in them. What am I doing wrong here?
This is what my logadm.conf file looks like for these two entries:
/var/adm/messages -C 4 -P 'Thu Apr 7 07:10:00 2011' -a 'kill -HUP `cat /var/run/syslog.pid`'
/var/adm/auditlog -C 8 -P 'Thu Apr 7 07:10:00 2011' -a 'kill -HUP `cat /var/run/syslog.pid`'
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use.
However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs
There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".
In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…