Sponsored Content
Full Discussion: Need help with logrotation
Operating Systems Linux Fedora Need help with logrotation Post 302372439 by renuka on Wednesday 18th of November 2009 02:48:19 AM
Old 11-18-2009
Bug

Hi

thanks for the reply and solution... I want to ask you a question that *.bkp are directories and not files under /tftpboot directory. I am not sure if we can rotate directories using logrotate.

find /tftpboot/ -iname 'bkp*.gz' -type f -mtime +7 -exec rm -f \{\} \;

Also would you please explain what [ -exec rm -f \{\} \; ] means..
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Logrotation

Hi , We have so many log files which will increase the size day by day.. can any one let us know how to rotate the log files.. I want to move the logfile to other location after particular time and size of the log file is there any script to change these?? (2 Replies)
Discussion started by: phani4u
2 Replies

2. Solaris

Problem with logrotation

Hi, I have been trying to configure log rotation for the OS version Solaris 10, however it is not working. In Linux, these would be the parameters : rotate 4 missingok notifempty compress size 15M create 0644 root root To do the same in Solaris, I am not sure of the exact parameters... (3 Replies)
Discussion started by: anaigini45
3 Replies
RARP(8) 						     Linux Programmer's Manual							   RARP(8)

NAME
rarpd - Reverse Address Resolution Protocol (RARP) daemon SYNOPSIS
rarpd [-aAvde] [-b bootdir ] [ interface ] DESCRIPTION
Rarpd is a daemon which responds to RARP requests. RARP is used by some machines at boot time to discover their IP address. They provide their Ethernet address and rarpd responds with their IP address if it finds it in the ethers database (either /etc/ethers file or NIS+ lookup) and using DNS lookup if ethers database contains a hostname and not an IP address. By default rarpd also checks if a bootable image with a name starting with the IP address in hexadecimal uppercase letters is present in the TFTP boot directory (usually /tftpboot ) before it decides to respond to the RARP request. OPTIONS
-a Do not bind to the interface. -A Respond to ARP as well as RARP requests. -v Tell the user what is going on by being verbose. -d Debugging mode. Do not detach from the tty. -e Skip the check for bootable image in the TFTP boot directory. If not present, then even if the Ethernet address is present in the ethers database but the bootable image for the resolved IP does not exist, rarpd will not respond to the request. -b bootdir Use bootdir instead of the default /tftpboot as the TFTP boot directory for bootable image checks. OBSOLETES
This rarpd obsoletes kernel rarp daemon present in Linux kernels up to 2.2 which was controlled by the rarp(8) command. FILES
/etc/ethers, /etc/nsswitch.conf, /tftpboot SEE ALSO
ethers(5) AUTHORS
Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> Jakub Jelinek, <jakub@redhat.com> rarpd 7 April 2000 RARP(8)
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy