I am able to rotate any log file manually via logroatate like this:
logrotate -f /etc/logrotate.d/my-hourly-file
I want to know how to perform the same action on FreeBSD 8?
My investigation shows that
newsyslog can be used for this purpose. If so how can I download and install
Update: I think
newsyslog has been installed and modifying the
/etc/newsyslog.conf file will be enough for automatic installation. But how can I trigger it manually?
Update2: when I search all newsyslog words starting from /, I only found /etc/rc.d/newsyslog script. Inside the script I realized that newsyslog command is defined under /usr/sbin/newsyslog. But there is not newsyslog file under /usr/sbin/newsyslog.
I am stuck that how I can install newsyslog package into FreBSD 8