find continuously growing files in the file system
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, I didn't get your point. Could you please explain it a little more?
Oops - There should have been a "-newer" flag in the find. I've edited my original post to have that. Thanks for pointing it out.
The idea is that testfile will have the current time/date on it. When you run the find command 1 minute later it will show you only those files that have updated since you created testfile so it should be easy to determine which ones are growing simply by monitoring those.
Note that <directory> could be anything: /var, /, /usr, /usr/local/bin, /usr/lib, /var/log etc...
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Rep:
Quote:
Originally Posted by MensaWater
Oops - There should have been a "-newer" flag in the find. I've edited my original post to have that. Thanks for pointing it out.
The idea is that testfile will have the current time/date on it. When you run the find command 1 minute later it will show you only those files that have updated since you created testfile so it should be easy to determine which ones are growing simply by monitoring those.
Note that <directory> could be anything: /var, /, /usr, /usr/local/bin, /usr/lib, /var/log etc...
Thanks for the update!That works fine now. However, . [the current directory] is also included in the result as shown below:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.