Hello,
Im working with a ISP and this company has a FreeBSD box that holds various dial-up logs. Lets say one of these is /var/log/connections. Keep in mind the information looks kind of like a syslog file in which it goes:
Month Day Time info
This file gets very huge and we would like to have a way to sort it by month, so if its the end of april it will dump all of the same month info into " connections.april ". Any ideas on a way to script this? I figure crontab will be involved.
Thanks.
Im working with a ISP and this company has a FreeBSD box that holds various dial-up logs. Lets say one of these is /var/log/connections. Keep in mind the information looks kind of like a syslog file in which it goes:
Month Day Time info
This file gets very huge and we would like to have a way to sort it by month, so if its the end of april it will dump all of the same month info into " connections.april ". Any ideas on a way to script this? I figure crontab will be involved.
Thanks.