Splitting a large file as per date

Hi,

I need a suggestion for an issue in UNIX file.

I have a log file in my system where data is appending everyday and as a consequence the file is increasing heavily everyday.

Now I need a logic to split this file daily basis and remove the files more than 15 days.

Request you to please suggest me how I can achieve this.

Thanks in advance.

Regards,
Bhaskar

Linux has logrotate for that,
And Solaris has logadm .
What's your OS?

uname -sr

Hi,

Thanks for reply.
AIX 1

I don't know AIX well. Try Google
If you want to split the existing log file, try the helpful at the bottom of this page.